UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
ufsecp_bip32_key Struct Reference

#include <ufsecp.h>

Public Attributes

uint8_t data [UFSECP_BIP32_SERIALIZED_LEN]
 
uint8_t is_private
 
uint8_t _pad [3]
 

Detailed Description

Opaque serialised BIP-32 extended key. Reserved bytes must remain zero. Caller-supplied keys are rejected unless is_private, serialized version bytes, and serialized key material form a valid xprv/xpub encoding.

Definition at line 394 of file ufsecp.h.

Member Data Documentation

◆ _pad

uint8_t ufsecp_bip32_key::_pad[3]

Reserved, must be zero

Definition at line 397 of file ufsecp.h.

Referenced by extkey_to_uf(), and parse_bip32_key().

◆ data

uint8_t ufsecp_bip32_key::data[UFSECP_BIP32_SERIALIZED_LEN]

Definition at line 395 of file ufsecp.h.

Referenced by extkey_from_uf(), extkey_to_uf(), and parse_bip32_key().

◆ is_private

uint8_t ufsecp_bip32_key::is_private

1 = xprv, 0 = xpub

Definition at line 396 of file ufsecp.h.

Referenced by extkey_from_uf(), extkey_to_uf(), parse_bip32_key(), ufsecp_bip32_privkey(), and ufsecp_bip85_entropy().


The documentation for this struct was generated from the following file: