HIFN(4)
π HIFN(4) β the hifn manual page, bestie edition π
okay so. you found the hifn page in the Kernel Interfaces Manual and you're like "what is this thing" β don't worry, I got you. sit down, hydrate, let's go. π«Ά
β¨ NAME β¨
hifn β the Hifn 7751/7951/7811/7955/7956 crypto accelerator driver π
πΈ SYNOPSIS πΈ
so if you want this driver compiled into the kernel, you drop these lines into your kernel config file, exactly like this, no notes:
device crypto
device cryptodev
device hifn
or, alternatively, if you'd rather load it as a module at boot time, you put this line in loader.conf(5):
hifn_load="YES"
slay. that's it. that's the whole vibe. β¨
π¦ DESCRIPTION π¦
The hifn driver supports various cards containing the Hifn 7751, 7951, 7811, 7955, and 7956 chipsets. yes, all five, it's giving overachiever. π
The hifn driver registers itself to accelerate DES, Triple-DES, AES (7955 and 7956 only, ok?), ARC4, MD5, MD5-HMAC, SHA1, and SHA1-HMAC operations for ipsec(4) and crypto(4). that's a whole roster. it ate. π₯
The Hifn 7951, 7811, 7955, and 7956 will also supply data to the kernel random(4) subsystem. so they're not just crypto girlies, they're also entropy girlies. multitalented fr fr. π
π HARDWARE π
The hifn driver supports various cards containing the Hifn 7751, 7951, 7811, 7955, and 7956 chipsets, such as:
- Invertex AEON β no longer being made π. came as the 128KB SRAM model, or the 2MB DRAM model.
- Hifn 7751 β the reference board, with 512KB SRAM.
- PowerCrypt β comes with 512KB SRAM.
- XL-Crypt β the only board based on the 7811 (which is faster than the 7751 and has a random number generator, iconic).
- NetSec 7751 β supports the most IPsec sessions, with 1MB SRAM. main character energy honestly.
- Soekris Engineering vpn1201 and vpn1211 β see http://www.soekris.com/. contains a 7951 and supports symmetric and random number operations.
- Soekris Engineering vpn1401 and vpn1411 β see http://www.soekris.com/. contains a 7955 and supports symmetric and random number operations.
π SEE ALSO π
crypt(3), crypto(4), intro(4), ipsec(4), random(4), crypto(9)
go read those too, iykyk. π
β HISTORY β
The hifn device driver appeared in OpenBSD 2.7. the hifn device driver was imported to FreeBSD 5.0. a whole glow-up journey. β¨
π¨ CAVEATS π¨
listen carefully bestie, this part matters. π
The Hifn 9751 shares the same PCI ID. this chip is basically a 7751, but with the cryptographic functions missing. instead, the 9751 is only capable of doing compression. and since we do not currently attempt to use any of these chips to do compression, the 9751-based cards are not useful. periodt. π
Support for the 7955 and 7956 is incomplete; the asymmetric crypto facilities are to be added and the performance is suboptimal. it's a work in progress, be nice to it. π§
π BUGS π
The 7751 chip starts out at initialization by only supporting compression. a proprietary algorithm, which has been reverse engineered, is required to unlock the cryptographic functionality of the chip. π
it is possible for vendors to make boards which have a lock ID not known to the driver, but all vendors currently just use the obvious ID which is 13 bytes of 0. like. every single one. consistency queens. π
and that's the whole page!! πβ¨ππ¦πΈπ π«Ά
this was the Debian version, dated October 19, 2009 β yeah she's vintage but she still serves. bye bestie, go encrypt something responsibly! ππ₯π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2000 Theo de Raadt
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms