]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fixes to OCB documentation.
authorJustus Winter <justus@sequoia-pgp.org>
Tue, 9 May 2023 05:49:54 +0000 (07:49 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 9 May 2023 05:49:54 +0000 (07:49 +0200)
nettle.texinfo

index e26d7187184c0508fdc5c77c9d9edae1fc15f670..a73f16358aa122af7cc58ab693ec2d871f84aa57 100644 (file)
@@ -3779,23 +3779,23 @@ each message @emph{must} use a length that is a multiple of the block
 size.
 @end deftypefun
 
-@deftypefun void ocb_aes128_encrypt(struct ocb_ctx *@var{ctx}, const struct ocb_aes128_encrypt_key *@var{key}, size_t @var{length}, uint8_t *@var{dst}, const uint8_t *@var{src})
+@deftypefun void ocb_aes128_encrypt (struct ocb_ctx *@var{ctx}, const struct ocb_aes128_encrypt_key *@var{key}, size_t @var{length}, uint8_t *@var{dst}, const uint8_t *@var{src})
 Encrypts the data of a message. All but the last call for each message
 @emph{must} use a length that is a multiple of the block size.
 @end deftypefun
 
-@deftypefun void ocb_aes128_decrypt(struct ocb_ctx *@var{ctx}, const struct ocb_aes128_encrypt_key *@var{key}, const struct aes128_ctx *@var{decrypt}, size_t @var{length}, uint8_t *@var{dst}, const uint8_t *@var{src})
+@deftypefun void ocb_aes128_decrypt (struct ocb_ctx *@var{ctx}, const struct ocb_aes128_encrypt_key *@var{key}, const struct aes128_ctx *@var{decrypt}, size_t @var{length}, uint8_t *@var{dst}, const uint8_t *@var{src})
 Decrypts the data of a message. @var{decrypt} is an AES context
 initialized for decryption using the same key. All but the last call for
 each message @emph{must} use a length that is a multiple of the block
 size.
 @end deftypefun
 
-@deftypefun void ocb_aes128_digest(struct ocb_ctx *@var{ctx}, const struct ocb_aes128_encrypt_key *@var{key}, size_t @var{length}, uint8_t *@var{digest})
+@deftypefun void ocb_aes128_digest (struct ocb_ctx *@var{ctx}, const struct ocb_aes128_encrypt_key *@var{key}, size_t @var{length}, uint8_t *@var{digest})
 Extracts the message digest (also known ``authentication tag''). This is
 the final operation when processing a message. The @var{length} value
 @emph{should} be the same as the tag length passed to the preceding
-@code{ocb_set_nonce} call (using a different length is possible, but
+@code{ocb_aes128_set_nonce} call (using a different length is possible, but
 incompatible with @cite{RFC 7253}).
 @end deftypefun