safexel manuals: Improve apropos and HW relnotes

safe.4:
Improve document description (Nd) for apropos. Remove Nm from sysctls
in synopsis. This was causing this page to get pulled into results for
`apropos sysctl`. Instead, use kernel declaration macros like vt(4).
Convert the HARDWARE tagged list to a column list for better rendering
in HW Relnotes. Tested in man(1) at MANWIDTH 59 and 80.

safexcel.4:
Nd: s/security packet/cryptographic offload/ for apropos.
HARDWARE: Create this section for inclusion in the HW relnotes.

SPDX:			both tagged
MFC after:		3 days
MFC to:			13.5
Reported by:		markj (cryptographic offload, Inside Secure)
Reviewed by:		jhb, markj, mhorne
Accepted by:		markj (src), mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D47706

(cherry picked from commit 26eeda7bd65603cdc6ff764349f55416b9766b43)
This commit is contained in:
Alexander Ziaee 2024-11-22 12:45:36 -05:00
parent 7ba0d89090
commit 78fa5b277a
No known key found for this signature in database
GPG key ID: 0A8F850BCDEF4511
2 changed files with 29 additions and 18 deletions

View file

@ -1,4 +1,6 @@
.\"-
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
.\" Copyright (c) 2003 Sam Leffler, Errno Consulting
.\" All rights reserved.
.\"
@ -22,13 +24,13 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"/
.Dd July 29, 2020
.\"
.Dd November 22, 2024
.Dt SAFE 4
.Os
.Sh NAME
.Nm safe
.Nd SafeNet crypto accelerator
.Nd SafeNet SafeXcel 1141/1741 crypto accelerator
.Sh SYNOPSIS
To compile this driver into the kernel,
place the following lines in your
@ -46,11 +48,15 @@ module at boot time, place the following line in
safe_load="YES"
.Ed
.Pp
.Nm sysctl Va hw.safe.debug
.Nm sysctl Va hw.safe.dump
.Nm sysctl Va hw.safe.rnginterval
.Nm sysctl Va hw.safe.rngbufsize
.Nm sysctl Va hw.safe.rngmaxalarm
In
.Xr sysctl.conf 5 :
.Bd -ragged -offset indent
.Cd hw.safe.debug
.Cd hw.safe.dump
.Cd hw.safe.rnginterval
.Cd hw.safe.rngbufsize
.Cd hw.safe.rngmaxalarm
.Ed
.Sh DESCRIPTION
The
.Nm
@ -106,15 +112,13 @@ to dump the hardware interrupt registers.
.Sh HARDWARE
The
.Nm
driver supports cards containing any of the following chips:
.Bl -tag -width "SafeNet 1141" -offset indent
.It SafeNet 1141
The original chipset.
driver supports the following SafeXcel chips:
.Bl -column "SafeNet 1141" "The original chipset. Supports" -offset indent
.It SafeNet 1141 Ta The original chipset.
Supports DES, Triple-DES, AES, MD5, and SHA-1
symmetric crypto operations, RNG, public key operations, and full IPsec
packet processing.
.It SafeNet 1741
A faster version of the 1141.
.It SafeNet 1741 Ta A faster version of the 1141.
.El
.Sh SEE ALSO
.Xr crypt 3 ,

View file

@ -1,4 +1,6 @@
.\"-
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
.\" Copyright (c) 2020 Rubicon Communications, LLC (Netgate)
.\"
.\" Redistribution and use in source and binary forms, with or without
@ -22,12 +24,12 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd July 29, 2020
.Dd November 22, 2024
.Dt SAFEXCEL 4
.Os
.Sh NAME
.Nm safexcel
.Nd Inside Secure SafeXcel-IP-97 security packet engine
.Nd Inside Secure SafeXcel-IP-97 cryptographic offload engine
.Sh SYNOPSIS
To compile this driver into the kernel,
place the following lines in your
@ -69,6 +71,11 @@ AES-CCM
.Nm
also implements SHA1 and SHA2 transforms, and can combine AES-CBC and AES-CTR
with SHA1-HMAC and SHA2-HMAC for encrypt-then-authenticate operations.
.Sh HARDWARE
The
.Nm
driver supports the cryptographic acceleration functions of the
Inside Secure EIP-97 device found on some Marvell systems-on-chip.
.Sh SEE ALSO
.Xr crypto 4 ,
.Xr ipsec 4 ,