Lines Matching refs:decrypt_buf
351 unsigned char *decrypt_buf = NULL, *encoded = NULL; in ossl_rsa_verify() local
359 decrypt_buf = OPENSSL_malloc(siglen); in ossl_rsa_verify()
360 if (decrypt_buf == NULL) in ossl_rsa_verify()
363 len = RSA_public_decrypt((int)siglen, sigbuf, decrypt_buf, rsa, in ossl_rsa_verify()
382 memcpy(rm, decrypt_buf, SSL_SIG_LENGTH); in ossl_rsa_verify()
390 if (memcmp(decrypt_buf, m, SSL_SIG_LENGTH) != 0) { in ossl_rsa_verify()
396 && decrypt_buf[0] == 0x04 && decrypt_buf[1] == 0x10) { in ossl_rsa_verify()
402 memcpy(rm, decrypt_buf + 2, 16); in ossl_rsa_verify()
410 if (memcmp(m, decrypt_buf + 2, 16) != 0) { in ossl_rsa_verify()
433 m = decrypt_buf + decrypt_len - m_len; in ossl_rsa_verify()
441 || memcmp(encoded, decrypt_buf, encoded_len) != 0) { in ossl_rsa_verify()
457 OPENSSL_clear_free(decrypt_buf, siglen); in ossl_rsa_verify()