Lines Matching refs:siglen
288 unsigned char *sigret, unsigned int *siglen, RSA *rsa) in RSA_sign() argument
297 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa) > 0; in RSA_sign()
328 *siglen = encrypt_len; in RSA_sign()
347 const unsigned char *sigbuf, size_t siglen, RSA *rsa) in ossl_rsa_verify() argument
353 if (siglen != (size_t)RSA_size(rsa)) { in ossl_rsa_verify()
359 decrypt_buf = OPENSSL_malloc(siglen); in ossl_rsa_verify()
363 len = RSA_public_decrypt((int)siglen, sigbuf, decrypt_buf, rsa, in ossl_rsa_verify()
457 OPENSSL_clear_free(decrypt_buf, siglen); in ossl_rsa_verify()
462 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify() argument
466 return rsa->meth->rsa_verify(type, m, m_len, sigbuf, siglen, rsa); in RSA_verify()
468 return ossl_rsa_verify(type, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()