OSSL(4)
π OSSL π
okay so bestie, real talk β this is ossl(4), straight out of the Kernel Interfaces Manual, section 4, and it's genuinely one of those pages that's short but packed. no cap. let's get into it π
β¨ NAME β¨
ossl β the driver that's literally just out here using OpenSSL assembly routines. that's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
so if you wanna compile this driver into the kernel, you gotta place these lines in your kernel configuration file, exactly like this:
device crypto
device cryptodev
device ossl
or, alternatively β and this is the lowkey easier route β if you wanna load the driver as a module at boot time, you put this line in loader.conf(5):
ossl_load="YES"
periodt. that's it. π
π¦ DESCRIPTION π¦
okay so here's the lore: the OpenSSL distribution ships architecture-specific implementations for some of the most commonly used cryptographic algorithms. iconic behaviour, honestly.
and what ossl does is add a wrapper around those routines so that in-kernel cryptography consumers β think kernel TLS and IPsec, the main characters β can actually use them. it's giving bridge energy. it's giving connector. π₯
π architectures it's got implementations for
arm64amd64i386
β algorithms it supports
AES-CBCAES-GCM(amd64 only β yeah, sorry bestie, that's the rule π)ChaCha20ChaCha20-Poly1305(RFC 8439)Poly1305SHA1SHA1-HMACSHA2-224SHA2-224-HMACSHA2-256SHA2-256-HMACSHA2-384SHA2-384-HMACSHA2-512SHA2-512-HMAC
like, look at that list. fourteen algorithms. it ate and left no crumbs. π
π SEE ALSO π
go read these next, iykyk:
π HISTORY π
the ossl driver first appeared in FreeBSD 13.0. a whole era. π°οΈ
π quick reminder bestie:AES-GCMisamd64only β don't come for me if it's not there on yourarm64box, the manpage said it first.
and that's the whole page, bestie β no notes! π§πβ¨
this cutie pie of a page is from the Debian folks, dated May 4, 2023, and it lives at OSSL(4) β go forth and encrypt responsibly ππ¦
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2020 Netflix, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms