Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man9/crypto_session.9
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | |||||
is modified in-place. | is modified in-place. | ||||
.It Dv CSP_F_SEPARATE_AAD | .It Dv CSP_F_SEPARATE_AAD | ||||
Support requests that use a separate buffer for AAD rather than providing | Support requests that use a separate buffer for AAD rather than providing | ||||
AAD as a region in the input buffer. | AAD as a region in the input buffer. | ||||
Sessions with this flag set permit requests with AAD passed in either in | Sessions with this flag set permit requests with AAD passed in either in | ||||
a region of the input buffer or in a single, virtually-contiguous buffer. | a region of the input buffer or in a single, virtually-contiguous buffer. | ||||
Sessions without this flag only permit requests with AAD passed in as | Sessions without this flag only permit requests with AAD passed in as | ||||
a region in the input buffer. | a region in the input buffer. | ||||
.It Dv CSP_F_ESN | |||||
Support requests that use a separate buffer for IPsec ESN (Extended Sequence | |||||
Numbers). | |||||
.Pp | |||||
Sessions with this flag set permit requests with IPsec ESN passed in special | |||||
buffer. | |||||
It is required for IPsec ESN support of encrypt and authenticate mode where | |||||
the high-order 32 bits of the sequence number are appended after the Next | |||||
Header (RFC 4303). | |||||
.El | .El | ||||
.It Fa csp_ivlen | .It Fa csp_ivlen | ||||
If either the cipher or authentication algorithms require an explicit | If either the cipher or authentication algorithms require an explicit | ||||
initialization vector (IV) or nonce, | initialization vector (IV) or nonce, | ||||
this specifies the length in bytes. | this specifies the length in bytes. | ||||
All requests for a session use the same IV length. | All requests for a session use the same IV length. | ||||
.It Fa csp_cipher_alg | .It Fa csp_cipher_alg | ||||
Encryption or compression algorithm. | Encryption or compression algorithm. | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |