mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
commit
d814f58a3b
2
bip39.c
2
bip39.c
@ -155,7 +155,7 @@ void mnemonic_to_seed(const char *mnemonic, const char *passphrase, uint8_t seed
|
||||
pbkdf2_hmac_sha512((const uint8_t *)mnemonic, strlen(mnemonic), salt, saltlen, BIP39_PBKDF2_ROUNDS, seed, 512 / 8, progress_callback);
|
||||
}
|
||||
|
||||
const char **mnemonic_wordlist(void)
|
||||
const char * const *mnemonic_wordlist(void)
|
||||
{
|
||||
return wordlist;
|
||||
}
|
||||
|
2
bip39.h
2
bip39.h
@ -36,6 +36,6 @@ int mnemonic_check(const char *mnemonic);
|
||||
|
||||
void mnemonic_to_seed(const char *mnemonic, const char *passphrase, uint8_t seed[512 / 8], void (*progress_callback)(uint32_t current, uint32_t total));
|
||||
|
||||
const char **mnemonic_wordlist(void);
|
||||
const char * const *mnemonic_wordlist(void);
|
||||
|
||||
#endif
|
||||
|
@ -21,7 +21,7 @@
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
const char *wordlist[] = {
|
||||
const char * const wordlist[] = {
|
||||
"abandon",
|
||||
"ability",
|
||||
"able",
|
||||
|
Loading…
Reference in New Issue
Block a user