mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-19 22:18:13 +00:00
12 lines
239 B
C
12 lines
239 B
C
#ifndef __BIP39_H__
|
|
#define __BIP39_H__
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
const char *mnemonic_encode(uint8_t *data, int len, char *passphrase);
|
|
|
|
int mnemonic_decode(const char *mnemonic, uint8_t *data, char *passphrase);
|
|
|
|
#endif
|