Gilles Peskine
0de8f853f0
Clean up AES context alignment code
...
Use a single auxiliary function to determine rk_offset, covering both
setkey_enc and setkey_dec, covering both AESNI and PADLOCK. For AESNI, only
build this when using the intrinsics-based implementation, since the
assembly implementation supports unaligned access.
Simplify "do we need to realign?" to "is the desired offset now equal to
the current offset?".
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-03-16 17:14:59 +01:00
..
2021-12-18 13:29:10 +05:30
2023-03-16 17:14:59 +01:00
2023-03-07 11:39:52 +00:00
2023-02-28 12:50:00 +08:00
2023-03-16 13:08:18 +01:00
2023-03-15 19:38:37 +01:00
2023-03-08 13:23:24 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-07 11:39:52 +00:00
2023-01-23 19:10:26 +01:00
2023-01-31 11:25:25 +01:00
2023-01-24 21:56:45 +01:00
2023-01-17 11:25:26 +05:30
2023-02-01 08:43:54 +00:00
2023-02-13 15:35:35 +00:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-02-10 16:03:44 +00:00
2023-01-13 11:06:01 +08:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-15 23:34:29 +00:00
2023-03-03 05:23:44 -05:00
2023-03-07 11:39:52 +00:00
2023-01-11 14:50:10 +01:00
2023-03-07 10:57:58 +00:00
2023-01-30 16:27:48 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-03-16 13:06:14 +01:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-23 20:45:26 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-20 14:24:12 +00:00
2023-01-20 14:04:48 +00:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:45 -05:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-07 11:39:52 +00:00
2023-03-03 05:23:44 -05:00
2023-01-23 10:33:06 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-07 12:51:11 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-14 19:21:09 +01:00
2023-01-11 14:50:10 +01:00
2023-02-14 19:21:09 +01:00
2023-01-11 14:50:10 +01:00
2023-02-27 17:25:57 +00:00
2023-02-24 14:44:18 +00:00
2023-02-15 23:34:29 +00:00
2023-02-24 09:10:53 +00:00
2023-01-11 14:50:10 +01:00
2023-02-14 19:21:09 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-14 19:21:09 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-08 11:03:09 +01:00
2023-02-14 19:21:09 +01:00
2023-02-10 16:03:44 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-14 19:21:09 +01:00
2023-02-14 19:21:09 +01:00
2023-02-14 19:21:09 +01:00
2023-03-01 10:46:09 +01:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:54:13 -05:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-01-11 14:50:10 +01:00
2023-03-08 12:55:48 +00:00
2023-02-27 11:16:56 +08:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-21 15:39:12 +01:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-01-16 11:28:49 +08:00
2023-03-08 16:45:38 +01:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-03 05:23:44 -05:00
2023-03-08 17:19:59 +00:00
2023-03-03 05:23:44 -05:00
2023-01-11 14:50:10 +01:00
2023-03-03 05:23:44 -05:00
2023-01-12 14:54:26 +08:00
2023-02-21 15:39:12 +01:00
2023-03-08 16:45:38 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-10 12:52:13 +00:00
2023-01-26 22:30:45 +01:00
2023-02-20 15:09:50 +01:00
2023-02-24 12:37:07 +01:00
2023-01-11 14:50:10 +01:00