[PATCH] Truncate hash values for ECDSA signature scheme

Werner Koch wk at gnupg.org
Mon Dec 16 18:03:10 CET 2013


On Mon, 16 Dec 2013 17:34, dbaryshkov at gmail.com said:
> * cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_sign, _gcry_ecc_ecdsa_verify):
>   as required by ECDSA scheme, truncate hash values to bitlength of
>   used curve.

Please explain and name the specs.  In particular I wonder about
truncating the less significant bits.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list