Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 The GCM test vectors in this directory were downloaded from the NIST
2 Cryptographic Algorithm Validation Program (CAVP) website
3 (http://csrc.nist.gov/groups/STM/cavp/) on Mar 29, 2013 using the URL
4 http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip.
6 The original test files are about 3 MB each, which are too big to
7 include in the NSS source tree. I observed the following patterns in
8 the test vectors:
9 1. Taglen changes in a cycle of 7: 128, 120, 112, 104, 96, 64, 32.
10 2. Then, AADlen changes in a cycle of 5: 0, 128, 160, 384, 720.
12 To reduce the number of test vectors, I kept Taglen = 128, 96 from
13 each cycle of 7, and kept AADlen = 0, 720, 160 from each two cycles
14 of 10.