Home
last modified time | relevance | path

Searched refs:passphrase (Results 1 – 7 of 7) sorted by relevance

/PHP-5.5/ext/mcrypt/tests/
H A Dmcrypt_filters.phpt14 $passphrase = 'My secret';
16 $iv = substr(md5('iv'.$passphrase, true), 0, 8);
17 $key = substr(md5('pass1'.$passphrase, true) .
18 md5('pass2'.$passphrase, true), 0, 24);
/PHP-5.5/ext/openssl/tests/
H A D001.phpt26 $passphrase = "banana";
33 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase) or die("failed to export to file…
37 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
46 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
56 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
H A Dbug46127.phpt18 // 'passphrase' => '',
/PHP-5.5/ext/openssl/
H A Dopenssl.c226 ZEND_ARG_INFO(0, passphrase)
233 ZEND_ARG_INFO(0, passphrase)
247 ZEND_ARG_INFO(0, passphrase)
2809 passphrase = Z_STRVAL_PP(zphrase); in php_openssl_evp_from_zval()
2814 passphrase = Z_STRVAL(tmp); in php_openssl_evp_from_zval()
3226 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
3281 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
3355 char * passphrase = ""; in PHP_FUNCTION() local
4651 char *passphrase = NULL; in passwd_callback() local
4654 GET_VER_OPT_STRING("passphrase", passphrase); in passwd_callback()
[all …]
H A DREADME33 allow you to enter the passphrase as a parameter you may use the syntax
34 array($key, "passphrase") where $key can be a key specified using one of the
56 resource openssl_get_privatekey(mixed key [, string passphrase])
59 encrypted a passphrase is needed. This can be supplied as second argument.
232 Private keys should be protected by a passphrase though.
/PHP-5.5/ext/ftp/tests/
H A Dserver.inc5 …eate(array('ssl' => array('local_cert' => dirname(__FILE__).'/cert.pem', 'passphrase' => 'pass')));
/PHP-5.5/
H A DNEWS7233 - Fixed crash in OpenSSL extension because of non-string passphrase. (Dmitry)

Completed in 41 milliseconds