Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
key.h File Reference
#include <pubkey.h>
#include <support/allocators/secure.h>
#include <uint256.h>
#include <stdexcept>
#include <vector>
Include dependency graph for key.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CKey
 An encapsulated secp256k1 private key. More...
 
struct  CExtKey
 

Typedefs

typedef std::vector< uint8_t, secure_allocator< uint8_t > > CPrivKey
 secure_allocator is defined in allocators.h CPrivKey is a serialized private key, with all parameters included (SIZE bytes)
 
using SchnorrSig = std::array< uint8_t, CPubKey::SCHNORR_SIZE >
 a Schnorr signature
 

Functions

void ECC_Start ()
 Initialize the elliptic curve support.
 
void ECC_Stop ()
 Deinitialize the elliptic curve support.
 
bool ECC_InitSanityCheck ()
 Check that required EC support is available at runtime.
 

Typedef Documentation

◆ CPrivKey

secure_allocator is defined in allocators.h CPrivKey is a serialized private key, with all parameters included (SIZE bytes)

Definition at line 22 of file key.h.

◆ SchnorrSig

a Schnorr signature

Definition at line 25 of file key.h.

Function Documentation

◆ ECC_InitSanityCheck()

bool ECC_InitSanityCheck ( )

Check that required EC support is available at runtime.

Definition at line 427 of file key.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ECC_Start()

void ECC_Start ( )

Initialize the elliptic curve support.

May not be called twice without calling ECC_Stop first.

Definition at line 434 of file key.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ECC_Stop()

void ECC_Stop ( )

Deinitialize the elliptic curve support.

No-op if ECC_Start wasn't called first.

Definition at line 451 of file key.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: