diff options
author | Wan-Teh Chang <wtc@google.com> | 2013-03-25 17:20:01 -0700 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2013-03-25 17:20:01 -0700 |
commit | 4e9d4d785d3344b1cf91e232b322329e5280fd18 (patch) | |
tree | b26c9107d4f68500dfd4f4e1b7b54d36ce281b69 | |
parent | 08f637202db0ad452fd30f61cb78641abe417134 (diff) | |
download | nss-hg-4e9d4d785d3344b1cf91e232b322329e5280fd18.tar.gz |
Bug 853285: Add the test files for AES GCM Test Cases 1, 7, 13
(the files are numbered 0, 6, 12). TBR=rrelyea.
-rw-r--r-- | cmd/bltest/tests/aes_gcm/aad0 | 0 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/aad12 | 0 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/aad6 | 0 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/ciphertext0 | 1 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/ciphertext12 | 1 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/ciphertext6 | 1 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/iv0 | bin | 0 -> 12 bytes | |||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/iv12 | bin | 0 -> 12 bytes | |||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/iv6 | bin | 0 -> 12 bytes | |||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/key0 | bin | 0 -> 16 bytes | |||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/key12 | bin | 0 -> 32 bytes | |||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/key6 | bin | 0 -> 24 bytes | |||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/plaintext0 | 0 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/plaintext12 | 0 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/plaintext6 | 0 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/test0.txt | 11 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/test12.txt | 11 | ||||
-rw-r--r-- | cmd/bltest/tests/aes_gcm/test6.txt | 11 |
18 files changed, 36 insertions, 0 deletions
diff --git a/cmd/bltest/tests/aes_gcm/aad0 b/cmd/bltest/tests/aes_gcm/aad0 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/aad0 diff --git a/cmd/bltest/tests/aes_gcm/aad12 b/cmd/bltest/tests/aes_gcm/aad12 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/aad12 diff --git a/cmd/bltest/tests/aes_gcm/aad6 b/cmd/bltest/tests/aes_gcm/aad6 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/aad6 diff --git a/cmd/bltest/tests/aes_gcm/ciphertext0 b/cmd/bltest/tests/aes_gcm/ciphertext0 new file mode 100644 index 000000000..3b352147b --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/ciphertext0 @@ -0,0 +1 @@ +WOL8zvp+MGE2fx1XpOdFWg==
diff --git a/cmd/bltest/tests/aes_gcm/ciphertext12 b/cmd/bltest/tests/aes_gcm/ciphertext12 new file mode 100644 index 000000000..b756f5c56 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/ciphertext12 @@ -0,0 +1 @@ +Uw+K+8dFNrmpY7TxxMtziw==
diff --git a/cmd/bltest/tests/aes_gcm/ciphertext6 b/cmd/bltest/tests/aes_gcm/ciphertext6 new file mode 100644 index 000000000..dc07bfd3f --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/ciphertext6 @@ -0,0 +1 @@ +zTOyisdz90ugDtHzElckNQ==
diff --git a/cmd/bltest/tests/aes_gcm/iv0 b/cmd/bltest/tests/aes_gcm/iv0 Binary files differnew file mode 100644 index 000000000..ce58bc9f8 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/iv0 diff --git a/cmd/bltest/tests/aes_gcm/iv12 b/cmd/bltest/tests/aes_gcm/iv12 Binary files differnew file mode 100644 index 000000000..ce58bc9f8 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/iv12 diff --git a/cmd/bltest/tests/aes_gcm/iv6 b/cmd/bltest/tests/aes_gcm/iv6 Binary files differnew file mode 100644 index 000000000..ce58bc9f8 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/iv6 diff --git a/cmd/bltest/tests/aes_gcm/key0 b/cmd/bltest/tests/aes_gcm/key0 Binary files differnew file mode 100644 index 000000000..01d633b27 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/key0 diff --git a/cmd/bltest/tests/aes_gcm/key12 b/cmd/bltest/tests/aes_gcm/key12 Binary files differnew file mode 100644 index 000000000..4e4e49357 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/key12 diff --git a/cmd/bltest/tests/aes_gcm/key6 b/cmd/bltest/tests/aes_gcm/key6 Binary files differnew file mode 100644 index 000000000..4ac5fc6cf --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/key6 diff --git a/cmd/bltest/tests/aes_gcm/plaintext0 b/cmd/bltest/tests/aes_gcm/plaintext0 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/plaintext0 diff --git a/cmd/bltest/tests/aes_gcm/plaintext12 b/cmd/bltest/tests/aes_gcm/plaintext12 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/plaintext12 diff --git a/cmd/bltest/tests/aes_gcm/plaintext6 b/cmd/bltest/tests/aes_gcm/plaintext6 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/plaintext6 diff --git a/cmd/bltest/tests/aes_gcm/test0.txt b/cmd/bltest/tests/aes_gcm/test0.txt new file mode 100644 index 000000000..a8bd4e15f --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/test0.txt @@ -0,0 +1,11 @@ +test="Test Case 1" +K=00000000000000000000000000000000 +P= +IV=000000000000000000000000 +H=66e94bd4ef8a2c3b884cfa59ca342b2e +Y0=00000000000000000000000000000001 +E(K,Y0)=58e2fccefa7e3061367f1d57a4e7455a +len(A)||len(C)=00000000000000000000000000000000 +GHASH(H,A,C)=00000000000000000000000000000000 +C= +T=58e2fccefa7e3061367f1d57a4e7455a diff --git a/cmd/bltest/tests/aes_gcm/test12.txt b/cmd/bltest/tests/aes_gcm/test12.txt new file mode 100644 index 000000000..b9ccfa86a --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/test12.txt @@ -0,0 +1,11 @@ +test="Test Case 13" +K=0000000000000000000000000000000000000000000000000000000000000000 +P= +IV=000000000000000000000000 +H=dc95c078a2408989ad48a21492842087 +Y0=00000000000000000000000000000001 +E(K,Y0)=530f8afbc74536b9a963b4f1c4cb738b +len(A)||len(C)=00000000000000000000000000000000 +GHASH(H,A,C)=00000000000000000000000000000000 +C= +T=530f8afbc74536b9a963b4f1c4cb738b diff --git a/cmd/bltest/tests/aes_gcm/test6.txt b/cmd/bltest/tests/aes_gcm/test6.txt new file mode 100644 index 000000000..b738e1f05 --- /dev/null +++ b/cmd/bltest/tests/aes_gcm/test6.txt @@ -0,0 +1,11 @@ +test="Test Case 7" +K=000000000000000000000000000000000000000000000000 +P= +IV=000000000000000000000000 +H=aae06992acbf52a3e8f4a96ec9300bd7 +Y0=00000000000000000000000000000001 +E(K,Y0)=cd33b28ac773f74ba00ed1f312572435 +len(A)||len(C)=00000000000000000000000000000000 +GHASH(H,A,C)=00000000000000000000000000000000 +C= +T=cd33b28ac773f74ba00ed1f312572435 |