#include <pubkey.h>
#include <script/keyorigin.h>
#include <serialize.h>
#include <support/allocators/secure.h>
#include <uint256.h>
#include <optional>
#include <stdexcept>
#include <utility>
#include <vector>
Go to the source code of this file.
◆ CPrivKey
CPrivKey is a serialized private key, with all parameters included (SIZE bytes)
Definition at line 28 of file key.h.
◆ ECDHSecret
Definition at line 34 of file key.h.
◆ secp256k1_context
Definition at line 22 of file key.h.
◆ DeriveExtKey()
Get extended key and origin info for a given path.
- Parameters
-
| [in] | ext_key | The extended private key to derive from |
| [in] | path | The BIP 32 path |
- Returns
- the resulting extended private key and origin info
Definition at line 369 of file key.cpp.
◆ ECC_InitSanityCheck()
| bool ECC_InitSanityCheck |
( |
| ) |
|
Check that required EC support is available at runtime.
Definition at line 456 of file key.cpp.
◆ GenerateRandomKey()
| CKey GenerateRandomKey |
( |
bool |
compressed = true | ) |
|
|
noexcept |
◆ GetSecp256k1SignContext()
Access the secp256k1 context used for signing and MuSig2 nonce generation.
Definition at line 462 of file key.cpp.
◆ ECDH_SECRET_SIZE
Size of ECDH shared secrets.
Definition at line 31 of file key.h.