diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-10-20 17:50:18 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-10-20 17:50:18 +0000 |
commit | ba610be90a7cb6d851e0e0e6d7612769352a3c0c (patch) | |
tree | 85995acc49eba2878d5c92913c0e66655cc7857f /sys/amd64 | |
parent | 91bc73618deae3a0d4efc467d94883c7e9fdd088 (diff) | |
download | src-test-ba610be90a7cb6d851e0e0e6d7612769352a3c0c.tar.gz src-test-ba610be90a7cb6d851e0e0e6d7612769352a3c0c.zip |
Add a kernel crypto driver using assembly routines from OpenSSL.
Currently, this supports SHA1 and SHA2-{224,256,384,512} both as plain
hashes and in HMAC mode on both amd64 and i386. It uses the SHA
intrinsics when present similar to aesni(4), but uses SSE/AVX
instructions when they are not.
Note that some files from OpenSSL that normally wrap the assembly
routines have been adapted to export methods usable by 'struct
auth_xform' as is used by existing software crypto routines.
Reviewed by: gallatin, jkim, delphij, gnn
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D26821
Notes
Notes:
svn path=/head/; revision=366901
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/conf/NOTES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES index 9bfb0cfb15e6b..4bee0f8049706 100644 --- a/sys/amd64/conf/NOTES +++ b/sys/amd64/conf/NOTES @@ -533,6 +533,7 @@ device tpm device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG device aesni # AES-NI OpenCrypto module +device ossl # OpenSSL OpenCrypto module device ioat # Intel I/OAT DMA engine # |