]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
crypto(9): add CRYPTO_BUF_VMPAGE
authorasomers <asomers@FreeBSD.org>
Wed, 26 Aug 2020 02:37:42 +0000 (02:37 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 26 Aug 2020 02:37:42 +0000 (02:37 +0000)
commit05476d02394a648bb45a303b7cc373e5582f03d6
treea83b50c9e02f47cd1b8d6091a31f2398db82bd19
parentd7704f9e75aafd312a3a1f03835b9b5ff92a3436
crypto(9): add CRYPTO_BUF_VMPAGE

crypto(9) functions can now be used on buffers composed of an array of
vm_page_t structures, such as those stored in an unmapped struct bio.  It
requires the running to kernel to support the direct memory map, so not all
architectures can use it.

Reviewed by: markj, kib, jhb, mjg, mat, bcr (manpages)
MFC after: 1 week
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D25671
share/man/man9/crypto_buffer.9
share/man/man9/crypto_request.9
sys/crypto/ccp/ccp.c
sys/dev/cxgbe/crypto/t4_crypto.c
sys/dev/sec/sec.c
sys/kern/subr_bus_dma.c
sys/opencrypto/criov.c
sys/opencrypto/crypto.c
sys/opencrypto/cryptodev.h
sys/opencrypto/cryptosoft.c