freebsd-dev/tests/sys/opencrypto
Kornel Duleba 197ff4c35b ossl: Add support for AES-CBC cipher
AES-CBC OpenSSL assembly is used underneath.
The glue layer(ossl_aes.c) is based on CHACHA20 implementation.
Contrary to the SHA and CHACHA20, AES OpenSSL assembly logic
does not have a fallback implementation in case CPU doesn't
support required instructions.
Because of that CPU caps are checked during initialization and AES
support is advertised only if available.
The feature is available on all architectures that ossl supports:
i386, amd64, arm64.

The biggest advantage of this patch over existing solutions
(aesni(4) and armv8crypto(4)) is that it supports SHA,
allowing for ETA operations.

Sponsored by:		Stormshield
Obtained from:		Semihalf
Reviewed by:		jhb (previous version)
Differential revision:	https://reviews.freebsd.org/D32099
2021-11-08 10:53:31 +01:00
..
blake2_test.c Remove uses of CRIOGET in OCF tests after r368005. 2020-11-25 01:31:00 +00:00
blake2-kat.h
cryptodev.py crypto: Test all of the AES-CCM KAT vectors. 2021-10-06 14:08:48 -07:00
cryptodevh.py cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused 2021-05-06 16:34:55 -06:00
cryptotest.py ossl: Add support for AES-CBC cipher 2021-11-08 10:53:31 +01:00
Makefile Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
Makefile.depend
poly1305_test.c Remove uses of CRIOGET in OCF tests after r368005. 2020-11-25 01:31:00 +00:00
runtests.sh ossl: port to arm64 2020-12-04 21:12:17 +00:00