Home
last modified time | relevance | path

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

/PHP-7.0/ext/mcrypt/tests/
H A Dbug72535.phpt7 $passphrase = 'My secret';
10 $iv = substr(md5('iv' . $passphrase, true), 0, 8);
11 $key = substr(md5('pass1' . $passphrase, true) .
12 md5('pass2' . $passphrase, true), 0, 24);
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-7.0/ext/openssl/tests/
H A D001.phpt18 $passphrase = "banana";
25 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf) or die("failed to export …
30 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
39 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
49 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
H A Dopenssl_free_key.phpt31 $passphrase = "banana";
38 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase, $conf) or die("failed to export …
42 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
51 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
61 $loaded_key = openssl_pkey_get_private($key_content, $passphrase);
H A Dopenssl_pkey_export_basic.phpt22 // Export key with passphrase
23 openssl_pkey_export($key, $output, 'passphrase', $config_arg);
25 $details = openssl_pkey_get_details(openssl_pkey_get_private($output, 'passphrase'));
H A Dbug69215.phpt14 'passphrase' => 'elephpant',
32 'passphrase' => 'elephpant',
H A Dbug68879.phpt14 'passphrase' => 'elephpant',
H A Dbug68265.phpt14 'passphrase' => 'elephpant',
/PHP-7.0/ext/openssl/
H A Dopenssl.c240 ZEND_ARG_INFO(0, passphrase)
247 ZEND_ARG_INFO(0, passphrase)
261 ZEND_ARG_INFO(0, passphrase)
3531 passphrase = Z_STRVAL_P(zphrase); in php_openssl_evp_from_zval()
3536 passphrase = Z_STRVAL(tmp); in php_openssl_evp_from_zval()
3636 if (passphrase == NULL) { in php_openssl_evp_from_zval()
3640 password.key = passphrase; in php_openssl_evp_from_zval()
4100 char * passphrase = NULL; in PHP_FUNCTION() local
4132 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4201 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
[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.
H A Dxp_ssl.c576 char *passphrase = NULL; in passwd_callback() local
579 GET_VER_OPT_STRING("passphrase", passphrase); in passwd_callback()
581 if (passphrase) { in passwd_callback()

Completed in 48 milliseconds