ossl(4)

ossl4

Driver using openssl assembly routines

Usage

device crypto device cryptodev device ossl

In loader.conf(5): ossl_load="YES"

Overview

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 support for the following algorithms:

  • AES-CBC

  • AES-GCM (amd64 only)

  • ChaCha20

  • ChaCha20-Poly1305 (RFC 8439)

  • Poly1305

  • SHA1

  • SHA1-HMAC

  • SHA2-224

  • SHA2-224-HMAC

  • SHA2-256

  • SHA2-256-HMAC

  • SHA2-384

  • SHA2-384-HMAC

  • SHA2-512

  • SHA2-512-HMAC

Hardware

The ossl driver supports cryptographic acceleration via OpenSSL on the following architectures:

  • amd64

  • arm64

  • i386

  • powerpc64

Releases

15 releases since FreeBSD 13.0-RELEASE; the text changed 4 times.

  1. 13.0
  2. 13.1–13.2
  3. 13.3–13.5
  4. 14.0–15.1
  5. 16.0

History

The ossl driver first appeared in FreeBSD 13.0.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.