Lines Matching refs:m_len
32 const unsigned char *m, unsigned int m_len) in encode_pkcs1() argument
58 sig.digest->length = m_len; in encode_pkcs1()
69 int RSA_sign(int type, const unsigned char *m, unsigned int m_len, in RSA_sign() argument
77 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa); in RSA_sign()
87 if (m_len != SSL_SIG_LENGTH) { in RSA_sign()
94 if (!encode_pkcs1(&tmps, &encoded_len, type, m, m_len)) in RSA_sign()
124 int int_rsa_verify(int type, const unsigned char *m, unsigned int m_len, in int_rsa_verify() argument
163 if (m_len != SSL_SIG_LENGTH) { in int_rsa_verify()
183 if (m_len != 16) { in int_rsa_verify()
206 m_len = EVP_MD_size(md); in int_rsa_verify()
207 if (m_len > (size_t)decrypt_len) { in int_rsa_verify()
211 m = decrypt_buf + decrypt_len - m_len; in int_rsa_verify()
215 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in int_rsa_verify()
226 memcpy(rm, m, m_len); in int_rsa_verify()
227 *prm_len = m_len; in int_rsa_verify()
239 int RSA_verify(int type, const unsigned char *m, unsigned int m_len, in RSA_verify() argument
244 return rsa->meth->rsa_verify(type, m, m_len, sigbuf, siglen, rsa); in RSA_verify()
247 return int_rsa_verify(type, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()