Fixed RSA "i32" PKCS#1 v1.5 signature generation.

This commit is contained in:
Thomas Pornin 2016-12-31 16:19:12 +01:00
parent f9b85fee90
commit bf809dfae5
3 changed files with 79 additions and 14 deletions

View file

@ -310,7 +310,7 @@ typedef uint32_t (*br_rsa_private)(unsigned char *x,
* \param hash hash value.
* \param hash_len hash value length (in bytes).
* \param sk RSA private key.
* \param x output buffer for the hash value.
* \param x output buffer for the signature value.
* \return 1 on success, 0 on error.
*/
typedef uint32_t (*br_rsa_pkcs1_sign)(const unsigned char *hash_oid,