diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | nettle.texinfo | 2 | ||||
-rw-r--r-- | ocb.h | 1 | ||||
-rw-r--r-- | x86_64/pclmul/ghash-set-key.asm | 1 | ||||
-rw-r--r-- | x86_64/pclmul/ghash-update.asm | 1 |
5 files changed, 15 insertions, 1 deletions
@@ -1,3 +1,14 @@ +2023-04-03 Niels Möller <nisse@lysator.liu.se> + + From Mamone Tarsha: + * x86_64/pclmul/ghash-update.asm: New loop to process two blocks + at a time. + * x86_64/pclmul/ghash-set-key.asm: Likewise. + +2023-03-25 Niels Möller <nisse@lysator.liu.se> + + * ocb.h (OCB_MAX_NONCE_SIZE): New constant. + 2023-02-16 Niels Möller <nisse@lysator.liu.se> * x86_64/sha256-compress-n.asm: Fix incorrect w64 setup. Report diff --git a/nettle.texinfo b/nettle.texinfo index 767ae718..10af86c3 100644 --- a/nettle.texinfo +++ b/nettle.texinfo @@ -5986,7 +5986,7 @@ The recommended generator to use is Yarrow, described below. Yarrow is a family of pseudo-randomness generators, designed for cryptographic use, by John Kelsey, Bruce Schneier and Niels Ferguson. Yarrow-160 is described in a paper at -@url{https://www.counterpane.com/yarrow.html}, and it uses @acronym{SHA1} +@url{https://www.schneier.com/academic/yarrow/}, and it uses @acronym{SHA1} and triple-DES, and has a 160-bit internal state. Nettle implements Yarrow-256, which is similar, but uses @acronym{SHA256} and @acronym{AES} to get an internal state of 256 bits. @@ -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 */ diff --git a/x86_64/pclmul/ghash-set-key.asm b/x86_64/pclmul/ghash-set-key.asm index 863ee244..2b680ce9 100644 --- a/x86_64/pclmul/ghash-set-key.asm +++ b/x86_64/pclmul/ghash-set-key.asm @@ -2,6 +2,7 @@ C x86_64/ghash-set-key.asm ifelse(` Copyright (C) 2022 Niels Möller + Copyright (C) 2023 Mamone Tarsha This file is part of GNU Nettle. diff --git a/x86_64/pclmul/ghash-update.asm b/x86_64/pclmul/ghash-update.asm index 67b8f111..917a1427 100644 --- a/x86_64/pclmul/ghash-update.asm +++ b/x86_64/pclmul/ghash-update.asm @@ -2,6 +2,7 @@ C x86_64/ghash-update.asm ifelse(` Copyright (C) 2022 Niels Möller + Copyright (C) 2023 Mamone Tarsha This file is part of GNU Nettle. |