diff options
author | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-01-22 16:22:32 +0100 |
---|---|---|
committer | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-01-22 16:22:32 +0100 |
commit | b119131873822fa50fbe94d1a09132fa31d3bc3a (patch) | |
tree | 4fc859f152b6baec9978dd7a2202044b81323a23 /src/include | |
parent | ce9da7f183f5f00b99e460b171291d6a028c53f2 (diff) | |
download | exchange-b119131873822fa50fbe94d1a09132fa31d3bc3a.tar.gz exchange-b119131873822fa50fbe94d1a09132fa31d3bc3a.tar.bz2 exchange-b119131873822fa50fbe94d1a09132fa31d3bc3a.zip |
Remove TALER_RSA_hash_sign() and TALER_RSA_hash_verify().
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_rsa.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/include/taler_rsa.h b/src/include/taler_rsa.h index 1d263ae09..98be63372 100644 --- a/src/include/taler_rsa.h +++ b/src/include/taler_rsa.h @@ -229,7 +229,8 @@ TALER_RSA_public_key_from_string (const char *enc, /** - * Sign a given block.h + * Sign a given data block. The size of the message should be less than + * TALER_RSA_DATA_ENCODING_LENGTH (256) bytes. * * @param key private key to use for the signing * @param msg the message @@ -245,21 +246,8 @@ TALER_RSA_sign (const struct TALER_RSA_PrivateKey *key, /** - * Verify signature with the given hash. - * - * @param hash the hash code to verify against the signature - * @param sig signature that is being validated - * @param publicKey public key of the signer - * @returns GNUNET_OK if ok, GNUNET_SYSERR if invalid - */ -int -TALER_RSA_hash_verify (const struct GNUNET_HashCode *hash, - const struct TALER_RSA_Signature *sig, - const struct TALER_RSA_PublicKeyBinaryEncoded *publicKey); - - -/** - * Verify signature on the given message + * Verify signature on the given message. The size of the message should be + * less than TALER_RSA_DATA_ENCODING_LENGTH (256) bytes. * * @param msg the message * @param size the size of the message |