Home
last modified time | relevance | path

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

/php-src/ext/openssl/tests/
H A Dopenssl_private_decrypt_basic.phpt2 openssl_private_decrypt() tests
13 var_dump(openssl_private_decrypt($encrypted, $output, $privkey, OPENSSL_PKCS1_OAEP_PADDING));
15 var_dump(openssl_private_decrypt($encrypted, $output2, $wrong, OPENSSL_PKCS1_OAEP_PADDING));
17 var_dump(openssl_private_decrypt($wrong, $output3, $privkey, OPENSSL_PKCS1_OAEP_PADDING));
21 …var_dump(openssl_private_decrypt($encrypted, $output4, array($privkey), OPENSSL_PKCS1_OAEP_PADDING…
27 var_dump(openssl_private_decrypt($encrypted, $output5, array($privkey, ""), OPENSSL_PKCS1_OAEP_PADD…
34 Warning: openssl_private_decrypt(): key parameter is not a valid private key in %s on line %d
H A Dopenssl_public_encrypt_basic.phpt24 openssl_private_decrypt($encrypted, $output, $privkey);
H A Dopenssl_error_string_basic_openssl3.phpt121 @openssl_private_decrypt("data", $crypted, $private_key_file, OPENSSL_PKCS1_OAEP_PADDING);
122 expect_openssl_errors('openssl_private_decrypt', ['02000079']);
171 openssl_private_decrypt: ok
H A Dopenssl_error_string_basic.phpt120 @openssl_private_decrypt("data", $crypted, $private_key_file, OPENSSL_PKCS1_OAEP_PADDING);
121 expect_openssl_errors('openssl_private_decrypt', ['04099079']);
175 openssl_private_decrypt: ok
H A Dbug81713.phpt59 ["openssl_private_decrypt", "test", &$out, $priv_key_file_null],
153 openssl_private_decrypt(): Argument #3 ($private_key) must not contain any null bytes
/php-src/ext/openssl/
H A Dopenssl.stub.php586 function openssl_private_decrypt(string $data, #[\SensitiveParameter] &$decrypted_data, #[\Sensitiv…
H A Dopenssl_arginfo.h442 ZEND_FUNCTION(openssl_private_decrypt);
514 ZEND_FE(openssl_private_decrypt, arginfo_openssl_private_decrypt)
H A Dopenssl.c6953 PHP_FUNCTION(openssl_private_decrypt) in PHP_FUNCTION() argument

Completed in 27 milliseconds