1b356ddf0SMark Johnston.\"- 2b356ddf0SMark Johnston.\" Copyright (c) 2020 Rubicon Communications, LLC (Netgate) 3b356ddf0SMark Johnston.\" 4b356ddf0SMark Johnston.\" Redistribution and use in source and binary forms, with or without 5b356ddf0SMark Johnston.\" modification, are permitted provided that the following conditions 6b356ddf0SMark Johnston.\" are met: 7b356ddf0SMark Johnston.\" 1. Redistributions of source code must retain the above copyright 8b356ddf0SMark Johnston.\" notice, this list of conditions and the following disclaimer. 9b356ddf0SMark Johnston.\" 2. Redistributions in binary form must reproduce the above copyright 10b356ddf0SMark Johnston.\" notice, this list of conditions and the following disclaimer in the 11b356ddf0SMark Johnston.\" documentation and/or other materials provided with the distribution. 12b356ddf0SMark Johnston.\" 13b356ddf0SMark Johnston.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14b356ddf0SMark Johnston.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15b356ddf0SMark Johnston.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16b356ddf0SMark Johnston.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17b356ddf0SMark Johnston.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18b356ddf0SMark Johnston.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19b356ddf0SMark Johnston.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20b356ddf0SMark Johnston.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21b356ddf0SMark Johnston.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22b356ddf0SMark Johnston.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23b356ddf0SMark Johnston.\" SUCH DAMAGE. 24b356ddf0SMark Johnston.\" 25*40326c17SJohn-Mark Gurney.Dd July 29, 2020 26b356ddf0SMark Johnston.Dt SAFEXCEL 4 27b356ddf0SMark Johnston.Os 28b356ddf0SMark Johnston.Sh NAME 29b356ddf0SMark Johnston.Nm safexcel 30b356ddf0SMark Johnston.Nd Inside Secure SafeXcel-IP-97 security packet engine 31b356ddf0SMark Johnston.Sh SYNOPSIS 32b356ddf0SMark JohnstonTo compile this driver into the kernel, 33b356ddf0SMark Johnstonplace the following lines in your 34b356ddf0SMark Johnstonkernel configuration file: 35b356ddf0SMark Johnston.Bd -ragged -offset indent 36b356ddf0SMark Johnston.Cd "device crypto" 37b356ddf0SMark Johnston.Cd "device cryptodev" 38b356ddf0SMark Johnston.Cd "device safexcel" 39b356ddf0SMark Johnston.Ed 40b356ddf0SMark Johnston.Pp 41b356ddf0SMark JohnstonAlternatively, to load the driver as a 42b356ddf0SMark Johnstonmodule at boot time, place the following line in 43b356ddf0SMark Johnston.Xr loader.conf 5 : 44b356ddf0SMark Johnston.Bd -literal -offset indent 45b356ddf0SMark Johnstonsafexcel_load="YES" 46b356ddf0SMark Johnston.Ed 47b356ddf0SMark Johnston.Sh DESCRIPTION 48b356ddf0SMark JohnstonThe 49b356ddf0SMark Johnston.Nm 50b356ddf0SMark Johnstondriver implements 51b356ddf0SMark Johnston.Xr crypto 4 52b356ddf0SMark Johnstonsupport for the cryptographic acceleration functions of the EIP-97 device 53b356ddf0SMark Johnstonfound on some Marvell systems-on-chip. 54b356ddf0SMark JohnstonThe driver can accelerate the following AES modes: 55b356ddf0SMark Johnston.Pp 56b356ddf0SMark Johnston.Bl -bullet -compact 57b356ddf0SMark Johnston.It 58b356ddf0SMark JohnstonAES-CBC 59b356ddf0SMark Johnston.It 60b356ddf0SMark JohnstonAES-CTR 61b356ddf0SMark Johnston.It 62b356ddf0SMark JohnstonAES-XTS 63b356ddf0SMark Johnston.It 64b356ddf0SMark JohnstonAES-GCM 65b356ddf0SMark Johnston.It 66b356ddf0SMark JohnstonAES-CCM 67b356ddf0SMark Johnston.El 68b356ddf0SMark Johnston.Pp 69b356ddf0SMark Johnston.Nm 70b356ddf0SMark Johnstonalso implements SHA1 and SHA2 transforms, and can combine AES-CBC and AES-CTR 71b356ddf0SMark Johnstonwith SHA1-HMAC and SHA2-HMAC for encrypt-then-authenticate operations. 72b356ddf0SMark Johnston.Sh SEE ALSO 73b356ddf0SMark Johnston.Xr crypto 4 , 74b356ddf0SMark Johnston.Xr ipsec 4 , 75b356ddf0SMark Johnston.Xr random 4 , 76*40326c17SJohn-Mark Gurney.Xr crypto 7 , 77b356ddf0SMark Johnston.Xr geli 8 , 78b356ddf0SMark Johnston.Xr crypto 9 79b356ddf0SMark Johnston.Sh HISTORY 80b356ddf0SMark JohnstonThe 81b356ddf0SMark Johnston.Nm 82b356ddf0SMark Johnstondriver first appeared in 83b356ddf0SMark Johnston.Fx 13.0 . 84