1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Pavol Rusnak
aae96e8285
add mnemonic generation methods with indexes option 2016-05-13 19:46:12 +02:00
Jochen Hoenicke
1b42fde852 Off by one error in word length.
This could lead to a buffer overrun if the final 0 byte is
written to current_word[j] after the loop.

Also document the limit of passphrase in mnemonic_to_seed.
2015-03-20 21:46:32 +01:00
Jochen Hoenicke
7e7b40b434 Make word list const
This makes the pointers to the words constant.  It moves 8kb from ram
to flash.  It changes the return type of mnemonic_wordlist() to reflect
this change.  Everyone calling it should also change the type to
`const char * const *`.
2015-02-14 12:00:44 +01:00
Pavol Rusnak
99900eb323 update AES code to support different modes of operation, add unittests 2014-06-07 13:38:56 +02:00
Pavol Rusnak
612f5ab050 fix copyright headers 2014-05-22 20:54:58 +02:00
Pavol Rusnak
393c298c35 add progress_callback to mnemonic/pbkdf2 functions 2014-03-11 20:14:06 +01:00
Pavol Rusnak
10c42633fc add function to retrieve mnemonic wordlist 2014-03-07 20:11:50 +01:00
Pavol Rusnak
352bc42be2 use PBKDF2 for BIP39, add unit tests 2013-12-09 16:25:03 +01:00
Pavol Rusnak
02adc15ec9 use fixed param size for mnemonic function 2013-11-28 00:53:09 +01:00
Pavol Rusnak
1c9046b66d reworked bip39 including tests 2013-11-25 22:46:54 +01:00
Pavol Rusnak
42da580ce8 bip39 implementation with unit tests 2013-11-08 02:02:16 +01:00