FreeBSD manual
download PDF document: ossl.4.pdf
OSSL(4) FreeBSD Kernel Interfaces Manual OSSL(4)
NAME
ossl - driver using OpenSSL assembly routines
SYNOPSIS
To compile this driver into the kernel, place the following lines in your
kernel configuration file:
device crypto
device cryptodev
device ossl
Alternatively, to load the driver as a module at boot time, place the
following line in loader.conf(5):
ossl_load="YES"
DESCRIPTION
The OpenSSL distribution includes architecture-specific implementations
for some commonly used cryptographic algorithms. This driver adds a
wrapper around these routines permitting them to be used by in-kernel
cryptography consumers such as kernel TLS and IPsec.
The ossl driver includes architecture-specific implementations for the
following architectures:
o arm64
o amd64
o i386
The ossl driver includes support for the following algorithms:
o AES-CBC
o AES-GCM (amd64 only)
o ChaCha20
o ChaCha20-Poly1305 (RFC 8439)
o Poly1305
o SHA1
o SHA1-HMAC
o SHA2-224
o SHA2-224-HMAC
o SHA2-256
o SHA2-256-HMAC
o SHA2-384
o SHA2-384-HMAC
o SHA2-512
o SHA2-512-HMAC
SEE ALSO
crypto(4), intro(4), ipsec(4), crypto(7), crypto(9)
HISTORY
The ossl driver first appeared in FreeBSD 13.0.
FreeBSD 14.0-RELEASE-p11 May 4, 2023 FreeBSD 14.0-RELEASE-p11