Jouni Malinen 312ec34e40 UBSan: Avoid dependency on undefined behavior in internal AES operation
The rcons[] and Td4s[] array values need to be type cast explicitly to
u32 for the left shift 24 operation to be defined due to the implicit
conversion to int not handling the case where MSB would become 1 without
depending on UB.

Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14929
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-05-25 01:51:12 +03:00
..
2017-03-07 13:19:10 +02:00
2019-04-26 17:43:45 +03:00
2019-02-11 02:35:29 +02:00
2012-08-19 16:53:15 +03:00
2019-01-02 01:24:18 +02:00
2016-12-28 14:31:42 +02:00
2016-12-28 14:31:42 +02:00
2017-02-16 22:15:29 +02:00