opnsense-src/sys/crypto/aesni
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
..
aesencdec.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
aeskeys_amd64.S Use the fact that the AES-NI instructions can be pipelined to improve 2013-09-03 18:31:23 +00:00
aeskeys_i386.S Fix a bug in the result of manual assembly. 2011-03-02 14:56:58 +00:00
aesni.c crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
aesni.h aesni: Support AES-CCM requests with a truncated tag. 2021-10-21 14:08:12 -07:00
aesni_ccm.c aesni: Support AES-CCM requests with a truncated tag. 2021-10-21 14:08:12 -07:00
aesni_ghash.c aesni: Fix an out-of-bounds read in AES_GCM_decrypt() 2021-12-27 10:45:36 -05:00
aesni_os.h In the version of gcc in the FreeBSD tree, this modification was made to 2015-04-16 17:42:52 +00:00
aesni_wrap.c aesni: Avoid a potential out-of-bounds load in aes_encrypt_icm() 2021-09-06 12:29:20 -04:00
intel_sha1.c aesni(4): Fix GCC build 2017-09-29 19:56:09 +00:00
intel_sha256.c aesni(4): Fix GCC build 2017-09-29 19:56:09 +00:00
sha_sse.h aesni(4): Add support for x86 SHA intrinsics 2017-09-26 23:12:32 +00:00