Home
last modified time | relevance | path

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

/PHP-8.3/ext/openssl/tests/
H A Dbug70438.phpt15 $pub_key = "file://" . __DIR__ . "/public.key";
19 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher);
24 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), 'sparkles', $iv);
25 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher, $iv);
H A Dopenssl_open_basic.phpt8 $pub_key = "file://" . __DIR__ . "/public.key";
13 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key, $pub_key), $method);
H A Dopenssl_seal_basic.phpt24 $pub_key = "file://" . __DIR__ . "/public.key";
27 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key), $method)); // no output
28 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $method)); // no output
29 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $wrong), $method));
H A Dbug37820.phpt15 $pub_key = file_get_contents($file_pub);
16 $pub_key_id = openssl_get_publickey($pub_key);
H A Dopenssl_pkey_new_basic.phpt89 var_dump(strlen($dsa_details['pub_key']));
105 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-8.3/ext/openssl/
H A Dopenssl.c361 *pub_key = dh->pub_key; in DH_get0_key()
367 dh->pub_key = pub_key; in DH_set0_key()
391 *pub_key = d->pub_key; in DSA_get0_key()
397 d->pub_key = pub_key; in DSA_set0_key()
3476 return pub_key; in php_openssl_extract_public_key()
3991 if (pub_key) { in php_openssl_pkey_init_legacy_dsa()
4039 if (pub_key) { in php_openssl_pkey_init_dsa()
4056 if (pub_key) { in php_openssl_pkey_init_dsa()
4145 return pub_key; in php_openssl_dh_pub_from_priv()
4164 if (pub_key) { in php_openssl_pkey_init_legacy_dh()
[all …]

Completed in 22 milliseconds