#include <cstdint>
#include <gtest/gtest.h>
#include <memory>
#include <sstream>
#include <string>
#include "cryptonote_basic/cryptonote_basic_impl.h"
Go to the source code of this file.
|
| | TEST (Crypto, Ostream) |
| |
| | TEST (Crypto, null_keys) |
| |
| | TEST (Crypto, verify_32) |
| |
◆ TEST() [1/3]
| TEST |
( |
Crypto |
, |
|
|
Ostream |
|
|
) |
| |
Definition at line 70 of file crypto.cpp.
77 EXPECT_TRUE(is_formatted<crypto::key_derivation>());
#define EXPECT_TRUE(condition)
◆ TEST() [2/3]
| TEST |
( |
Crypto |
, |
|
|
null_keys |
|
|
) |
| |
Definition at line 81 of file crypto.cpp.
const crypto::secret_key null_skey
#define ASSERT_EQ(val1, val2)
const crypto::public_key null_pkey
◆ TEST() [3/3]
| TEST |
( |
Crypto |
, |
|
|
verify_32 |
|
|
) |
| |
Definition at line 89 of file crypto.cpp.
92 unsigned char k0[32] = {0}, k1[32] = {0};
93 for (
unsigned int i0 = 0; i0 < 256; ++i0)
96 for (
unsigned int i1 = 0; i1 < 256; ++i1)
int crypto_verify_32(const unsigned char *, const unsigned char *)
#define ASSERT_EQ(val1, val2)