"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "testsuite/ecdsa-sign-test.c" between
nettle-3.7.1.tar.gz and nettle-3.7.2.tar.gz

About: Nettle is a low-level cryptographic library.

ecdsa-sign-test.c  (nettle-3.7.1):ecdsa-sign-test.c  (nettle-3.7.2)
skipping to change at line 61 skipping to change at line 61
free (scratch); free (scratch);
dsa_signature_clear (&ref); dsa_signature_clear (&ref);
mpz_clear (k); mpz_clear (k);
mpz_clear (z); mpz_clear (z);
} }
void void
test_main (void) test_main (void)
{ {
/* Producing the signature for corresponding test in
ecdsa-verify-test.c, with special u1 and u2. */
test_ecdsa (&_nettle_secp_224r1,
"99b5b787484def12894ca507058b3bf5"
"43d72d82fa7721d2e805e5e6",
"2",
SHEX("cdb887ac805a3b42e22d224c85482053"
"16c755d4a736bb2032c92553"),
"706a46dc76dcb76798e60e6d89474788"
"d16dc18032d268fd1a704fa6", /* r */
"3a41e1423b1853e8aa89747b1f987364"
"44705d6d6d8371ea1f578f2e"); /* s */
/* Test cases for the smaller groups, verified with a /* Test cases for the smaller groups, verified with a
proof-of-concept implementation done for Yubico AB. */ proof-of-concept implementation done for Yubico AB. */
test_ecdsa (&_nettle_secp_192r1, test_ecdsa (&_nettle_secp_192r1,
"DC51D3866A15BACDE33D96F992FCA99D" "DC51D3866A15BACDE33D96F992FCA99D"
"A7E6EF0934E70975", /* z */ "A7E6EF0934E70975", /* z */
"9E56F509196784D963D1C0A401510EE7" "9E56F509196784D963D1C0A401510EE7"
"ADA3DCC5DEE04B15", /* k */ "ADA3DCC5DEE04B15", /* k */
SHEX("BA7816BF8F01CFEA414140DE5DAE2223" SHEX("BA7816BF8F01CFEA414140DE5DAE2223"
 End of changes. 1 change blocks. 
0 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)