aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ossl
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-231-1/+0
| | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ Similar commit in current: (cherry picked from commit 031beb4e239b)
* ossl: Add ChaCha20 cipher support.John Baldwin2021-10-211-0/+4
| | | | | | | Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28756 (cherry picked from commit 92aecd1e6fac47ffc893f628c1fe289568bb19cb)
* ossl: Add Poly1305 digest support.John Baldwin2021-10-211-0/+4
| | | | | | | | Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28754 (cherry picked from commit a079e38b08f2f07c50ba915dae66d099559abdcc)
* ossl: port to arm64Mitchell Horne2020-12-041-0/+12
| | | | | | | | | | | | | | Enable in-kernel acceleration of SHA1 and SHA2 operations on arm64 by adding support for the ossl(4) crypto driver. This uses OpenSSL's assembly routines under the hood, which will detect and use SHA intrinsics if they are supported by the CPU. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27390 Notes: svn path=/head/; revision=368350
* ossl: split out x86 bits to x86/ossl_cpuid.cMitchell Horne2020-12-041-2/+4
| | | | | | | | | | | | Make room for adding arm64 support to this driver by moving the x86-specific feature parsing to a separate file. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27388 Notes: svn path=/head/; revision=368349
* Add a kernel crypto driver using assembly routines from OpenSSL.John Baldwin2020-10-201-0/+26
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: svn path=/head/; revision=366901