32 WARN_UNUSED_RESULT cx_err_t
37 cx_ecfp_256_private_key_t *privkey,
60 WARN_UNUSED_RESULT
static inline cx_err_t bip32_derive_init_privkey_256(
64 cx_ecfp_256_private_key_t *privkey,
68 HDW_NORMAL, curve, path, path_len, privkey, chain_code, NULL, 0);
127 WARN_UNUSED_RESULT
static inline cx_err_t bip32_derive_get_pubkey_256(cx_curve_t curve,
128 const uint32_t *path,
135 HDW_NORMAL, curve, path, path_len, raw_pubkey, chain_code, hashID, NULL, 0);
178 const uint32_t *path,
223 WARN_UNUSED_RESULT
static inline cx_err_t bip32_derive_ecdsa_sign_hash_256(cx_curve_t curve,
224 const uint32_t *path,
285 WARN_UNUSED_RESULT cx_err_t
288 const uint32_t *path,
329 WARN_UNUSED_RESULT
static inline cx_err_t bip32_derive_ecdsa_sign_rs_hash_256(
331 const uint32_t *path,
391 const uint32_t *path,
427 WARN_UNUSED_RESULT
static inline cx_err_t bip32_derive_eddsa_sign_hash_256(cx_curve_t curve,
428 const uint32_t *path,
437 HDW_NORMAL, curve, path, path_len, hashID, hash, hash_len, sig, sig_len, NULL, 0);
WARN_UNUSED_RESULT cx_err_t bip32_derive_with_seed_ecdsa_sign_hash_256(unsigned int derivation_mode, cx_curve_t curve, const uint32_t *path, size_t path_len, uint32_t sign_mode, cx_md_t hashID, const uint8_t *hash, size_t hash_len, uint8_t *sig, size_t *sig_len, uint32_t *info, unsigned char *seed, size_t seed_len)
Sign a hash with ecdsa using the device seed derived from the specified bip32 path and seed key.
WARN_UNUSED_RESULT cx_err_t bip32_derive_with_seed_init_privkey_256(unsigned int derivation_mode, cx_curve_t curve, const uint32_t *path, size_t path_len, cx_ecfp_256_private_key_t *privkey, uint8_t *chain_code, unsigned char *seed, size_t seed_len)
Gets the private key from the device seed using the specified bip32 path and seed key.
WARN_UNUSED_RESULT cx_err_t bip32_derive_with_seed_eddsa_sign_hash_256(unsigned int derivation_mode, cx_curve_t curve, const uint32_t *path, size_t path_len, cx_md_t hashID, const uint8_t *hash, size_t hash_len, uint8_t *sig, size_t *sig_len, unsigned char *seed, size_t seed_len)
Sign a hash with eddsa using the device seed derived from the specified bip32 path and seed key.
WARN_UNUSED_RESULT cx_err_t bip32_derive_with_seed_ecdsa_sign_rs_hash_256(unsigned int derivation_mode, cx_curve_t curve, const uint32_t *path, size_t path_len, uint32_t sign_mode, cx_md_t hashID, const uint8_t *hash, size_t hash_len, uint8_t sig_r[static 32], uint8_t sig_s[static 32], uint32_t *info, unsigned char *seed, size_t seed_len)
Sign a hash with ecdsa using the device seed derived from the specified bip32 path and seed key.
WARN_UNUSED_RESULT cx_err_t bip32_derive_with_seed_get_pubkey_256(unsigned int derivation_mode, cx_curve_t curve, const uint32_t *path, size_t path_len, uint8_t raw_pubkey[static 65], uint8_t *chain_code, cx_md_t hashID, unsigned char *seed, size_t seed_len)
Gets the public key from the device seed using the specified bip32 path and seed key.