opnsense-src/sys/crypto
John Baldwin a41ff1661b crypto: Validate AES-GCM IV length in check_csp().
This centralizes the check for valid nonce lengths for AES-GCM.

While here, remove some duplicate checks for valid AES-GCM tag lengths
from ccp(4) and ccr(4).

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33194

(cherry picked from commit 6e17a2e00d)
2022-04-29 13:50:04 -07:00
..
aesni crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
armv8 crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
blake2 Add a <machine/fpu.h> for i386 that includes <machine/npx.h>. 2020-10-13 17:26:12 +00:00
camellia crypto(4): Fix a few typos in camellia.c 2021-09-07 09:23:33 +02:00
ccp crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
chacha20 crypto: Permit variable-sized IVs for ciphers with a reinit hook. 2021-10-21 13:47:58 -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-12-29 14:45:29 +01:00
rc4 Revert previous commit... 2012-10-10 08:36:38 +00:00
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-29 10:06:00 +00:00
siphash Fix C++ includability of crypto headers with static array sizes 2016-10-18 23:20:49 +00:00
skein Consistently use C99 fixed-width types in the in-kernel crypto code. 2020-11-03 22:27:54 +00:00
via Add a <machine/fpu.h> for i386 that includes <machine/npx.h>. 2020-10-13 17:26:12 +00: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