1.\" $OpenBSD: ubsec.4,v 1.18 2002/09/26 07:55:41 miod Exp $ 2.\" $FreeBSD: src/share/man/man4/ubsec.4,v 1.1.2.1 2002/11/21 23:57:24 sam Exp $ 3.\" 4.\" Copyright (c) 2000 Jason L. Wright (jason@thought.net) 5.\" All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 3. All advertising materials mentioning features or use of this software 16.\" must display the following acknowledgement: 17.\" This product includes software developed by Jason L. Wright 18.\" 4. The name of the author may not be used to endorse or promote products 19.\" derived from this software without specific prior written permission. 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 25.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 29.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 30.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31.\" POSSIBILITY OF SUCH DAMAGE. 32.\" 33.Dd November 21, 2002 34.Dt UBSEC 4 35.Os 36.Sh NAME 37.Nm ubsec 38.Nd Broadcom and BlueSteel uBsec 5x0x crypto accelerator 39.Sh SYNOPSIS 40.Nm device ubsec 41.Sh DESCRIPTION 42The 43.Nm 44driver supports cards containing any of the following chips: 45.Bl -tag -width "Broadcom BCM5821" -offset indent 46.It Bluesteel 5501 47The original chipset, no longer made. This extremely rare unit 48was not very fast, lacked a RNG, and had a number of other bugs. 49.It Bluesteel 5601 50A faster and fixed version of the original, with a random number 51unit and large number engine added. 52.It Broadcom BCM5801 53A BCM5805 without public key engine or random number generator. 54.It Broadcom BCM5802 55A slower version of the BCM5805. 56.It Broadcom BCM5805 57Faster version of Bluesteel 5601. 58.It Broadcom BCM5820 5964 bit version of the chip, and significantly more advanced. 60.It Broadcom BCM5821 61Faster version of the BCM5820. 62.It Broadcom BCM5822 63Faster version of the BCM5820. 64.El 65.Pp 66The 67.Nm 68driver registers itself to accelerate DES, Triple-DES, MD5-HMAC, 69and SHA1-HMAC operations for 70.Xr ipsec 4 71and 72.Xr crypto 4 . 73.Pp 74On those models which contain a public key engine (almost all of the 75more recent ones), this feature is registered with the 76.Xr crypto 4 77subsystem. 78.Pp 79On all models except the Bluesteel 5501 and Broadcom 5801, the driver 80registers itself to provide random data to the 81.Xr random 4 82subsystem. 83.Sh SEE ALSO 84.Xr crypt 3 , 85.Xr crypto 4 , 86.Xr intro 4 , 87.Xr ipsec 4 , 88.Xr random 4 , 89.Xr crypto 9 90.Sh HISTORY 91The 92.Nm 93device driver appeared in 94OpenBSD 2.8. 95The 96.Nm 97device driver was imported to FreeBSD in 5.0. 98.Sh BUGS 99The BCM5801 and BCM5802 have not actually been tested. 100