Gilles Peskine e7dc21fabb AESNI: add implementation with intrinsics
As of this commit, to use the intrinsics for MBEDTLS_AESNI_C:

* With MSVC, this should be the default.
* With Clang, build with `clang -maes -mpclmul` or equivalent.
* With GCC, build with `gcc -mpclmul -msse2` or equivalent.

In particular, for now, with a GCC-like compiler, when building specifically
for a target that supports both the AES and GCM instructions, the old
implementation using assembly is selected.

This method for platform selection will likely be improved in the future.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-03-17 16:31:16 +00:00
..
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2022-12-08 11:05:11 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-13 15:07:44 +00:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:37 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-24 11:41:45 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:37 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-10 21:48:33 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00