1.\" $OpenBSD: glxsb.4,v 1.5 2007/05/31 19:19:54 jmc Exp $ 2.\" 3.\"Copyright (c) 2006 Tom Cosgrove <tom@openbsd.org> 4.\" 5.\"Permission to use, copy, modify, and distribute this software for any 6.\"purpose with or without fee is hereby granted, provided that the above 7.\"copyright notice and this permission notice appear in all copies. 8.\" 9.\"THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\"WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\"MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\"ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd July 29, 2020 18.Dt GLXSB 4 i386 19.Os 20.Sh NAME 21.Nm glxsb 22.Nd Geode LX Security Block crypto accelerator 23.Sh SYNOPSIS 24To compile this driver into the kernel, 25place the following lines in your 26kernel configuration file: 27.Bd -ragged -offset indent 28.Cd "device crypto" 29.Cd "device glxsb" 30.Ed 31.Pp 32Alternatively, to load the driver as a 33module at boot time, place the following line in 34.Xr loader.conf 5 : 35.Bd -literal -offset indent 36glxsb_load="YES" 37.Ed 38.Sh DESCRIPTION 39The 40.Nm 41driver supports the security block of the Geode LX series processors. 42The Geode LX is a member of the AMD Geode family 43of integrated x86 system chips. 44.Pp 45Driven by periodic checks for available data from the generator, 46.Nm 47supplies entropy to the 48.Xr random 4 49driver for common usage. 50.Pp 51.Nm 52also supports acceleration of AES-128-CBC operations for 53.Xr crypto 4 . 54It also registers itself to accelerate other HMAC algorithms, although 55there is no hardware acceleration for those algorithms. 56This is only needed so 57.Nm 58can work with 59.Xr ipsec 4 . 60.Sh CAVEAT 61The 62.Xr crypto 9 63framework will fail to open the crypto session on the device if the AES 64key's length is != 128 bits. 65This prevents the use of the 66.Nm 67device driver with AES keys of length != 128 bits. 68.Sh SEE ALSO 69.Xr crypto 4 , 70.Xr intro 4 , 71.Xr ipsec 4 , 72.Xr pci 4 , 73.Xr random 4 , 74.Xr crypto 7 , 75.Xr crypto 9 76.Sh HISTORY 77The 78.Nm 79device driver first appeared in 80.Ox 4.1 . 81The 82.Nm 83device driver was imported into 84.Fx 7.1 . 85.Sh AUTHORS 86.An -nosplit 87The 88.Nm 89device driver was written for 90.Ox 91by 92.An Tom Cosgrove . 93It was ported to 94.Fx 95by 96.An Patrick Lamaiziere Aq Mt patfbsd@davenulle.org . 97