freebsd-skq/sys/crypto
John Baldwin 895c98cc29 Don't return errors from the cryptodev_process() method.
The cryptodev_process() method should either return 0 if it has
completed a request, or ERESTART to defer the request until later.  If
a request encounters an error, the error should be reported via
crp_etype before completing the request via crypto_done().

Fix a few more drivers noticed by asomers@ similar to the fix in
r365389.  This is an old bug, but went unnoticed since crypto requests
did not start failing as a normal part of operation until digest
verification was introduced which can fail requests with EBADMSG.

PR:		247986
Reported by:	asomers
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D26361
2020-09-08 22:41:35 +00:00
..
aesni Add domain policy allocation for amd64 fpu_kern_ctx 2020-07-03 14:54:46 +00:00
armv8 Don't return errors from the cryptodev_process() method. 2020-09-08 22:41:35 +00:00
blake2 Add domain policy allocation for amd64 fpu_kern_ctx 2020-07-03 14:54:46 +00:00
camellia
ccp crypto(9): add CRYPTO_BUF_VMPAGE 2020-08-26 02:37:42 +00:00
chacha20 Improve support for stream ciphers in the software encryption interface. 2020-05-22 16:29:09 +00:00
des Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
libsodium Bring in compatibility glue for libsodium 2018-08-17 00:27:56 +00:00
rc4
rijndael rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
sha2 libmd: Always erase context in _Final method, and when doing 2018-07-20 07:01:28 +00:00
siphash
skein Rename skein_block_asm.s to .S and assemble using Clang IAS 2020-06-06 00:35:41 +00:00
via padlock(4): fix instapanics with geli authentication 2020-09-06 19:25:31 +00:00
intake.h
sha1.c
sha1.h