Page MenuHomeFreeBSD

D24963.id72127.diff
No OneTemporary

D24963.id72127.diff

Index: share/man/man7/crypto.7
===================================================================
--- share/man/man7/crypto.7
+++ share/man/man7/crypto.7
@@ -36,14 +36,12 @@
.Sh SYNOPSIS
In the kernel configuration file:
.Cd "device crypto"
-.Pp
-Or load the crypto.ko module.
.Sh DESCRIPTION
The following cryptographic algorithms that are part of the OpenCrypto
framework have the following requirements.
.Pp
Cipher algorithms:
-.Bl -tag -width ".Dv CRYPTO_AES_CBC"
+.Bl -tag -width "CRYPTO_AES_NIST_GCM_16"
.It Dv CRYPTO_AES_CBC
.Bl -tag -width "Block size :" -compact -offset indent
.It IV size :
@@ -55,6 +53,28 @@
.El
.Pp
This algorithm implements Cipher-block chaining.
+.It Dv CRYPTO_AES_CCM_16
+.Bl -tag -width "Block size :" -compact -offset indent
+.It IV size :
+12
+.It Block size :
+16
+.It Key size :
+16, 24 or 32
+.It Digest size :
+16
+.El
+.Pp
+This algorithm implements Counter with CBC-MAC Mode.
+This cipher uses AEAD
+.Pq Authenticated Encryption with Associated Data
+mode.
+.Pp
+The authentication tag will be read/written from/to the offset
+.Va crp_digest_start
+specified in the request.
+.Pp
+Note: You must provide an IV on every call.
.It Dv CRYPTO_AES_NIST_GCM_16
.Bl -tag -width "Block size :" -compact -offset indent
.It IV size :
@@ -111,6 +131,26 @@
.Pp
NOTE: The ciphertext stealing part is not implemented which is why this cipher
is listed as having a block size of 16 instead of 1.
+.It Dv CRYPTO_CAMELLIA_CBC
+.Bl -tag -width "Block size :" -compact -offset indent
+.It IV size :
+16
+.It Block size :
+16
+.It Key size :
+16, 24 or 32
+.El
+.Pp
+This algorithm implements Cipher-block chaining.
+.It Dv CRYPTO_CHACHA20
+.Bl -tag -width "Block size :" -compact -offset indent
+.It IV size :
+16
+.It Block size :
+1
+.It Key size :
+16 or 32
+.El
.El
.Sh HISTORY
The

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 7:11 AM (21 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35395058
Default Alt Text
D24963.id72127.diff (1 KB)

Event Timeline