diff options
author | Kornel Duleba <mindal@semihalf.com> | 2021-11-02 11:53:22 +0000 |
---|---|---|
committer | Wojciech Macek <wma@FreeBSD.org> | 2021-11-06 08:08:44 +0000 |
commit | 849faf4e0ba9a8b8f24ff34da93a0fd46c14eda9 (patch) | |
tree | 6f7d91892e483efe7e7ae4c12f2a75dc94a72562 /tests | |
parent | 6badb512a94df667f0df1484fb288ece186305bd (diff) | |
download | src-849faf4e0ba9a8b8f24ff34da93a0fd46c14eda9.tar.gz src-849faf4e0ba9a8b8f24ff34da93a0fd46c14eda9.zip |
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
Differential revision: https://reviews.freebsd.org/D32099
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sys/opencrypto/cryptotest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys/opencrypto/cryptotest.py b/tests/sys/opencrypto/cryptotest.py index 74ce62cee33d..447a7854b246 100644 --- a/tests/sys/opencrypto/cryptotest.py +++ b/tests/sys/opencrypto/cryptotest.py @@ -50,7 +50,7 @@ def katg(base, glob): raise unittest.SkipTest("Missing %s test vectors" % (base)) return iglob(os.path.join(katdir, base, glob)) -aesmodules = [ 'cryptosoft0', 'aesni0', 'armv8crypto0', 'ccr0', 'ccp0', 'safexcel0', 'qat0' ] +aesmodules = [ 'cryptosoft0', 'aesni0', 'armv8crypto0', 'ccr0', 'ccp0', 'ossl0', 'safexcel0', 'qat0' ] shamodules = [ 'cryptosoft0', 'aesni0', 'armv8crypto0', 'ccr0', 'ccp0', 'ossl0', 'safexcel0', 'qat0' ] def GenTestCase(cname): |