Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 25 of 29) sorted by relevance

12

/PHP-7.2/ext/openssl/tests/
H A Dbug55259.phpt13 $dh = openssl_pkey_new(array('dh'=> array('p' => $phex, 'g' => '2')));
14 var_dump($dh);
15 $dh = openssl_pkey_new(array('dh'=> array( 'p' => hex2bin($phex), 'g' => '2')));
16 $details = openssl_pkey_get_details($dh);
17 var_dump(bin2hex($details['dh']['p']));
18 var_dump($details['dh']['g']);
19 var_dump(strlen($details['dh']['pub_key']) > 0);
20 var_dump(strlen($details['dh']['priv_key']) > 0);
H A Dbug73478.phpt13 $opensslKeyResource = openssl_pkey_new(['dh' => $details]);
16 printf("Private key:\n%s\n", base64_encode($data['dh']['priv_key']));
17 printf("Public key:\n%s\n", base64_encode($data['dh']['pub_key']));
H A Dopenssl_pkey_new_error.phpt12 $dh = array("dh" => array());
16 openssl_pkey_get_details(openssl_pkey_new($dh));
H A Dopenssl_pkey_new_basic.phpt82 $dh = openssl_pkey_new(array(
83 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
85 $details = openssl_pkey_get_details($dh);
86 $dh_details = $details['dh'];
H A Dopenssl_csr_get_public_key_basic.phpt15 $dh = openssl_pkey_new(array(
16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
H A Dopenssl_csr_export_to_file_basic.phpt15 $dh = openssl_pkey_new(array(
16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
40 var_dump(openssl_csr_export_to_file($dh, $csrfile));
H A Dopenssl_csr_get_subject_basic.phpt15 $dh = openssl_pkey_new(array(
16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
/PHP-7.2/ext/standard/tests/dir/
H A Dopendir_variation4-win32-mb.phpt37 clean_dh($dh);
42 clean_dh($dh);
46 clean_dh($dh);
51 clean_dh($dh);
55 clean_dh($dh);
60 clean_dh($dh);
65 clean_dh($dh);
71 function clean_dh($dh){
72 if (is_resource($dh)) {
73 closedir($dh);
[all …]
H A Dopendir_variation4.phpt31 clean_dh($dh);
36 clean_dh($dh);
40 clean_dh($dh);
45 clean_dh($dh);
49 clean_dh($dh);
54 clean_dh($dh);
59 clean_dh($dh);
65 function clean_dh($dh){
66 if (is_resource($dh)) {
67 closedir($dh);
[all …]
H A Dclosedir_variation2.phpt21 $dh = opendir($directory);
24 var_dump(closedir($dh));
26 var_dump($dh);
29 var_dump(closedir($dh));
31 var_dump($dh);
H A Dclosedir_variation2-win32-mb.phpt27 $dh = opendir($directory);
30 var_dump(closedir($dh));
32 var_dump($dh);
35 var_dump(closedir($dh));
37 var_dump($dh);
H A Dreaddir_basic.phpt25 var_dump($dh = opendir($path));
27 while( FALSE !== ($file = readdir($dh)) ) {
36 var_dump($dh = opendir($path));
47 closedir($dh);
H A Dreaddir_basic-win32-mb.phpt31 var_dump($dh = opendir($path));
33 while( FALSE !== ($file = readdir($dh)) ) {
42 var_dump($dh = opendir($path));
53 closedir($dh);
H A Dopendir_variation7.phpt70 var_dump($dh = opendir($dir_path));
72 if (is_resource($dh)) {
73 closedir($dh);
H A Dreaddir_variation5.phpt67 var_dump($dh = opendir($dir_path));
70 var_dump(readdir($dh));
72 closedir($dh);
H A Dopendir_variation1.phpt104 var_dump( $dh = opendir($input) );
105 if ($dh) {
106 closedir($dh);
H A Dopendir_variation2-win32-mb.phpt103 var_dump($dh = opendir($path, $input) );#
104 if ($dh) {
105 closedir($dh);
H A Dopendir_variation2.phpt97 var_dump($dh = opendir($path, $input) );#
98 if ($dh) {
99 closedir($dh);
/PHP-7.2/ext/standard/tests/file/
H A Dfseek_dir_basic.phpt14 var_dump($dh = opendir($path));
16 while( FALSE !== ($files[] = readdir($dh)) ) {}
22 var_dump(fseek($dh, 20));
25 while( FALSE !== ($files[] = readdir($dh)) ) {}
31 var_dump(fseek($dh, 20, SEEK_END));
34 while( FALSE !== ($files[] = readdir($dh)) ) {}
39 closedir($dh);
H A Dbug24482.phpt19 $dh = opendir(".");
20 while (is_string($file = readdir($dh))) {
25 closedir($dh);
/PHP-7.2/ext/standard/tests/file/windows_mb_path/
H A Dbug64699.phpt32 if ($dh = opendir($dir)) {
33 while (($file = readdir($dh)) !== false) {
40 closedir($dh);
H A Dbug75063_utf8.phpt39 if (\$dh = opendir(getcwd())) {
40 while ((\$file = readdir(\$dh)) !== false) {
44 closedir(\$dh);
H A Dbug75063_cp1251.phpt41 if (\$dh = opendir(getcwd())) {
42 while ((\$file = readdir(\$dh)) !== false) {
46 closedir(\$dh);
H A Dtest_readdir_mb_names.phpt43 if ($dh = opendir($dirw)) {
44 while (($file = readdir($dh)) !== false) {
47 closedir($dh);
/PHP-7.2/ext/openssl/
H A Dopenssl.c623 *p = dh->p; in DH_get0_pqg()
624 *q = dh->q; in DH_get0_pqg()
625 *g = dh->g; in DH_get0_pqg()
630 dh->p = p; in DH_set0_pqg()
631 dh->q = q; in DH_set0_pqg()
632 dh->g = g; in DH_set0_pqg()
645 dh->pub_key = pub_key; in DH_set0_key()
4350 if (dh) { in PHP_FUNCTION()
4359 DH_free(dh); in PHP_FUNCTION()
4916 DH *dh; in PHP_FUNCTION() local
[all …]

Completed in 68 milliseconds

12