Home
last modified time | relevance | path

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

12

/php-src/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());
25 openssl_pkey_get_details(openssl_pkey_new($dh));
H A Dopenssl_pkey_new_basic.phpt98 $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 Dopenssl_csr_export_to_file_basic.phpt19 $dh = openssl_pkey_new(array(
20 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
47 openssl_csr_export_to_file($dh, $csrfile);
H A Dopenssl_csr_get_public_key_basic.phpt17 $dh = openssl_pkey_new(array(
18 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
H A Dopenssl_csr_get_subject_basic.phpt17 $dh = openssl_pkey_new(array(
18 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
/php-src/ext/standard/tests/dir/
H A Dopendir_variation4.phpt27 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 Dopendir_variation4-win32-mb.phpt33 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 Dclosedir_variation2.phpt15 $dh = opendir($directory);
18 var_dump(closedir($dh));
20 var_dump($dh);
24 var_dump(closedir($dh));
29 var_dump($dh);
H A Dclosedir_variation2-win32-mb.phpt21 $dh = opendir($directory);
24 var_dump(closedir($dh));
26 var_dump($dh);
30 var_dump(closedir($dh));
35 var_dump($dh);
H A Dreaddir_basic.phpt20 var_dump($dh = opendir($path));
22 while( FALSE !== ($file = readdir($dh)) ) {
31 var_dump($dh = opendir($path));
42 closedir($dh);
H A Dreaddir_basic-win32-mb.phpt26 var_dump($dh = opendir($path));
28 while( FALSE !== ($file = readdir($dh)) ) {
37 var_dump($dh = opendir($path));
48 closedir($dh);
H A Dopendir_variation7.phpt57 var_dump($dh = opendir($dir_path));
59 if (is_resource($dh)) {
60 closedir($dh);
H A Dreaddir_variation5.phpt54 var_dump($dh = opendir($dir_path));
57 var_dump(readdir($dh));
59 closedir($dh);
/php-src/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-src/ext/standard/tests/streams/
H A Dgh14930.phpt23 $dh = opendir('dummy://', stream_context_create());
24 var_dump(readdir($dh));
/php-src/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.phpt45 if ($dh = opendir($dirw)) {
46 while (($file = readdir($dh)) !== false) {
49 closedir($dh);
/php-src/ext/opcache/jit/ir/
H A Dir_x86.h15 _(R2, rdx, edx, dx, dl, dh) \
53 _(R2, ___, edx, dx, dl, dh) \
/php-src/ext/openssl/
H A Dopenssl.c363 *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 Dxp_ssl.c1285 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()

Completed in 46 milliseconds

12