freebsd-skq/sys/opencrypto
John Baldwin 8ccf3d974f Don't panic for empty CCM requests.
A request to encrypt an empty payload without any AAD is unusual, but
it is defined behavior.  Removing this assertion removes a panic and
instead returns the correct tag for an empty buffer.

Reviewed by:	cem, sef
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D20043
2019-04-24 23:27:39 +00:00
..
_cryptodev.h OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
cast.c
cast.h
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
cryptodev_if.m OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
cryptodev.c Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +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
gfmult.c
gfmult.h
gmac.c
gmac.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform_aes_icm.c Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +00:00
xform_aes_xts.c
xform_auth.h Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +00:00
xform_blf.c
xform_cast5.c
xform_cbc_mac.c Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
xform_cml.c
xform_comp.h
xform_deflate.c
xform_des1.c
xform_des3.c
xform_enc.h Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +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
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
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
xform_userland.h
xform.c
xform.h