freebsd-nq/sys/opencrypto
John Baldwin 5ac518b51f 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 OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
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 Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
criov.c Generalize AES iov optimization 2018-12-13 04:40:53 +00:00
crypto.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
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 OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
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 Add per-session locking to cryptosoft (swcr). 2018-09-26 20:23:12 +00:00
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 Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
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 Remove "HMAC" from <HASH>_HMAC_BLOCK_LEN macro names 2018-07-09 07:21:37 +00:00
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 Add xform-conforming auth_hash wrapper for Poly-1305 2018-08-17 00:30:04 +00:00
xform_poly1305.h Add xform-conforming auth_hash wrapper for Poly-1305 2018-08-17 00:30:04 +00:00
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 Remove "HMAC" from <HASH>_HMAC_BLOCK_LEN macro names 2018-07-09 07:21:37 +00:00
xform_sha1.c OCF: Add plain hash modes 2018-07-09 07:28:13 +00:00
xform_sha2.c OCF: Add plain hash modes 2018-07-09 07:28:13 +00:00
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