Gilles Peskine
ff6a32d79c
Fix low-probability arithmetic error in ECC
...
Fix the subtraction in fix_negative, which was incorrectly not looking
for a carry. This caused the result to be wrong when the least
significant limb of N was 0. Fix #4296 .
The bug was introduced by d10e8fae9e30cac60297b1e1834002db183429e5
"Optimize fix_negative". Thanks to Philippe Antoine (catenacyber) for
reporting the bug which was found by his EC differential fuzzer.
Credit to OSS-Fuzz.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-04-04 01:10:41 +02:00
..
2015-06-25 10:59:56 +02:00
2020-11-09 20:44:08 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-03-04 14:34:50 +00:00
2021-04-04 01:10:07 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-10-08 12:09:44 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-03-25 14:25:46 +01:00
2020-11-06 09:40:21 +01:00
2020-12-07 10:42:21 +01:00
2021-01-29 11:09:50 +01:00
2021-03-29 14:19:32 +01:00
2020-08-19 10:35:41 +02:00
2021-02-22 19:24:03 +01:00
2021-03-10 17:00:32 +00:00
2020-08-19 10:35:41 +02:00
2020-08-20 11:07:12 +01:00
2020-08-19 10:35:41 +02:00
2021-02-10 17:07:20 +01:00
2021-01-22 14:23:08 +01:00
2021-04-04 01:10:41 +02:00
2021-04-04 01:10:41 +02:00
2021-04-04 01:10:41 +02:00
2021-02-22 14:47:29 +00:00
2021-03-30 17:33:08 +02:00
2020-11-16 15:02:16 +01:00
2021-02-10 15:34:52 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-02-22 19:24:03 +01:00
2021-03-29 14:20:18 +01:00
2020-12-03 09:59:42 +01:00
2020-12-03 09:59:42 +01:00
2020-12-03 09:59:42 +01:00
2021-02-23 20:29:38 +01:00
2020-08-19 10:35:41 +02:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-03-01 11:39:21 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-12-07 17:29:42 +00:00
2020-11-10 16:00:41 +01:00
2020-11-10 16:00:41 +01:00
2020-09-18 16:20:13 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-09-22 11:57:16 +02:00
2021-02-01 14:26:08 +01:00
2020-11-13 09:20:18 +00:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-03-26 15:58:25 +01:00
2021-03-26 15:58:25 +01:00
2021-02-09 15:36:08 +01:00
2021-03-26 15:48:13 +01:00
2021-03-26 15:58:25 +01:00
2021-03-26 15:58:25 +01:00
2021-03-15 12:14:40 +01:00
2021-02-18 15:45:12 +01:00
2021-03-16 11:07:55 +01:00
2021-03-15 12:14:40 +01:00
2021-03-03 19:58:02 +01:00
2020-11-25 13:10:50 +01:00
2021-02-16 18:55:05 +01:00
2021-03-15 12:14:40 +01:00
2021-02-18 15:45:06 +01:00
2020-08-19 10:35:41 +02:00
2020-11-25 13:10:50 +01:00
2020-08-19 10:35:41 +02:00
2021-03-17 13:41:07 +00:00
2021-02-15 14:26:44 +01:00
2021-02-03 20:54:46 +01:00
2021-02-15 14:26:44 +01:00
2021-03-26 15:58:25 +01:00
2021-03-10 17:00:32 +00:00
2020-12-03 09:59:42 +01:00
2020-08-19 10:35:41 +02:00
2021-02-22 19:24:03 +01:00
2020-09-18 16:20:13 +02:00
2020-09-18 16:20:13 +02:00
2020-12-03 09:59:42 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-03-10 17:00:32 +00:00
2020-08-19 10:35:41 +02:00
2020-08-25 14:35:55 +01:00
2021-03-10 17:00:32 +00:00
2021-03-27 22:47:13 +01:00
2020-12-03 12:25:10 +01:00
2020-09-16 09:50:17 +01:00
2020-09-16 09:50:17 +01:00
2021-03-10 18:17:12 +00:00
2021-02-22 19:24:03 +01:00
2020-08-19 10:35:41 +02:00
2021-02-01 13:16:01 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-20 11:07:12 +01:00
2021-03-05 14:24:03 +00:00
2020-08-19 10:35:41 +02:00
2020-09-01 11:04:53 +02:00
2020-09-21 18:25:35 -07:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00