1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-09 17:10:17 +00:00
trezor-firmware/bip39.h
2013-12-09 16:25:03 +01:00

13 lines
291 B
C

#ifndef __BIP39_H__
#define __BIP39_H__
#include <stdint.h>
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]);
#endif