Home
last modified time | relevance | path

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

/PHP-7.2/ext/openssl/tests/
H A Dbug70438.phpt14 $pub_key = "file://" . dirname(__FILE__) . "/public.key";
17 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher);
18 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), 'sparkles', $iv);
19 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher, $iv);
H A Dopenssl_open_basic.phpt8 $pub_key = "file://" . dirname(__FILE__) . "/public.key";
12 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key, $pub_key));
H A Dopenssl_seal_basic.phpt20 $pub_key = "file://" . dirname(__FILE__) . "/public.key";
23 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key))); // no output
24 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key))); // no output
25 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $wrong)));
26 var_dump(openssl_seal($data, $sealed, $ekeys, $pub_key));
H A Dbug37820.phpt17 $pub_key = file_get_contents($file_pub);
18 $pub_key_id = openssl_get_publickey($pub_key);
H A Dopenssl_pkey_new_basic.phpt73 var_dump(strlen($dsa_details['pub_key']));
89 var_dump(strlen($dh_details['pub_key']));
H A Dbug55259.phpt19 var_dump(strlen($details['dh']['pub_key']) > 0);
H A Dbug73478.phpt17 printf("Public key:\n%s\n", base64_encode($data['dh']['pub_key']));
/PHP-7.2/ext/openssl/
H A Dopenssl.c639 *pub_key = dh->pub_key; in DH_get0_key()
645 dh->pub_key = pub_key; in DH_set0_key()
669 *pub_key = d->pub_key; in DSA_get0_key()
675 d->pub_key = pub_key; in DSA_set0_key()
4190 if (pub_key) { in php_openssl_pkey_init_dsa()
4226 BN_free(pub_key); in php_openssl_dh_pub_from_priv()
4232 BN_free(pub_key); in php_openssl_dh_pub_from_priv()
4241 BN_free(pub_key); in php_openssl_dh_pub_from_priv()
4243 pub_key = NULL; in php_openssl_dh_pub_from_priv()
4249 return pub_key; in php_openssl_dh_pub_from_priv()
[all …]

Completed in 30 milliseconds