Searched refs:ptext (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/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()
|
/freebsd/libexec/phttpget/ |
H A D | phttpget.c | 68 b64enc(const char *ptext) in b64enc() argument 84 ptlen = strlen(ptext); in b64enc() 96 for (pt = ptext, pc = ctext; ptlen; ptlen -= 3, pc += 4) { in b64enc()
|