Searched refs:passphrase (Results 1 – 11 of 11) sorted by relevance
/PHP-7.0/ext/mcrypt/tests/ |
H A D | bug72535.phpt | 7 $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 D | mcrypt_filters.phpt | 14 $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 D | 001.phpt | 18 $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 D | openssl_free_key.phpt | 31 $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 D | openssl_pkey_export_basic.phpt | 22 // 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 D | bug69215.phpt | 14 'passphrase' => 'elephpant', 32 'passphrase' => 'elephpant',
|
H A D | bug68879.phpt | 14 'passphrase' => 'elephpant',
|
H A D | bug68265.phpt | 14 'passphrase' => 'elephpant',
|
/PHP-7.0/ext/openssl/ |
H A D | openssl.c | 240 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 D | README | 33 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 D | xp_ssl.c | 576 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 39 milliseconds