Home
last modified time | relevance | path

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

/PHP-5.6/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 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'];
/PHP-5.6/ext/standard/tests/dir/
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 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 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.phpt97 var_dump($dh = opendir($path, $input) );#
98 if ($dh) {
99 closedir($dh);
/PHP-5.6/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-5.6/ext/openssl/
H A Dopenssl.c3512 if (NULL == pkey->pkey.dh->p || NULL == pkey->pkey.dh->priv_key) { in php_openssl_is_private_key()
3580 if (!dh->p || !dh->g) { in php_openssl_pkey_init_dh()
3583 if (dh->pub_key) { in php_openssl_pkey_init_dh()
3587 if (!DH_generate_key(dh)) { in php_openssl_pkey_init_dh()
3660 DH *dh = DH_new(); in PHP_FUNCTION() local
3661 if (dh) { in PHP_FUNCTION()
3671 DH_free(dh); in PHP_FUNCTION()
3976 if (pkey->pkey.dh != NULL) { in PHP_FUNCTION()
3977 zval *dh; in PHP_FUNCTION() local
3979 ALLOC_INIT_ZVAL(dh); in PHP_FUNCTION()
[all …]
H A Dxp_ssl.c1161 DH *dh; in set_server_dh_param() local
1171 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); in set_server_dh_param()
1174 if (dh == NULL) { in set_server_dh_param()
1179 if (SSL_CTX_set_tmp_dh(ctx, dh) < 0) { in set_server_dh_param()
1181 DH_free(dh); in set_server_dh_param()
1185 DH_free(dh); in set_server_dh_param()
/PHP-5.6/ext/hash/tests/
H A Dfnv1a64.phpt102 array( 'X0rpD~5iwL|*dh/#KU|', '17b538fc3a531c98' ),
162 array( '4a4YSjy@NC+,V,Y#jE#dh/f~W?8m?}!', '628239fa1e9fbf4c' ),

Completed in 38 milliseconds