Lines Matching refs:m
243 const unsigned char *m, size_t m_len) in encode_pkcs1() argument
266 memcpy(dig_info + di_prefix_len, m, m_len); in encode_pkcs1()
273 int RSA_sign(int type, const unsigned char *m, unsigned int m_len, in RSA_sign() argument
283 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa); in RSA_sign()
298 encoded = m; in RSA_sign()
300 if (!encode_pkcs1(&tmps, &encoded_len, type, m, m_len)) in RSA_sign()
331 int ossl_rsa_verify(int type, const unsigned char *m, unsigned int m_len, in ossl_rsa_verify() argument
378 if (memcmp(decrypt_buf, m, SSL_SIG_LENGTH) != 0) { in ossl_rsa_verify()
398 if (memcmp(m, decrypt_buf + 2, 16) != 0) { in ossl_rsa_verify()
421 m = decrypt_buf + decrypt_len - m_len; in ossl_rsa_verify()
425 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in ossl_rsa_verify()
436 memcpy(rm, m, m_len); in ossl_rsa_verify()
449 int RSA_verify(int type, const unsigned char *m, unsigned int m_len, in RSA_verify() argument
454 return rsa->meth->rsa_verify(type, m, m_len, sigbuf, siglen, rsa); in RSA_verify()
456 return ossl_rsa_verify(type, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()