summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-02-16 19:09:23 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-02-16 19:09:23 +0100
commit7dd199f6b8cb11881f4a5ad3577f48170924814e (patch)
treef80b29ab55c81610842411836332b040faab1ce2
parent3897fb2f9fa281efcd2fb4de5d0c6b3c2dde3082 (diff)
Update documentation for GCM and GMAC
-rw-r--r--NEWS6
-rw-r--r--README.org5
2 files changed, 8 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 4ef6698..0016bfa 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
-*- mode: outline -*-
+* Changes since version 0.54
+
+** new features
+
+GCM and GMAC can use initialization vectors with a size different from 12 bytes.
+
* Version 0.54, released 2021-01-06
** bug fixes
diff --git a/README.org b/README.org
index aa3a9c2..3d2e72e 100644
--- a/README.org
+++ b/README.org
@@ -718,8 +718,7 @@ notable exception of stream ciphers. /key/ must be an acceptable key for
/cipher-name/.
When making a GMAC, /cipher-name/ must have a [[block-length][block-length]] of 16. /key/ must be
-an acceptable key for /cipher-name/. The length of /initialization-vector/ must
-be 12 bytes.
+an acceptable key for /cipher-name/.
When making a Poly1305 MAC, the length of the /key/ passed to [[make-mac][make-mac]] must be
32 bytes.
@@ -857,7 +856,7 @@ When using ETM, /cipher/ must be a cipher object created by [[make-cipher][make-
/mac/ must be a mac object created by [[make-mac][make-mac]].
When using GCM, /cipher-name/ must have a [[block-length][block-length]] of 16 bytes. /key/ must be a suitable key
-for the chosen cipher. The length of /initialization-vector/ must be 12 bytes.
+for the chosen cipher.
#+NAME: process-associated-data