|
BOLOS TEE
|
Interface to low level BIP 32 operations. More...
Go to the source code of this file.
Functions | |
| int | bls_bip32_derive_secp256k1_private (uint8_t *privateKey, uint8_t *chainCode, uint32_t index) |
| Derive a private key on secp256k1 using BIP 32. More... | |
| int | bls_bip32_derive_secp256k1_public (uint8_t *publicKey, uint8_t *chainCode, uint32_t index) |
| Derive a compressed public key on secp256k1 using BIP 32. More... | |
Interface to low level BIP 32 operations.
This API exposes simple BIP 32 derivation primitives
| int bls_bip32_derive_secp256k1_private | ( | uint8_t * | privateKey, |
| uint8_t * | chainCode, | ||
| uint32_t | index | ||
| ) |
Derive a private key on secp256k1 using BIP 32.
| [in,out] | privateKey | Private key to derive |
| [in,out] | chainCode | Chain code to derive |
| [in] | index | Index to derive to |
| int bls_bip32_derive_secp256k1_public | ( | uint8_t * | publicKey, |
| uint8_t * | chainCode, | ||
| uint32_t | index | ||
| ) |
Derive a compressed public key on secp256k1 using BIP 32.
| [in,out] | publicKey | Compressed public key to derive |
| [in,out] | chainCode | Chain code to derive |
| [in] | index | Index to derive to |
1.8.11