freebsd-dev/sys/crypto
Mark Johnston 4a61d8ef42 aesni: Fix an out-of-bounds read in AES_GCM_decrypt()
This is the same as 4285655adb ("aesni: Avoid a potential
out-of-bounds load in AES_GCM_encrypt()") except for the decryption
path.

Reported by:	Jenkins (KASAN job)
Reviewed by:	cem
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33474
2021-12-16 09:17:06 -05:00
..
aesni aesni: Fix an out-of-bounds read in AES_GCM_decrypt() 2021-12-16 09:17:06 -05:00
armv8 crypto: Validate AES-GCM IV length in check_csp(). 2021-12-09 11:52:41 -08:00
blake2 cryptosoft: Fully support per-operation keys for auth algorithms. 2021-12-09 11:52:42 -08:00
camellia crypto(4): Fix a few typos in camellia.c 2021-09-04 13:02:11 +02:00
ccp crypto: Validate AES-GCM IV length in check_csp(). 2021-12-09 11:52:41 -08:00
chacha20 crypto: Permit variable-sized IVs for ciphers with a reinit hook. 2021-10-06 14:08:46 -07:00
des Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
libsodium Bring in compatibility glue for libsodium 2018-08-17 00:27:56 +00:00
openssl Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-11-23 23:26:53 +01:00
rc4
rijndael Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00
sha2 Add accelerated arm64 sha512 to libmd 2021-12-13 15:33:22 +00:00
siphash
skein Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00
via crypto: Constify all transform descriptors 2021-07-26 16:41:05 -04:00
intake.h Implement boot-time encryption key passing (keybuf) 2017-04-01 05:05:22 +00:00
sha1.c Replace some K&R function definitions with ANSI C. 2020-11-03 22:32:30 +00:00
sha1.h Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00