libtc
20160415
Threshold Cryptography functions library
|
Go to the source code of this file.
Functions | |
int | tc_rsa_verify (bytes_t *signature, bytes_t *doc, key_metainfo_t *info, tc_hash_type_t hashtype) |
int tc_rsa_verify | ( | bytes_t * | signature, |
bytes_t * | doc, | ||
key_metainfo_t * | info, | ||
tc_hash_type_t | hashtype | ||
) |
Function that verifies a standard RSA signature using the PKCS1 padding. Should be used only for testing purposed.
[in] | the | signature to be verified. |
[in] | the | signed document. |
[in] | the | metainfo of the key shares array. |
[in] | the | hash function used in the PKCS1 padding. |
Definition at line 14 of file algorithms_rsa_verify.c.