![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <musig.h>#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 |
| An encapsulated private key. More... | |
| struct | CExtKey |
| class | KeyPair |
| KeyPair. More... | |
| class | ECC_Context |
| RAII class initializing and deinitializing global state for elliptic curve support. More... | |
Typedefs | |
| typedef std::vector< unsigned char, secure_allocator< unsigned char > > | CPrivKey |
| CPrivKey is a serialized private key, with all parameters included (SIZE bytes). | |
| using | ECDHSecret = std::array<std::byte, ECDH_SECRET_SIZE> |
Functions | |
| CKey | GenerateRandomKey (bool compressed=true) noexcept |
| bool | ECC_InitSanityCheck () |
| Check that required EC support is available at runtime. | |
Variables | |
| static constexpr size_t | ECDH_SECRET_SIZE = CSHA256::OUTPUT_SIZE |
| Size of ECDH shared secrets. | |
| typedef std::vector<unsigned char, secure_allocator<unsigned char> > CPrivKey |
| using ECDHSecret = std::array<std::byte, ECDH_SECRET_SIZE> |
| bool ECC_InitSanityCheck | ( | ) |
|
noexcept |
|
staticconstexpr |