Home
last modified time | relevance | path

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

/php-src/ext/openssl/tests/
H A Dopenssl_open_basic.phpt9 $priv_key = "file://" . __DIR__ . "/private_rsa_1024.key";
14 openssl_open($sealed, $output, $ekeys[0], $priv_key, $method);
18 openssl_open($sealed, $output3, $ekeys[2], $priv_key, $method);
20 openssl_open($sealed, $output4, $wrong, $priv_key, $method);
H A Dbug37820.phpt11 $priv_key = file_get_contents($file_key);
12 $priv_key_id = openssl_get_privatekey($priv_key);
H A Dbug73478.phpt10 …'priv_key' => base64_decode('jUdcV++P/m7oUodWiqKqKXZVenHRuj92Ig6Fmzs7QlqVdUc5mNBxmEWjug+ObffanPpOe…
16 printf("Private key:\n%s\n", base64_encode($data['dh']['priv_key']));
H A Dbug70438.phpt16 $priv_key = "file://" . __DIR__ . "/private_rsa_1024.key";
26 openssl_open($sealed, $decrypted, $ekeys[0], $priv_key, $cipher, $iv);
H A Dopenssl_pkey_new_basic.phpt88 var_dump(strlen($dsa_details['priv_key']));
106 var_dump(strlen($dh_details['priv_key']));
H A Dbug55259.phpt20 var_dump(strlen($details['dh']['priv_key']) > 0);
H A Decc.phpt75 var_dump(isset($pubkey1["ec"]["priv_key"]));
76 unset($d1["ec"]["priv_key"]);
H A Ded25519.phpt18 var_dump(strlen($d1["ed25519"]["priv_key"]) === 32);
38 unset($d1_pub["ed25519"]["priv_key"]);
H A Ded448.phpt18 var_dump(strlen($d1["ed448"]["priv_key"]) === 57);
38 unset($d1_pub["ed448"]["priv_key"]);
H A Decc_custom_params.phpt26 // EC - generate keypair from priv_key "d" with explicit parameters (OSCCA WAPIP192v1 Elliptic curv…
/php-src/ext/openssl/
H A Dopenssl.c380 *priv_key = dh->priv_key; in DH_get0_key()
386 dh->priv_key = priv_key; in DH_set0_key()
410 *priv_key = d->priv_key; in DSA_get0_key()
416 d->priv_key = priv_key; in DSA_set0_key()
646 EVP_PKEY * priv_key; member
4128 if (priv_key) { in php_openssl_pkey_init_dsa()
4166 BN_free(priv_key); in php_openssl_pkey_init_dsa()
4254 if (priv_key) { in php_openssl_pkey_init_legacy_dh()
4300 if (priv_key) { in php_openssl_pkey_init_dh()
4759 if (priv_key && Z_TYPE_P(priv_key) == IS_STRING && Z_STRLEN_P(priv_key) > 0) { in php_openssl_pkey_object_curve_25519_448()
[all …]

Completed in 41 milliseconds