Home
last modified time | relevance | path

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

12

/PHP-8.1/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-8.1/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.1/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.1/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.1/ext/openssl/
H A Dopenssl.c335 *p = dh->p; in DH_get0_pqg()
336 *q = dh->q; in DH_get0_pqg()
337 *g = dh->g; in DH_get0_pqg()
342 dh->p = p; in DH_set0_pqg()
343 dh->q = q; in DH_set0_pqg()
344 dh->g = g; in DH_set0_pqg()
357 dh->pub_key = pub_key; in DH_set0_key()
4328 DH *dh = DH_new(); in php_openssl_pkey_init_dh()
4329 if (!dh) { in php_openssl_pkey_init_dh()
4338 DH_free(dh); in php_openssl_pkey_init_dh()
[all …]
H A Dxp_ssl.c1274 DH *dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); in php_openssl_set_server_dh_param() local
1277 if (dh == NULL) { in php_openssl_set_server_dh_param()
1282 if (SSL_CTX_set_tmp_dh(ctx, dh) == 0) { in php_openssl_set_server_dh_param()
1284 DH_free(dh); in php_openssl_set_server_dh_param()
1288 DH_free(dh); in php_openssl_set_server_dh_param()
/PHP-8.1/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.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativeS390X.c401 sljit_uw dh = (d >> 12) & 0xff; in HAVE_FACILITY() local
403 return (dh | dl) << 8; in HAVE_FACILITY()

Completed in 65 milliseconds

12