Searched refs:ptext (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | rsa_test.c | 240 unsigned char ptext[256]; in test_rsa_simple() local 256 num = RSA_private_decrypt(num, ctext, ptext, key, de_pad_type); in test_rsa_simple() 258 if (!TEST_int_gt(num, 0) || !TEST_mem_eq(ptext, num, ptext_ex, plen)) in test_rsa_simple() 285 unsigned char ptext[256]; in test_rsa_oaep() local 300 num = RSA_private_decrypt(clen, ctext_ex, ptext, key, in test_rsa_oaep() 302 if (num <= 0 || !TEST_mem_eq(ptext, num, ptext_ex, plen)) in test_rsa_oaep() 308 num = RSA_private_decrypt(clen, ctext_ex, ptext, key, in test_rsa_oaep() 317 num = RSA_private_decrypt(n, ctext_ex, ptext, key, in test_rsa_oaep()
|
H A D | rsa_mp_test.c | 254 unsigned char ptext[256]; in test_rsa_mp() local 282 num = RSA_private_decrypt(num, ctext, ptext, key, RSA_PKCS1_PADDING); in test_rsa_mp() 283 if (!TEST_mem_eq(ptext, num, ptext_ex, plen)) in test_rsa_mp()
|
Completed in 7 milliseconds