Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-06-21 07:44:38 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-06-21 07:44:38 +0400
commitb6d9ec90e16e8d86a6f99fc6c18fff9a3dba1e5a (patch)
treeb5be291cc9a637f29f87c3918243d6705df77663
parent511c65cf61d57ebb7625ac263e13d17fafaf17e5 (diff)
Update docs regarding GCM/GMAC small tag support
-rw-r--r--docs/releasenotes.html1
-rw-r--r--docs/specifications.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/releasenotes.html b/docs/releasenotes.html
index ee733492..f413ef2e 100644
--- a/docs/releasenotes.html
+++ b/docs/releasenotes.html
@@ -37,6 +37,7 @@ Release 1.51
<li>Support has been add for RFC5649 key wrapping using AES.</li>
<li>The PGP API now allows access and handling of User IDs as raw byte arrays, to deal with keyrings not using UTF-8.</li>
<li>The PGP API now provides automatic conversion of embedded signatures in signature sub-packet vectors.</li>
+<li>GCM and GMAC now support tag lengths down to 32 bits.</li>
</ul>
<h3>2.1.4 Notes</h3>
<ul>
diff --git a/docs/specifications.html b/docs/specifications.html
index 0deaa595..89582ab0 100644
--- a/docs/specifications.html
+++ b/docs/specifications.html
@@ -317,7 +317,7 @@ implementations
<tr><td><b>CBCBlockCipherMac</b></td><td>blocksize/2 unless specified</td><td>&nbsp;</td></tr>
<tr><td><b>CFBBlockCipherMac</b></td><td>blocksize/2, in CFB 8 mode, unless specified</td><td>&nbsp;</td></tr>
<tr><td><b>CMac</b></td><td>24 to 128 bits</td><td>Usable with block ciphers, NIST SP 800-38B.</td></tr>
-<tr><td><b>GMac</b></td><td>96 to 128 bits</td><td>Usable with GCM mode ciphers, defined for AES, NIST SP 800-38D.</td></tr>
+<tr><td><b>GMac</b></td><td>32 to 128 bits</td><td>Usable with GCM mode ciphers, defined for AES, NIST SP 800-38D.</td></tr>
<tr><td><b>GOST28147Mac</b></td><td>32 bits</td><td>&nbsp;</td></tr>
<tr><td><b>ISO9797Alg3Mac</b></td><td>multiple of 8 bits up to underlying cipher size.</td><td>&nbsp;</td></tr>
<tr><td><b>HMac</b></td><td>digest length</td><td>&nbsp;</td></tr>
@@ -699,7 +699,7 @@ change as the draft is finalised.
<table cellpadding=5 cellspacing=0 border=1 width=80%>
<tr><th>Name</th><th>Output (in bits)</th><th>Notes</th></tr>
<tr><td>Any MAC based on a block cipher, CBC (the default) and CFB modes.</td><td>half the cipher's block size (usually 32 bits)</td><td>&nbsp;</td></tr>
-<tr><td>*-GMAC</td><td>96 to 128 bits</td><td>Usable with GCM mode ciphers, defined for AES, NIST SP 800-38D. e.g. AES-GMAC.</td></tr>
+<tr><td>*-GMAC</td><td>32 to 128 bits</td><td>Usable with GCM mode ciphers, defined for AES, NIST SP 800-38D. e.g. AES-GMAC.</td></tr>
<tr><td>VMPC-MAC</td><td>128</td><td>&nbsp;</td></tr>
<tr><td>HMac-MD2</td><td>128</td><td>&nbsp;</td></tr>
<tr><td>HMac-MD4</td><td>128</td><td>&nbsp;</td></tr>