freebsd-skq/sys/opencrypto
jhb 982661897c Add stricter checking on mac key lengths.
Negative lengths are always invalid.  The key length should also
be zero for hash algorithms that do not accept a key.

admbugs:	949
Reported by:	Yuval Kanarenstein <yuvalk@ssd-disclosure.com>
Reviewed by:	cem
MFC after:	1 week
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D23094
2020-01-09 18:29:59 +00:00
..
_cryptodev.h
cast.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
cast.h Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
castsb.h
cbc_mac.c Don't panic for empty CCM requests. 2019-04-24 23:27:39 +00:00
cbc_mac.h
criov.c
crypto.c
cryptodeflate.c Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
cryptodev_if.m
cryptodev.c Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
cryptodev.h Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +00:00
cryptosoft.c Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +00:00
cryptosoft.h
deflate.h Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
gfmult.c
gfmult.h
gmac.c
gmac.h
ktls_ocf.c Add support for TLS 1.3 using AES-GCM to the OCF backend for KTLS. 2019-12-18 01:37:00 +00:00
rmd160.c
rmd160.h
skipjack.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
skipjack.h Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_aes_icm.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_aes_xts.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_auth.h Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +00:00
xform_blf.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_cast5.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_cbc_mac.c
xform_cml.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_comp.h
xform_deflate.c
xform_des1.c Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
xform_des3.c Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
xform_enc.h Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_gmac.c
xform_md5.c
xform_null.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_poly1305.c
xform_poly1305.h
xform_rijndael.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_rmd160.c
xform_sha1.c
xform_sha2.c
xform_skipjack.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_userland.h
xform.c
xform.h