opnsense-src/sys/opencrypto
John Baldwin 080933c050 Use separate output buffers for OCF requests in KTLS.
KTLS encryption requests for file-backed data such as from sendfile(2)
require the encrypted data to be stored in a separate buffer from the
unencrypted file input data.  Previously the OCF backend for KTLS
manually copied the data from the input buffer to the output buffer
before queueing the crypto request.  Now the OCF backend will use a
separate output buffer for such requests and avoid the copy.  This
mostly helps when an async co-processor is used by saving CPU cycles
used on the copy.

Reviewed by:	gallatin (earlier version)
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D24545
2020-06-04 20:12:34 +00:00
..
_cryptodev.h OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
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 Increment the correct pointer when a crypto buffer spans an mbuf or iovec. 2020-05-29 05:41:21 +00:00
crypto.c Export the _kern_crypto sysctl node from crypto.c. 2020-05-25 22:18:33 +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.c Add a sysctl knob to use separate output buffers for /dev/crypto. 2020-05-25 22:21:09 +00:00
cryptodev.h Export the _kern_crypto sysctl node from crypto.c. 2020-05-25 22:18:33 +00:00
cryptodev_if.m Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
cryptosoft.c Add explicit bzero's of sensitive data in software crypto consumers. 2020-06-03 22:11:05 +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 sys/opencrypto: minor spelling fixes. 2016-05-06 23:37:19 +00:00
gfmult.h Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
gmac.c Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
gmac.h add the define to properly guard this header.. 2015-04-07 09:00:03 +00:00
ktls_ocf.c Use separate output buffers for OCF requests in KTLS. 2020-06-04 20:12:34 +00:00
rmd160.c
rmd160.h
xform.c Remove MD5 HMAC from OCF. 2020-05-11 22:08:08 +00:00
xform.h Remove MD5 HMAC from OCF. 2020-05-11 22:08:08 +00:00
xform_aes_icm.c Improve support for stream ciphers in the software encryption interface. 2020-05-22 16:29:09 +00:00
xform_aes_xts.c Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +00:00
xform_auth.h Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +00:00
xform_cbc_mac.c Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
xform_cml.c Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +00:00
xform_comp.h Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +00:00
xform_deflate.c Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
xform_enc.h Improve support for stream ciphers in the software encryption interface. 2020-05-22 16:29:09 +00:00
xform_gmac.c Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +00:00
xform_null.c Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +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 Various cleanups to the software encryption transform interface. 2020-05-20 21:21:01 +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 Remove support for keyed MD5 and SHA1 authentication hashes. 2020-05-11 21:04:59 +00:00
xform_sha2.c OCF: Add plain hash modes 2018-07-09 07:28:13 +00:00