opnsense-src/sys/dev/safexcel
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
..
safexcel.c crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
safexcel_reg.h safexcel: clean up empty lines in .c and .h files 2020-09-01 21:54:58 +00:00
safexcel_var.h safexcel: Maintain per-session context records 2021-01-18 17:07:56 -05:00