You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/mocks/trezor/crypto/bip32.py

13 lines
355 B

# ../extmod/modtrezorcrypto/modtrezorcrypto-bip32.h
def deserialize(value: str) -> HDNode:
'''
Construct a BIP0032 HD node from a base58-serialized value.
'''
# ../extmod/modtrezorcrypto/modtrezorcrypto-bip32.h
def from_seed(seed: bytes, curve_name: str) -> HDNode:
'''
Construct a BIP0032 HD node from a BIP0039 seed value.
'''