Home
last modified time | relevance | path

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

12

/PHP-8.0/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.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_export_to_file_basic.phpt15 $dh = openssl_pkey_new(array(
16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
43 openssl_csr_export_to_file($dh, $csrfile);
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_get_subject_basic.phpt15 $dh = openssl_pkey_new(array(
16 'dh'=> array('p' => hex2bin($phex), 'g' => '2'))
/PHP-8.0/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-8.0/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-8.0/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-8.0/ext/openssl/
H A Dopenssl.c323 *p = dh->p; in DH_get0_pqg()
324 *q = dh->q; in DH_get0_pqg()
325 *g = dh->g; in DH_get0_pqg()
330 dh->p = p; in DH_set0_pqg()
331 dh->q = q; in DH_set0_pqg()
332 dh->g = g; in DH_set0_pqg()
345 dh->pub_key = pub_key; in DH_set0_key()
4225 if (dh) { in PHP_FUNCTION()
4238 DH_free(dh); in PHP_FUNCTION()
4784 DH *dh; in PHP_FUNCTION() local
[all …]
H A Dxp_ssl.c1200 DH *dh; in php_openssl_set_server_dh_param() local
1226 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); in php_openssl_set_server_dh_param()
1229 if (dh == NULL) { in php_openssl_set_server_dh_param()
1234 if (SSL_CTX_set_tmp_dh(ctx, dh) < 0) { in php_openssl_set_server_dh_param()
1236 DH_free(dh); in php_openssl_set_server_dh_param()
1240 DH_free(dh); in php_openssl_set_server_dh_param()
/PHP-8.0/ext/hash/tests/
H A Dfnv1a64.phpt100 array( 'X0rpD~5iwL|*dh/#KU|', '17b538fc3a531c98' ),
160 array( '4a4YSjy@NC+,V,Y#jE#dh/f~W?8m?}!', '628239fa1e9fbf4c' ),
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_x86.dasc6153 | TRY_ADDREF val_info, dh, Ra(tmp_reg)
6155 | TRY_ADDREF_2 val_info, dh, Ra(tmp_reg)
6159 | TRY_ADDREF val_info, dh, Ra(tmp_reg)
11906 | IF_NOT_REFCOUNTED dh, =>jit_return_label
11908 | IF_NOT_REFCOUNTED dh, >9
11949 | IF_NOT_REFCOUNTED dh, >2
11956 | IF_NOT_REFCOUNTED dh, >2
12281 | TRY_ADDREF res_info, dh, r1
13372 | TRY_ADDREF res_info, dh, r1
15411 | TRY_ADDREF res_info, dh, r1

Completed in 69 milliseconds

12