Home
last modified time | relevance | path

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

/php-src/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']));
H A Ded25519.phpt30 unset($d1_priv["ed25519"]["pub_key"]);
H A Ded448.phpt30 unset($d1_priv["ed448"]["pub_key"]);
/php-src/ext/openssl/
H A Dopenssl.c379 *pub_key = dh->pub_key; in DH_get0_key()
385 dh->pub_key = pub_key; in DH_set0_key()
409 *pub_key = d->pub_key; in DSA_get0_key()
415 d->pub_key = pub_key; in DSA_set0_key()
3536 return pub_key; in php_openssl_extract_public_key()
4078 if (pub_key) { in php_openssl_pkey_init_legacy_dsa()
4126 if (pub_key) { in php_openssl_pkey_init_dsa()
4143 if (pub_key) { in php_openssl_pkey_init_dsa()
4251 if (pub_key) { in php_openssl_pkey_init_legacy_dh()
4309 if (pub_key) { in php_openssl_pkey_init_dh()
[all …]

Completed in 27 milliseconds