From: Niels Möller Date: Sat, 25 Mar 2023 16:24:43 +0000 (+0100) Subject: New constant OCB_MAX_NONCE_SIZE. X-Git-Tag: nettle_3.9_release_20230514~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b45098af05dde848b98d99a336bc4740dbddc03;p=thirdparty%2Fnettle.git New constant OCB_MAX_NONCE_SIZE. --- diff --git a/ChangeLog b/ChangeLog index c48b823d..07f7bb84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-03-25 Niels Möller + + * ocb.h (OCB_MAX_NONCE_SIZE): New constant. + 2023-02-16 Niels Möller * x86_64/sha256-compress-n.asm: Fix incorrect w64 setup. Report diff --git a/ocb.h b/ocb.h index 8d79cdf6..dbcf4c8a 100644 --- a/ocb.h +++ b/ocb.h @@ -62,6 +62,7 @@ extern "C" { #define OCB_BLOCK_SIZE 16 #define OCB_DIGEST_SIZE 16 +#define OCB_MAX_NONCE_SIZE 15 struct ocb_key { /* L_*, L_$ and L_0, and one reserved entry */