freebsd-src/sys/crypto/openssl
John Baldwin 474d9290eb ossl: Don't try to initialize the cipher for Chacha20+Poly1305.
Chacha20+Poly1305 doesn't use an ossl_cipher instance the way AES-GCM
does, so ossl_lookup_cipher() failed causing ossl_newsession() to
always fail for Chacha20+Poly1305 sessions.

Reported by:	gallatin (ktls_test fails with ossl.ko loaded)
Fixes:		9a3444d91c ossl: Add a VAES-based AES-GCM implementation for amd64
Tested by:	gallatin
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D40580
2023-06-20 07:53:50 -07:00
..
aarch64
amd64 ossl: Add a fallback AES-GCM implementation using AES-NI 2023-06-02 12:17:11 -04:00
arm OpenSSL: Regen an assembly file for arm 2023-03-21 15:13:51 -04:00
i386 OpenSSL: Regen assembly files for OpenSSL 1.1.1t 2023-02-07 13:55:17 -05:00
powerpc
powerpc64
powerpc64le
ossl.c ossl: Don't try to initialize the cipher for Chacha20+Poly1305. 2023-06-20 07:53:50 -07:00
ossl.h ossl: Add a VAES-based AES-GCM implementation for amd64 2023-06-02 12:15:01 -04:00
ossl_aarch64.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ossl_aarch64.h
ossl_aes.c ossl: Add a VAES-based AES-GCM implementation for amd64 2023-06-02 12:15:01 -04:00
ossl_aes_gcm.h ossl: Provide a fallback definition of __uint128_t when needed 2023-06-04 12:39:44 -04:00
ossl_chacha.h
ossl_chacha20.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ossl_cipher.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ossl_hash.h
ossl_poly1305.c
ossl_poly1305.h
ossl_sha.h
ossl_sha1.c
ossl_sha256.c
ossl_sha512.c
ossl_x86.c ossl: Add a fallback AES-GCM implementation using AES-NI 2023-06-02 12:17:11 -04:00
ossl_x86.h