"Fossies" - the Fresh Open Source Software Archive  

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

About: Nettle is a low-level cryptographic library.

ecc-ecdsa-sign.c  (nettle-3.7.1):ecc-ecdsa-sign.c  (nettle-3.7.2)
skipping to change at line 94 skipping to change at line 94
ecc->h_to_a (ecc, 2, rp, P, P + 3*ecc->p.size); ecc->h_to_a (ecc, 2, rp, P, P + 3*ecc->p.size);
/* Invert k, uses up to 7 * ecc->p.size including scratch (for secp384). */ /* Invert k, uses up to 7 * ecc->p.size including scratch (for secp384). */
ecc->q.invert (&ecc->q, kinv, kp, tp); ecc->q.invert (&ecc->q, kinv, kp, tp);
/* Process hash digest */ /* Process hash digest */
ecc_hash (&ecc->q, hp, length, digest); ecc_hash (&ecc->q, hp, length, digest);
ecc_mod_mul (&ecc->q, tp, zp, rp, tp); ecc_mod_mul (&ecc->q, tp, zp, rp, tp);
ecc_mod_add (&ecc->q, hp, hp, tp); ecc_mod_add (&ecc->q, hp, hp, tp);
ecc_mod_mul (&ecc->q, tp, hp, kinv, tp); ecc_mod_mul_canonical (&ecc->q, sp, hp, kinv, tp);
mpn_copyi (sp, tp, ecc->p.size);
#undef P #undef P
#undef hp #undef hp
#undef kinv #undef kinv
#undef tp #undef tp
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

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