![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "pubkey.h"
#include "serialize.h"
#include "support/allocators/secure.h"
#include "uint256.h"
#include <stdexcept>
#include <vector>
Go to the source code of this file.
Classes | |
class | CKey |
struct | CExtKey |
Typedefs | |
typedef std::vector< unsigned char, secure_allocator< unsigned char > > | CPrivKey |
Functions | |
void | ECC_Start (void) |
void | ECC_Stop (void) |
bool | ECC_InitSanityCheck (void) |
typedef std::vector<unsigned char, secure_allocator<unsigned char> > CPrivKey |
secp256k1: const unsigned int PRIVATE_KEY_SIZE = 279; const unsigned int PUBLIC_KEY_SIZE = 65; const unsigned int SIGNATURE_SIZE = 72;
see www.keylength.com script supports up to 75 for single byte push secure_allocator is defined in allocators.h CPrivKey is a serialized private key, with all parameters included (279 bytes)
bool ECC_InitSanityCheck | ( | void | ) |
Check that required EC support is available at runtime.
Definition at line 297 of file key.cpp.
Referenced by InitSanityCheck().
void ECC_Start | ( | void | ) |
Initialize the elliptic curve support. May not be called twice without calling ECC_Stop first.
Definition at line 304 of file key.cpp.
Referenced by AppInit2(), main(), and Secp256k1Init::Secp256k1Init().
void ECC_Stop | ( | void | ) |
Deinitialize the elliptic curve support. No-op if ECC_Start wasn't called first.
Definition at line 323 of file key.cpp.
Referenced by main(), Shutdown(), and Secp256k1Init::~Secp256k1Init().