freebsd-skq/sys/opencrypto
Conrad Meyer 9ebbebe4f7 cryptosoft: Reduce generality of supported algorithm composition
Fix a regression introduced in r336439.

Rather than allowing any linked list of algorithms, allow at most two
(typically, some combination of encrypt and/or MAC).  Removes a WAITOK
malloc in an unsleepable context (classic LOR) by placing both software
algorithm contexts within the OCF-managed session object.

Tested with 'cryptocheck -a all -d cryptosoft0', which includes some
encrypt-and-MAC modes.

PR:		230304
Reported by:	sef@
2018-08-17 04:40:01 +00:00
..
_cryptodev.h
cast.c
cast.h
castsb.h
criov.c
crypto.c
cryptodeflate.c
cryptodev_if.m
cryptodev.c
cryptodev.h
cryptosoft.c cryptosoft: Reduce generality of supported algorithm composition 2018-08-17 04:40:01 +00:00
cryptosoft.h cryptosoft: Reduce generality of supported algorithm composition 2018-08-17 04:40:01 +00:00
deflate.h
gfmult.c
gfmult.h
gmac.c
gmac.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform_aes_icm.c
xform_aes_xts.c
xform_auth.h
xform_blf.c
xform_cast5.c
xform_cml.c
xform_comp.h
xform_deflate.c
xform_des1.c
xform_des3.c
xform_enc.h
xform_gmac.c
xform_md5.c
xform_null.c
xform_poly1305.c
xform_poly1305.h
xform_rijndael.c
xform_rmd160.c
xform_sha1.c
xform_sha2.c
xform_skipjack.c
xform_userland.h
xform.c
xform.h