Home
last modified time | relevance | path

Searched refs:decrypt_buf (Results 1 – 1 of 1) sorted by relevance

/openssl/crypto/rsa/
H A Drsa_sign.c351 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()
[all …]

Completed in 5 milliseconds