1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

a second snapshot thsi day (1.0.4f)

This commit is contained in:
Werner Koch 2001-03-27 18:13:44 +00:00
parent 70c4c054cd
commit f0b82cd352
26 changed files with 1798 additions and 1744 deletions

View file

@ -273,6 +273,9 @@ check_secret_key( DSA_secret_key *sk )
/****************
* Make a DSA signature from HASH and put it into r and s.
*
* Without generating the k this function runs in
* about 26ms on a 300 Mhz Mobile Pentium
*/
static void
@ -307,6 +310,9 @@ sign(MPI r, MPI s, MPI hash, DSA_secret_key *skey )
/****************
* Returns true if the signature composed from R and S is valid.
*
* Without the checks this function runs in
* about 31ms on a 300 Mhz Mobile Pentium
*/
static int
verify(MPI r, MPI s, MPI hash, DSA_public_key *pkey )