Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/crypto_session.9
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Lines | |||||
.Bl -tag -width CSP_F_SEPARATE_OUTPUT | .Bl -tag -width CSP_F_SEPARATE_OUTPUT | ||||
.It Dv CSP_F_SEPARATE_OUTPUT | .It Dv CSP_F_SEPARATE_OUTPUT | ||||
Support requests that use separate input and output buffers. | Support requests that use separate input and output buffers. | ||||
Sessions with this flag set permit requests with either a single buffer | Sessions with this flag set permit requests with either a single buffer | ||||
that is modified in-place, or requests with separate input and output | that is modified in-place, or requests with separate input and output | ||||
buffers. | buffers. | ||||
Sessions without this flag only permit requests with a single buffer that | Sessions without this flag only permit requests with a single buffer that | ||||
is modified in-place. | is modified in-place. | ||||
.It Dv CSP_F_SEPARATE_AAD | |||||
Support requests that use a separate buffer for AAD rather than providing | |||||
AAD as a region in the input buffer. | |||||
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. | |||||
Sessions without this flag only permit requests with AAD passed in as | |||||
a region in the input buffer. | |||||
.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 |