Home
last modified time | relevance | path

Searched refs:cipher (Results 1 – 25 of 54) sorted by last modified time

123

/PHP-5.5/ext/openssl/tests/
H A Dopenssl_decrypt_error.phpt33 Warning: openssl_decrypt(): Unknown cipher algorithm in %s on line %d
37 Warning: openssl_decrypt(): Unknown cipher algorithm in %s on line %d
40 Warning: openssl_decrypt(): Unknown cipher algorithm in %s on line %d
43 Warning: openssl_decrypt(): Unknown cipher algorithm in %s on line %d
H A Dopenssl_encrypt_error.phpt23 Warning: openssl_encrypt(): Unknown cipher algorithm in %s on line %d
/PHP-5.5/ext/openssl/
H A DREADME155 The message will be encoded using a RC2-40 bit cipher.
156 TODO: allow user to specify cipher.
H A Dopenssl.c279 ZEND_ARG_INFO(0, cipher)
866 if (cipher == NULL) { in php_openssl_parse_config()
3233 cipher = NULL; in PHP_FUNCTION()
3288 cipher = NULL; in PHP_FUNCTION()
3725 if (cipher == NULL) { in PHP_FUNCTION()
4354 const EVP_CIPHER *cipher; in PHP_FUNCTION() local
4370 if (!cipher) { in PHP_FUNCTION()
4375 cipher = EVP_rc4(); in PHP_FUNCTION()
4484 const EVP_CIPHER *cipher; in PHP_FUNCTION() local
4498 if (!cipher) { in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_structs.h479 …const cert, const char * const ca, const char * const capath, const char * const cipher TSRMLS_DC);
H A Dmysqlnd_libmysql_compat.h82 #define mysql_ssl_set(c,key,cert,ca,capath,cipher) mysqlnd_ssl_set((c), (key), (cert), (ca), (capat… argument
H A Dmysqlnd.c1592 const char * const ca, const char * const capath, const char * const cipher TSRMLS_DC)
1604 …PASS == net->data->m.set_client_option(net, MYSQLND_OPT_SSL_CIPHER, cipher TSRMLS_CC)) ? PASS : FA…
H A Dmysqlnd.h166 …set(conn, key, cert, ca, capath, cipher) ((conn)->data)->m->ssl_set((conn)->data, (key), (cert), (… argument
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_class_mysqli_reflection.phpt1091 Inspecting parameter 'cipher' of method 'ssl_set'
/PHP-5.5/ext/mysqli/
H A Dmysqli_fe.c351 ZEND_ARG_INFO(0, cipher)
359 ZEND_ARG_INFO(0, cipher)
/PHP-5.5/ext/mcrypt/tests/
H A Dmcrypt_decrypt_variation4.phpt11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
29 $cipher = MCRYPT_TRIPLEDES;
116 var_dump( mcrypt_decrypt($cipher, $key, $data, $value, $iv) );
H A Dmcrypt_ecb.phpt9 $cipher = MCRYPT_RIJNDAEL_128;
11 $iv = mcrypt_create_iv(mcrypt_get_iv_size($cipher, MCRYPT_MODE_ECB), MCRYPT_RAND);
12 $enc_data = mcrypt_ecb($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv);
15 echo trim(mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n";
17 // a warning must be issued if we don't use a IV on a AES cipher, that usually requires an IV
18 mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT);
H A Dmcrypt_ecb_3des_encrypt.phpt13 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
22 $cipher = MCRYPT_TRIPLEDES;
33 // tripledes is a block cipher of 64 bits (8 bytes)
44 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
51 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
H A Dmcrypt_ecb_error.phpt13 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
24 $cipher = 10;
30 var_dump( mcrypt_ecb($cipher, $key, $data, $mode, $iv, $extra_arg) );
34 $cipher = 10;
37 var_dump( mcrypt_ecb($cipher, $key, $data) );
H A Dmcrypt_ecb_variation1.phpt13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
114 // loop through each element of the array for cipher
H A Dmcrypt_ecb_variation2.phpt13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
31 $cipher = MCRYPT_TRIPLEDES;
118 var_dump(bin2hex(mcrypt_ecb($cipher, $value, $data, $mode, $iv)));
H A Dmcrypt_ecb_variation3.phpt13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
31 $cipher = MCRYPT_TRIPLEDES;
118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $value, $mode, $iv)));
H A Dmcrypt_ecb_variation4.phpt13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
14 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
31 $cipher = MCRYPT_TRIPLEDES;
118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $value, $iv)));
H A Dmcrypt_encrypt_3des_cbc.phpt11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
26 $cipher = MCRYPT_TRIPLEDES;
37 // tripledes is a block cipher of 64 bits (8 bytes)
49 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv)));
56 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv)));
H A Dmcrypt_encrypt_3des_ecb.phpt11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
19 $cipher = MCRYPT_TRIPLEDES;
34 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode)));
48 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv)));
H A Dmcrypt_encrypt_error.phpt11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
22 $cipher = 'string_val';
28 var_dump( mcrypt_encrypt($cipher, $key, $data, $mode, $iv, $extra_arg) );
32 $cipher = 'string_val';
35 var_dump( mcrypt_encrypt($cipher, $key, $data) );
H A Dmcrypt_encrypt_variation1.phpt2 Test mcrypt_encrypt() function : usage variation - different types for cipher
11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
112 // loop through each element of the array for cipher
H A Dmcrypt_encrypt_variation3.phpt11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
29 $cipher = MCRYPT_TRIPLEDES;
116 var_dump( bin2hex(mcrypt_encrypt($cipher, $key, $value, $mode, $iv) ));
H A Dmcrypt_ofb.phpt9 $cipher = MCRYPT_RIJNDAEL_128;
11 $iv = mcrypt_create_iv(mcrypt_get_iv_size($cipher, MCRYPT_MODE_ECB), MCRYPT_RAND);
12 $enc_data = mcrypt_ofb($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv);
15 echo trim(mcrypt_ofb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n";
17 // a warning must be issued if we don't use a IV on a AES cipher, that usually requires an IV
18 mcrypt_ofb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv);
H A Dmcrypt_decrypt_variation3.phpt11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i…
12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv
29 $cipher = MCRYPT_TRIPLEDES;
116 var_dump(bin2hex(mcrypt_decrypt($cipher, $key, $value, $mode, $iv)));

Completed in 53 milliseconds

123