Changeset View
Changeset View
Standalone View
Standalone View
share/man/man7/crypto.7
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
.Va crp_digest_start | .Va crp_digest_start | ||||
specified in the request. | specified in the request. | ||||
.Pp | .Pp | ||||
Note: You must provide an IV on every call. | Note: You must provide an IV on every call. | ||||
.It Dv CRYPTO_AES_ICM | .It Dv CRYPTO_AES_ICM | ||||
.Bl -tag -width "Block size :" -compact -offset indent | .Bl -tag -width "Block size :" -compact -offset indent | ||||
.It IV size : | .It IV size : | ||||
16 | 16 | ||||
.It Block size : | .It Block size : | ||||
1 (aesni), 16 (software) | 1 | ||||
cem: Might be better to document stream ciphers as stream ciphers, rather than the sort of confusing… | |||||
jhbAuthorUnsubmitted Done Inline ActionsHmmm, perhaps that should be done as a followup in some way since it would apply to GCM as well. jhb: Hmmm, perhaps that should be done as a followup in some way since it would apply to GCM as well. | |||||
.It Key size : | .It Key size : | ||||
16, 24 or 32 | 16, 24 or 32 | ||||
.El | .El | ||||
.Pp | .Pp | ||||
This algorithm implements Integer Counter Mode. | This algorithm implements Integer Counter Mode. | ||||
This is similar to what most people call counter mode, but instead of the | This is similar to what most people call counter mode, but instead of the | ||||
counter being split into a nonce and a counter part, then entire nonce is | counter being split into a nonce and a counter part, then entire nonce is | ||||
used as the initial counter. | used as the initial counter. | ||||
Show All 31 Lines |
Might be better to document stream ciphers as stream ciphers, rather than the sort of confusing 1-byte block size? This is a section 7 manual page, not the implementation details of OCF.