Skip to content
Snippets Groups Projects
Commit 6174ed41 authored by Niels Möller's avatar Niels Möller
Browse files

* testsuite/gcm-test.c (test_main): Enabled testcases 5 and 6,

with different IV lengths.

Rev: nettle/testsuite/gcm-test.c:1.3
parent 3e19f3bc
No related branches found
No related tags found
No related merge requests found
...@@ -113,8 +113,6 @@ test_main(void) ...@@ -113,8 +113,6 @@ test_main(void)
HL("cafebabefacedbaddecaf888"), HL("cafebabefacedbaddecaf888"),
H("5bc94fbc3221a5db94fae95ae7121a47")); H("5bc94fbc3221a5db94fae95ae7121a47"));
#if 0
/* Unsupported IV size. */
/* Test case 5 */ /* Test case 5 */
test_gcm_aes(HL("feffe9928665731c6d6a8f9467308308"), test_gcm_aes(HL("feffe9928665731c6d6a8f9467308308"),
HL("feedfacedeadbeeffeedfacedeadbeef" HL("feedfacedeadbeeffeedfacedeadbeef"
...@@ -123,11 +121,11 @@ test_main(void) ...@@ -123,11 +121,11 @@ test_main(void)
"86a7a9531534f7da2e4c303d8a318a72" "86a7a9531534f7da2e4c303d8a318a72"
"1c3c0c95956809532fcf0e2449a6b525" "1c3c0c95956809532fcf0e2449a6b525"
"b16aedf5aa0de657ba637b39"), "b16aedf5aa0de657ba637b39"),
HL("cafebabefacedbad"),
H("61353b4c2806934a777ff51fa22a4755" H("61353b4c2806934a777ff51fa22a4755"
"699b2a714fcdc6f83766e5f97b6c7423" "699b2a714fcdc6f83766e5f97b6c7423"
"73806900e49f24b22b097544d4896b42" "73806900e49f24b22b097544d4896b42"
"4989b5e1ebac0f07c23f4598"), "4989b5e1ebac0f07c23f4598"),
HL("cafebabefacedbad"),
H("3612d2e79e3b0785561be14aaca2fccb")); H("3612d2e79e3b0785561be14aaca2fccb"));
/* Test case 6 */ /* Test case 6 */
...@@ -149,7 +147,6 @@ test_main(void) ...@@ -149,7 +147,6 @@ test_main(void)
H("619cc5aefffe0bfa462af43c1699d050")); H("619cc5aefffe0bfa462af43c1699d050"));
#endif
SUCCESS(); SUCCESS();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment