UBSEC(4)
π UBSEC(4) π
okay bestie, welcome to the Kernel Interfaces Manual section for ubsec β the Broadcom and BlueSteel uBsec 5x0x crypto accelerator. yes it's a whole mouthful, but she's iconic and we're gonna get through this together π«Ά
β¨ SYNOPSIS β¨
so like, you wanna compile this driver into the kernel? drop these lines in your kernel configuration file, no cap:
device crypto
device cryptodev
device ubsec
OR β if you're feeling lowkey lazy and just want it as a module at boot time β put this line in loader.conf(5):
ubsec_load="YES"
slay. that's it. β¨
π¨ DEPRECATION NOTICE π¨
not me having to deliver bad news π β the ubsec driver is not present in FreeBSD 13.0 and later. and honestly? the majority of crypto algorithms this driver supports are no longer used by the kernel in FreeBSD 13.0. so likeβ¦ she's retired, bestie. gone. periodt. π
πΈ DESCRIPTION πΈ
the ubsec driver supports cards containing Broadcom and BlueSteel uBsec 5x0x crypto accelerator chips. very demure, very crypto. π
she registers herself to accelerate DES, Triple-DES, MD5-HMAC, and SHA1-HMAC operations for ipsec(4) and crypto(4). the way that she just⦠accelerates things?? obsessed.
on those models that contain a public key engine (which is, like, almost all of the more recent ones β main character energy honestly), this feature gets registered with the crypto(4) subsystem. β¨
and on all models except the Bluesteel 5501 and Broadcom 5801, the driver registers itself to provide random data to the random(4) subsystem. so basically she's also a vibe source. π
π HARDWARE π
okay so the ubsec driver supports cards containing any of these chips, and I'm listing every single one because they all deserve their moment:
- Bluesteel 5501 β the original chipset, no longer made. this extremely rare unit was not very fast, lacked an RNG, and had a number of other bugs. π she was trying her best, okay?
- Bluesteel 5601 β a faster and fixed version of the original, with a random number unit and large number engine added. glow-up of the century honestly π
- Broadcom BCM5801 β a BCM5805 without public key engine or random number generator. stripped down, no extras. minimalist queen.
- Broadcom BCM5802 β a slower version of the BCM5805. she's taking her time, and that's valid. π¦
- Broadcom BCM5805 β faster version of Bluesteel 5601. ate that upgrade fr fr π₯
- Broadcom BCM5820 β 64 bit version of the chip, and significantly more advanced. she's giving evolved. β
- Broadcom BCM5821 β faster version of the BCM5820. this is the chip found on the Sun Crypto Accelerator 1000. iykyk π
- Broadcom BCM5822 β faster version of the BCM5820. yep, another glow-up of the same queen. π
- Broadcom BCM5823 β a BCM5822 with AES capability. AES!! fancy!! β¨
- Broadcom BCM5825 β faster version of the BCM5823. and the lineage continues. π
π«Ά SEE ALSO π«Ά
go read those too, bestie, they're all part of the same friend group π
π HISTORY π
the ubsec device driver appeared in OpenBSD 2.8. and then β plot twist β the ubsec device driver was imported to FreeBSD 5.0. a whole cross-platform journey, we love to see it. π§
π BUGS π
okay so the tea: the BCM5801 and BCM5802 have not actually been tested. like, at all. π
and the AES capability of the BCM5823 is not yet supported β she's just awaiting public disclosure of programming information from Broadcom. so if you were hoping for that AES goodness, nope, not yet, bestie. π
and that's the whole page, fr fr! this one came to you from the Debian folks, dated May 14, 2020, and yeah β UBSEC(4) is officially wrapped. stay encrypted, stay iconic, mwah ππβ¨
π¦ 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 Jason L. Wright (jason@thought.net)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms