diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-06 15:29:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-06 15:29:10 +0100 |
commit | f01ab79015e1425a9c0cdede4bce0825d4c8c65b (patch) | |
tree | 429bf85b3712cd51d83a6d38e23bbee8051ab628 /src/util | |
parent | c3e244322b6b7234c0234471b07d67bf6a210b91 (diff) |
RSA-despecialization
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/crypto.c | 15 | ||||
-rw-r--r-- | src/util/denom.c | 10 |
2 files changed, 5 insertions, 20 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c index ed32f31df..2c81554b9 100644 --- a/src/util/crypto.c +++ b/src/util/crypto.c @@ -305,21 +305,6 @@ TALER_refresh_get_commitment (struct TALER_RefreshCommitmentP *rc, } -enum GNUNET_GenericReturnValue -TALER_rsa_blind (const struct TALER_CoinPubHash *hash, - const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, - struct GNUNET_CRYPTO_RsaPublicKey *pkey, - void **buf, - size_t *buf_size) -{ - return GNUNET_CRYPTO_rsa_blind (&hash->hash, - bks, - pkey, - buf, - buf_size); -} - - void TALER_coin_ev_hash (const void *coin_ev, size_t coin_ev_size, diff --git a/src/util/denom.c b/src/util/denom.c index 4f1fc8e59..d159b21bf 100644 --- a/src/util/denom.c +++ b/src/util/denom.c @@ -230,11 +230,11 @@ TALER_denom_blind (const struct TALER_DenominationPublicKey *dk, TALER_coin_pub_hash (coin_pub, c_hash); if (GNUNET_YES != - TALER_rsa_blind (c_hash, - &coin_bks->rsa_bks, - dk->details.rsa_public_key, - coin_ev, - coin_ev_size)) + GNUNET_CRYPTO_rsa_blind (&c_hash->hash, + &coin_bks->rsa_bks, + dk->details.rsa_public_key, + coin_ev, + coin_ev_size)) { GNUNET_break (0); return GNUNET_SYSERR; |