Files
mbedtls/library
Manuel Pégourié-Gonnard 99b6a711c8 Add counter-measure to cache-based Lucky 13
The basis for the Lucky 13 family of attacks is for an attacker to be able to
distinguish between (long) valid TLS-CBC padding and invalid TLS-CBC padding.
Since our code sets padlen = 0 for invalid padding, the length of the input to
the HMAC function, and the location where we read the MAC, give information
about that.

A local attacker could gain information about that by observing via a
cache attack whether the bytes at the end of the record (at the location of
would-be padding) have been read during MAC verification (computation +
comparison).

Let's make sure they're always read.
2018-07-12 10:20:33 +02:00
..
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2018-04-27 13:13:54 +01:00
2018-01-22 19:06:57 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2018-03-30 18:51:31 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2017-07-11 17:19:30 +01:00
2018-01-22 22:32:19 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-28 19:47:50 +02:00
2018-01-22 19:06:57 +02:00
2015-09-04 14:21:07 +02:00
2017-10-30 18:11:38 +02:00
2017-06-20 19:33:51 +01:00
2015-09-04 14:21:07 +02:00
2018-01-29 13:23:40 +01:00
2018-02-22 16:18:07 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00