opnsense-src/sys/crypto/ccp
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
..
ccp.c crypto: Validate AES-GCM IV length in check_csp(). 2022-04-29 13:50:04 -07:00
ccp.h Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
ccp_hardware.c ccp, ccr: Simplify drivers to assume an AES-GCM IV length of 12. 2021-10-21 08:51:25 -07:00
ccp_hardware.h
ccp_lsb.c
ccp_lsb.h