diff options
author | pjd <pjd@FreeBSD.org> | 2006-04-10 18:17:43 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-04-10 18:17:43 +0000 |
commit | fcb4685f26a022512c0a616535faafacfd22c199 (patch) | |
tree | 423810721f37cc789e76f3856fdfc65abeaa7697 /share | |
parent | 98fc9938afbd40dd139657197f8c385fd792ad71 (diff) | |
download | FreeBSD-src-fcb4685f26a022512c0a616535faafacfd22c199.zip FreeBSD-src-fcb4685f26a022512c0a616535faafacfd22c199.tar.gz |
Document CRD_F_KEY_EXPLICIT flag. While here more flags description more
readable.
MFC after: 2 weeks
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/crypto.9 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man9/crypto.9 b/share/man/man9/crypto.9 index ccafa23..01332b7 100644 --- a/share/man/man9/crypto.9 +++ b/share/man/man9/crypto.9 @@ -318,7 +318,7 @@ For MAC algorithms, this is where the result of the keyed hash will be inserted. .It Va crd_flags The following flags are defined: -.Bl -tag -width ".Dv CRD_F_IV_EXPLICIT" +.Bl -tag -width ".Dv CRD" .It Dv CRD_F_ENCRYPT For encryption algorithms, this bit is set when encryption is required (when not set, decryption is performed). @@ -344,7 +344,7 @@ flag. For encryption algorithms, this bit is set when the IV is explicitly provided by the consumer in the .Va cri_iv -fields. +field. Otherwise, for encryption operations the IV is provided for by the driver used to perform the operation, whereas for decryption operations it is pointed to by the @@ -355,6 +355,12 @@ This flag is typically used when the IV is calculated by the consumer, and does not precede the data (some .Xr ipsec 4 configurations, and the encrypted swap are two such examples). +.It Dv CRD_F_KEY_EXPLICIT +For encryption algorithms, this bit is set when the key is explicitly +provided by the consumer in the +.Va cri_key +field for the given operation. +Otherwise, the key is taken from at newsession time from the same field. .It Dv CRD_F_COMP For compression algorithms, this bit is set when compression is required (when not set, decompression is performed). |