|
Electroneum
|
#include <unistd.h>#include <cassert>#include <cstddef>#include <cstdint>#include <cstdlib>#include <cstring>#include <boost/thread/mutex.hpp>#include <boost/thread/lock_guard.hpp>#include <boost/shared_ptr.hpp>#include "common/varint.h"#include "crypto.h"#include "hash.h"#include "crypto-ops.h"#include "random.h"
Classes | |
| struct | crypto::s_comm |
| struct | crypto::s_comm_2 |
Namespaces | |
| anonymous_namespace{crypto.cpp} | |
| crypto | |
| crypto namespace. | |
Functions | |
| static void | anonymous_namespace{crypto.cpp}::local_abort (const char *msg) |
| static unsigned char * | crypto::operator& (ec_point &point) |
| static const unsigned char * | crypto::operator& (const ec_point &point) |
| static unsigned char * | crypto::operator& (ec_scalar &scalar) |
| static const unsigned char * | crypto::operator& (const ec_scalar &scalar) |
| void | crypto::generate_random_bytes_thread_safe (size_t N, uint8_t *bytes) |
| static bool | crypto::less32 (const unsigned char *k0, const unsigned char *k1) |
| void | crypto::random32_unbiased (unsigned char *bytes) |
| void | crypto::random_scalar (ec_scalar &res) |
| void | crypto::hash_to_scalar (const void *data, size_t length, ec_scalar &res) |
| void | crypto::hash_to_ec (const public_key &key, ge_p3 &res) |
| size_t | crypto::rs_comm_size (size_t pubs_count) |
Variables | |
| const crypto::public_key | crypto::null_pkey = crypto::public_key{} |
| const crypto::secret_key | crypto::null_skey = crypto::secret_key{} |