security/nss/cmd/pk11gcmtest/tests/README

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 The GCM test vectors in this directory were downloaded from the NIST
michael@0 2 Cryptographic Algorithm Validation Program (CAVP) website
michael@0 3 (http://csrc.nist.gov/groups/STM/cavp/) on Mar 29, 2013 using the URL
michael@0 4 http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip.
michael@0 5
michael@0 6 The original test files are about 3 MB each, which are too big to
michael@0 7 include in the NSS source tree. I observed the following patterns in
michael@0 8 the test vectors:
michael@0 9 1. Taglen changes in a cycle of 7: 128, 120, 112, 104, 96, 64, 32.
michael@0 10 2. Then, AADlen changes in a cycle of 5: 0, 128, 160, 384, 720.
michael@0 11
michael@0 12 To reduce the number of test vectors, I kept Taglen = 128, 96 from
michael@0 13 each cycle of 7, and kept AADlen = 0, 720, 160 from each two cycles
michael@0 14 of 10.

mercurial