diff options
author | Werner Koch <wk@gnupg.org> | 2008-03-17 18:08:15 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-03-17 18:08:15 +0000 |
commit | 37b298a02055e027b690e643fe149754727b79db (patch) | |
tree | 912a67ccd1acd0eb73cdff69d522d74b4c0aa3e0 /cipher/rsa.c | |
parent | 4126a0a6b6b4aa45de670052af9d6112789f8341 (diff) | |
download | libgcrypt-37b298a02055e027b690e643fe149754727b79db.tar.gz |
Better AES performance.
Diffstat (limited to 'cipher/rsa.c')
-rw-r--r-- | cipher/rsa.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cipher/rsa.c b/cipher/rsa.c index fe545c7a..0971eaa4 100644 --- a/cipher/rsa.c +++ b/cipher/rsa.c @@ -627,6 +627,13 @@ _gcry_rsa_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, pk.e = pkey[1]; result = gcry_mpi_new ( 160 ); public( result, data[0], &pk ); +#ifdef IS_DEVELOPMENT_VERSION + if (DBG_CIPHER) + { + log_mpidump ("rsa verify result:", result ); + log_mpidump (" hash:", hash ); + } +#endif /*IS_DEVELOPMENT_VERSION*/ /*rc = (*cmp)( opaquev, result );*/ rc = mpi_cmp (result, hash) ? GPG_ERR_BAD_SIGNATURE : GPG_ERR_NO_ERROR; gcry_mpi_release (result); |