1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00
trezor-firmware/firmware
Saleem Rashid b4eaf7dbaf timer: Fix non-critical integer overflow (#129)
Every 4294967295 milliseconds (2 ^ 32 - 1), system_millis will overflow.
This means that every 49.71 days, system_millis will reset to zero.
Comparisons like `system_millis < (system_millis + 1)` would fail if the
latter had overflown and the former had not.

This is non-critical because the worst case is that one second could be
skipped or the screen could lock early.

This poses no threat to the exponential backoff used for protection
against brute force.
2016-11-23 20:22:28 +01:00
..
protob update protobuf 2016-11-23 13:21:31 +01:00
u2f add set -e to shell scripts 2016-07-03 13:54:32 +02:00
coins-gen.py add coins-gen.py script and generate coins.c using that script 2016-10-20 15:27:34 +02:00
coins.c fix Verify (by introducing coinExtractAddressType) 2016-10-25 17:02:02 +02:00
coins.h fix Verify (by introducing coinExtractAddressType) 2016-10-25 17:02:02 +02:00
crypto.c crypto: allow Ed25519 signing larger digests (#124) 2016-10-24 12:41:10 +02:00
crypto.h Use trezor-crypto ECDH, adding Curve25519 support 2016-10-16 01:34:02 +02:00
debug.c fix bugs in debug 2016-04-29 17:06:21 +02:00
debug.h import v1.0.0 2014-04-29 14:38:32 +02:00
ethereum.c Reworked rfc6979 signing. (#116) 2016-10-06 16:58:05 +02:00
ethereum.h Ethereum signing skeleton 2016-08-19 03:14:38 +01:00
fsm.c New Matrix-based recovery 2016-11-23 13:21:18 +01:00
fsm.h Include placeholder handlers for the Ethereum protocol 2016-08-19 03:14:38 +01:00
layout2.c timer: Fix non-critical integer overflow (#129) 2016-11-23 20:22:28 +01:00
layout2.h allow ClearSession purely via confirm button 2016-10-25 15:21:56 +02:00
Makefile update trezor-crypto 2016-10-24 20:55:45 +02:00
messages.c add const where possible (for message parsing) 2016-08-29 22:36:18 +02:00
messages.h add const where possible (for message parsing) 2016-08-29 22:36:18 +02:00
pinmatrix.c firmware: exclude debug functionality from release build 2015-08-24 15:51:20 +03:00
pinmatrix.h import v1.0.0 2014-04-29 14:38:32 +02:00
protect.c timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00
protect.h fix initialize handling in interactive mode 2014-05-20 15:37:58 +02:00
recovery-table.h New Matrix-based recovery 2016-11-23 13:21:18 +01:00
recovery.c New Matrix-based recovery 2016-11-23 13:21:18 +01:00
recovery.h New Matrix-based recovery 2016-11-23 13:21:18 +01:00
reset.c extract CHECK_PARAM 2016-11-22 22:04:09 +01:00
reset.h implement u2f_counter in LoadDevice, Recoverydevice and ResetDevice messages 2016-10-31 16:20:15 +01:00
signing.c check return values of ecdsa_sign calls 2016-11-08 15:48:44 +01:00
signing.h pass version/lock_time parameters from SignTx message to signing_init function 2016-04-16 04:47:09 +02:00
storage.c timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00
storage.h new message SetU2FCounter 2016-06-12 23:44:36 +02:00
transaction.c implement TXEXTRADATA transaction RequestType 2016-10-20 13:25:40 +02:00
transaction.h fix prevtx hashing when input count is 0 2016-10-21 13:20:57 +02:00
trezor.c timer: Fix non-critical integer overflow (#129) 2016-11-23 20:22:28 +01:00
trezor.h bump version, add changelog 2016-10-26 18:06:13 +02:00
u2f_knownapps.h add yubico u2f demo to u2f known apps 2016-11-15 18:51:29 +01:00
u2f.c check return values of ecdsa_sign calls 2016-11-08 15:48:44 +01:00
u2f.h More standard conform behaviour 2016-05-24 01:16:55 +02:00
usb.c timer: Fix non-critical integer overflow (#129) 2016-11-23 20:22:28 +01:00
usb.h timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00