1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-10 09:58:59 +00:00
trezor-firmware/bip39.h

13 lines
291 B
C
Raw Normal View History

2013-11-08 00:24:47 +00:00
#ifndef __BIP39_H__
#define __BIP39_H__
#include <stdint.h>
2013-11-25 21:46:54 +00:00
const char *mnemonic_generate(int strength); // strength in bits
const char *mnemonic_from_data(const uint8_t *data, int len);
void mnemonic_to_seed(const char *mnemonic, const char *passphrase, uint8_t seed[512 / 8]);
2013-11-08 00:24:47 +00:00
#endif