/php-src/ext/openssl/tests/ |
H A D | bug55259.phpt | 13 $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 D | bug73478.phpt | 13 $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 D | openssl_pkey_new_error.phpt | 12 $dh = array("dh" => array()); 25 openssl_pkey_get_details(openssl_pkey_new($dh));
|
H A D | openssl_pkey_new_basic.phpt | 98 $dh = openssl_pkey_new(array( 99 'dh'=> array('p' => hex2bin($phex), 'g' => '2')) 101 $details = openssl_pkey_get_details($dh); 102 $dh_details = $details['dh'];
|
H A D | openssl_csr_export_to_file_basic.phpt | 19 $dh = openssl_pkey_new(array( 20 'dh'=> array('p' => hex2bin($phex), 'g' => '2')) 47 openssl_csr_export_to_file($dh, $csrfile);
|
H A D | openssl_csr_get_public_key_basic.phpt | 17 $dh = openssl_pkey_new(array( 18 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
|
H A D | openssl_csr_get_subject_basic.phpt | 17 $dh = openssl_pkey_new(array( 18 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
|
/php-src/ext/standard/tests/dir/ |
H A D | opendir_variation4.phpt | 27 clean_dh($dh); 32 clean_dh($dh); 36 clean_dh($dh); 41 clean_dh($dh); 45 clean_dh($dh); 50 clean_dh($dh); 55 clean_dh($dh); 61 function clean_dh($dh){ 62 if (is_resource($dh)) { 63 closedir($dh); [all …]
|
H A D | opendir_variation4-win32-mb.phpt | 33 clean_dh($dh); 38 clean_dh($dh); 42 clean_dh($dh); 47 clean_dh($dh); 51 clean_dh($dh); 56 clean_dh($dh); 61 clean_dh($dh); 67 function clean_dh($dh){ 68 if (is_resource($dh)) { 69 closedir($dh); [all …]
|
H A D | closedir_variation2.phpt | 15 $dh = opendir($directory); 18 var_dump(closedir($dh)); 20 var_dump($dh); 24 var_dump(closedir($dh)); 29 var_dump($dh);
|
H A D | closedir_variation2-win32-mb.phpt | 21 $dh = opendir($directory); 24 var_dump(closedir($dh)); 26 var_dump($dh); 30 var_dump(closedir($dh)); 35 var_dump($dh);
|
H A D | readdir_basic.phpt | 20 var_dump($dh = opendir($path)); 22 while( FALSE !== ($file = readdir($dh)) ) { 31 var_dump($dh = opendir($path)); 42 closedir($dh);
|
H A D | readdir_basic-win32-mb.phpt | 26 var_dump($dh = opendir($path)); 28 while( FALSE !== ($file = readdir($dh)) ) { 37 var_dump($dh = opendir($path)); 48 closedir($dh);
|
H A D | opendir_variation7.phpt | 57 var_dump($dh = opendir($dir_path)); 59 if (is_resource($dh)) { 60 closedir($dh);
|
H A D | readdir_variation5.phpt | 54 var_dump($dh = opendir($dir_path)); 57 var_dump(readdir($dh)); 59 closedir($dh);
|
/php-src/ext/standard/tests/file/ |
H A D | fseek_dir_basic.phpt | 14 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 D | bug24482.phpt | 19 $dh = opendir("."); 20 while (is_string($file = readdir($dh))) { 25 closedir($dh);
|
/php-src/ext/standard/tests/streams/ |
H A D | gh14930.phpt | 23 $dh = opendir('dummy://', stream_context_create()); 24 var_dump(readdir($dh));
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | bug64699.phpt | 32 if ($dh = opendir($dir)) { 33 while (($file = readdir($dh)) !== false) { 40 closedir($dh);
|
H A D | bug75063_utf8.phpt | 39 if (\$dh = opendir(getcwd())) { 40 while ((\$file = readdir(\$dh)) !== false) { 44 closedir(\$dh);
|
H A D | bug75063_cp1251.phpt | 41 if (\$dh = opendir(getcwd())) { 42 while ((\$file = readdir(\$dh)) !== false) { 46 closedir(\$dh);
|
H A D | test_readdir_mb_names.phpt | 45 if ($dh = opendir($dirw)) { 46 while (($file = readdir($dh)) !== false) { 49 closedir($dh);
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_x86.h | 15 _(R2, rdx, edx, dx, dl, dh) \ 53 _(R2, ___, edx, dx, dl, dh) \
|
/php-src/ext/openssl/ |
H A D | openssl.c | 363 *p = dh->p; in DH_get0_pqg() 364 *q = dh->q; in DH_get0_pqg() 365 *g = dh->g; in DH_get0_pqg() 370 dh->p = p; in DH_set0_pqg() 371 dh->q = q; in DH_set0_pqg() 372 dh->g = g; in DH_set0_pqg() 385 dh->pub_key = pub_key; in DH_set0_key() 4356 DH *dh = DH_new(); in php_openssl_pkey_init_dh() 4357 if (!dh) { in php_openssl_pkey_init_dh() 4366 DH_free(dh); in php_openssl_pkey_init_dh() [all …]
|
H A D | xp_ssl.c | 1285 DH *dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); in php_openssl_set_server_dh_param() local 1288 if (dh == NULL) { in php_openssl_set_server_dh_param() 1293 if (SSL_CTX_set_tmp_dh(ctx, dh) == 0) { in php_openssl_set_server_dh_param() 1295 DH_free(dh); in php_openssl_set_server_dh_param() 1299 DH_free(dh); in php_openssl_set_server_dh_param()
|