Home
last modified time | relevance | path

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

/php-src/ext/openssl/tests/
H A Dopenssl_private_encrypt_basic.phpt2 openssl_private_encrypt() tests
7 $data = "Testing openssl_private_encrypt()";
19 var_dump(openssl_private_encrypt($data, $encrypted, $privkey));
20 var_dump(openssl_private_encrypt($data, $encrypted, $pubkey));
21 var_dump(openssl_private_encrypt($data, $encrypted, $wrong));
22 var_dump(openssl_private_encrypt($data, $encrypted, $obj));
23 var_dump(openssl_private_encrypt($obj, $encrypted, $privkey));
30 Warning: openssl_private_encrypt(): key param is not a valid private key in %s on line %d
33 Warning: openssl_private_encrypt(): key param is not a valid private key in %s on line %d
36 Warning: openssl_private_encrypt(): key param is not a valid private key in %s on line %d
H A Dopenssl_public_decrypt_basic.phpt12 openssl_private_encrypt($data, $encrypted, $privkey);
H A Dopenssl_error_string_basic_openssl3.phpt118 @openssl_private_encrypt("data", $crypted, $private_key_file, 1000);
119 expect_openssl_errors('openssl_private_encrypt', ['1C8000A5']);
170 openssl_private_encrypt: ok
H A Dopenssl_error_string_basic.phpt117 @openssl_private_encrypt("data", $crypted, $private_key_file, 1000);
118 expect_openssl_errors('openssl_private_encrypt', ['0408F090']);
174 openssl_private_encrypt: ok
H A Dbug81713.phpt58 ["openssl_private_encrypt", "test", &$out, $priv_key_file_null],
152 openssl_private_encrypt(): Argument #3 ($private_key) must not contain any null bytes
/php-src/ext/openssl/
H A Dopenssl.stub.php580 function openssl_private_encrypt(#[\SensitiveParameter] string $data, &$encrypted_data, #[\Sensitiv…
H A Dopenssl_arginfo.h441 ZEND_FUNCTION(openssl_private_encrypt);
513 ZEND_FE(openssl_private_encrypt, arginfo_openssl_private_encrypt)
H A Dopenssl.c6904 PHP_FUNCTION(openssl_private_encrypt) in PHP_FUNCTION() argument

Completed in 36 milliseconds