Lines Matching defs:decrypt_buf
337 unsigned char *decrypt_buf = NULL, *encoded = NULL;
345 decrypt_buf = OPENSSL_malloc(siglen);
346 if (decrypt_buf == NULL) {
351 len = RSA_public_decrypt((int)siglen, sigbuf, decrypt_buf, rsa,
370 memcpy(rm, decrypt_buf, SSL_SIG_LENGTH);
378 if (memcmp(decrypt_buf, m, SSL_SIG_LENGTH) != 0) {
384 && decrypt_buf[0] == 0x04 && decrypt_buf[1] == 0x10) {
390 memcpy(rm, decrypt_buf + 2, 16);
398 if (memcmp(m, decrypt_buf + 2, 16) != 0) {
408 * of |decrypt_buf| for |encode_pkcs1|, then compare the decryption
421 m = decrypt_buf + decrypt_len - m_len;
429 || memcmp(encoded, decrypt_buf, encoded_len) != 0) {
445 OPENSSL_clear_free(decrypt_buf, siglen);