1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
trezor-firmware/firmware
Jochen Hoenicke 286ee0525c PIN handling - constant time.
This diff contains three changes.
1. Make timing isPinCorrect independent of storage.pin, to avoid timing attacks
2. Only update failed PIN counter if the user entered a PIN.
   Of course, the fail counter is still incremented, before the PIN is checked.
3. Don't cache the PIN, but just the fact that the PIN was entered.  The
   cache should be in sync with storage.pin in any case.
2015-02-22 15:42:31 +01:00
..
protob update protobuf 2015-02-20 19:01:45 +01:00
coins.c extract fsm_getCoin 2015-01-26 12:51:56 +01:00
coins.h such happy doge 2014-12-10 18:58:27 +01:00
crypto.c add description to layoutAddress 2015-02-19 14:11:27 +01:00
crypto.h downgrade nanopb to LTS version 0.2.9.1 2014-12-27 16:05:34 +01:00
debug.c
debug.h
fsm.c add description to layoutAddress 2015-02-19 14:11:27 +01:00
fsm.h start implementing EncryptMessage/DecryptMessage 2014-10-22 19:53:25 +02:00
layout2.c add description to layoutAddress 2015-02-19 14:11:27 +01:00
layout2.h add description to layoutAddress 2015-02-19 14:11:27 +01:00
Makefile speed up public ckd (used in multisig) 2015-02-15 20:47:53 +01:00
messages.c move Sign/Verify to crypto.c/h, implement Encrypt/Decrypt 2014-11-25 19:32:04 +01:00
messages.h check return value of cryptoHDNodePathToPubkey 2014-12-16 18:49:49 +01:00
pinmatrix.c use Knuth shuffles 2015-02-13 20:51:02 +01:00
pinmatrix.h
protect.c PIN handling - constant time. 2015-02-22 15:42:31 +01:00
protect.h
recovery.c use const char * const * for wordlist 2015-02-14 12:40:32 +01:00
recovery.h
reset.c change setup wording 2014-12-16 18:45:39 +01:00
reset.h
signing.c integrate signing reorder patch by Jochen 2015-02-11 17:38:32 +01:00
signing.h refactor fsm_getRootNode into fsm_getDerivedNode 2015-01-26 13:53:06 +01:00
storage.c PIN handling - constant time. 2015-02-22 15:42:31 +01:00
storage.h PIN handling - constant time. 2015-02-22 15:42:31 +01:00
transaction.c enable OP_RETURN 2015-02-04 20:04:59 +01:00
transaction.h rework hashing of transactions 2014-12-21 20:34:14 +01:00
trezor.c
trezor.h bump version to 1.3.1 2015-02-16 15:23:30 +01:00
usb.c
usb.h