Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
b85125a8
Commit
b85125a8
authored
Jan 23, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for gcm tests.
parent
38597d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
ChangeLog
ChangeLog
+5
-0
testsuite/gcm-test.c
testsuite/gcm-test.c
+13
-13
No files found.
ChangeLog
View file @
b85125a8
2014-01-23 Niels Möller <nisse@lysator.liu.se>
* testsuite/gcm-test.c (test_main): Use the correct
nettle_gcm_aes128/192/256 object.
2014-01-21 Niels Möller <nisse@lysator.liu.se>
Merged camellia-reorg changes (starting at 2013-10-07).
...
...
testsuite/gcm-test.c
View file @
b85125a8
...
...
@@ -116,9 +116,9 @@ test_main(void)
"c3c0c95156809539fcf0e2429a6b5254"
"16aedbf5a0de6a57a637b39b"
),
SHEX
(
"619cc5aefffe0bfa462af43c1699d050"
));
/* Test case 7 */
test_aead
(
&
nettle_gcm_aes12
8
,
test_aead
(
&
nettle_gcm_aes1
9
2
,
SHEX
(
"00000000000000000000000000000000"
"0000000000000000"
),
SHEX
(
""
),
...
...
@@ -128,7 +128,7 @@ test_main(void)
SHEX
(
"cd33b28ac773f74ba00ed1f312572435"
));
/* Test case 8 */
test_aead
(
&
nettle_gcm_aes12
8
,
test_aead
(
&
nettle_gcm_aes1
9
2
,
SHEX
(
"00000000000000000000000000000000"
"0000000000000000"
),
SHEX
(
""
),
...
...
@@ -138,7 +138,7 @@ test_main(void)
SHEX
(
"2ff58d80033927ab8ef4d4587514f0fb"
));
/* Test case 9 */
test_aead
(
&
nettle_gcm_aes12
8
,
test_aead
(
&
nettle_gcm_aes1
9
2
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c"
),
SHEX
(
""
),
...
...
@@ -154,7 +154,7 @@ test_main(void)
SHEX
(
"9924a7c8587336bfb118024db8674a14"
));
/* Test case 10 */
test_aead
(
&
nettle_gcm_aes12
8
,
test_aead
(
&
nettle_gcm_aes1
9
2
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c"
),
SHEX
(
"feedfacedeadbeeffeedfacedeadbeef"
...
...
@@ -171,7 +171,7 @@ test_main(void)
SHEX
(
"2519498e80f1478f37ba55bd6d27618c"
));
/* Test case 11 */
test_aead
(
&
nettle_gcm_aes12
8
,
test_aead
(
&
nettle_gcm_aes1
9
2
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c"
),
SHEX
(
"feedfacedeadbeeffeedfacedeadbeef"
...
...
@@ -188,7 +188,7 @@ test_main(void)
SHEX
(
"65dcc57fcf623a24094fcca40d3533f8"
));
/* Test case 12 */
test_aead
(
&
nettle_gcm_aes12
8
,
test_aead
(
&
nettle_gcm_aes1
9
2
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c"
),
SHEX
(
"feedfacedeadbeeffeedfacedeadbeef"
...
...
@@ -208,7 +208,7 @@ test_main(void)
SHEX
(
"dcf566ff291c25bbb8568fc3d376a6d9"
));
/* Test case 13 */
test_aead
(
&
nettle_gcm_aes
128
,
test_aead
(
&
nettle_gcm_aes
256
,
SHEX
(
"00000000000000000000000000000000"
"00000000000000000000000000000000"
),
SHEX
(
""
),
...
...
@@ -218,7 +218,7 @@ test_main(void)
SHEX
(
"530f8afbc74536b9a963b4f1c4cb738b"
));
/* Test case 14 */
test_aead
(
&
nettle_gcm_aes
128
,
test_aead
(
&
nettle_gcm_aes
256
,
SHEX
(
"00000000000000000000000000000000"
"00000000000000000000000000000000"
),
SHEX
(
""
),
...
...
@@ -228,7 +228,7 @@ test_main(void)
SHEX
(
"d0d1c8a799996bf0265b98b5d48ab919"
));
/* Test case 15 */
test_aead
(
&
nettle_gcm_aes
128
,
test_aead
(
&
nettle_gcm_aes
256
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c6d6a8f9467308308"
),
SHEX
(
""
),
...
...
@@ -244,7 +244,7 @@ test_main(void)
SHEX
(
"b094dac5d93471bdec1a502270e3cc6c"
));
/* Test case 16 */
test_aead
(
&
nettle_gcm_aes
128
,
test_aead
(
&
nettle_gcm_aes
256
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c6d6a8f9467308308"
),
SHEX
(
"feedfacedeadbeeffeedfacedeadbeef"
...
...
@@ -261,7 +261,7 @@ test_main(void)
SHEX
(
"76fc6ece0f4e1768cddf8853bb2d551b"
));
/* Test case 17 */
test_aead
(
&
nettle_gcm_aes
128
,
test_aead
(
&
nettle_gcm_aes
256
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c6d6a8f9467308308"
),
SHEX
(
"feedfacedeadbeeffeedfacedeadbeef"
...
...
@@ -278,7 +278,7 @@ test_main(void)
SHEX
(
"3a337dbf46a792c45e454913fe2ea8f2"
));
/* Test case 18 */
test_aead
(
&
nettle_gcm_aes
128
,
test_aead
(
&
nettle_gcm_aes
256
,
SHEX
(
"feffe9928665731c6d6a8f9467308308"
"feffe9928665731c6d6a8f9467308308"
),
SHEX
(
"feedfacedeadbeeffeedfacedeadbeef"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment