Lines Matching refs:m_len
243 const unsigned char *m, size_t m_len)
259 dig_info_len = di_prefix_len + m_len;
266 memcpy(dig_info + di_prefix_len, m, m_len);
273 int RSA_sign(int type, const unsigned char *m, unsigned int m_len,
283 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa) > 0;
293 if (m_len != SSL_SIG_LENGTH) {
300 if (!encode_pkcs1(&tmps, &encoded_len, type, m, m_len))
331 int ossl_rsa_verify(int type, const unsigned char *m, unsigned int m_len,
373 if (m_len != SSL_SIG_LENGTH) {
393 if (m_len != 16) {
416 m_len = (unsigned int)len;
417 if (m_len > decrypt_len) {
421 m = decrypt_buf + decrypt_len - m_len;
425 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len))
436 memcpy(rm, m, m_len);
437 *prm_len = m_len;
449 int RSA_verify(int type, const unsigned char *m, unsigned int m_len,
454 return rsa->meth->rsa_verify(type, m, m_len, sigbuf, siglen, rsa);
456 return ossl_rsa_verify(type, m, m_len, NULL, NULL, sigbuf, siglen, rsa);