/PHP-5.6/ext/mcrypt/ |
H A D | mcrypt_filter.c | 158 char *iv = NULL, *key = NULL; in php_mcrypt_filter_create() local 228 iv = emalloc(iv_len + 1); in php_mcrypt_filter_create() 230 memcpy(iv, Z_STRVAL_PP(tmpzval), iv_len); in php_mcrypt_filter_create() 232 memcpy(iv, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_mcrypt_filter_create() 233 memset(iv + Z_STRLEN_PP(tmpzval), 0, iv_len - Z_STRLEN_PP(tmpzval)); in php_mcrypt_filter_create() 236 result = mcrypt_generic_init(mcrypt_module, key, key_len, iv); in php_mcrypt_filter_create() 237 efree(iv); in php_mcrypt_filter_create()
|
/PHP-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_ecb_variation4.phpt | 13 /* 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 34 $iv = b'01234567'; 118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $value, $iv)));
|
H A D | mcrypt_decrypt_variation3.phpt | 11 … Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump(bin2hex(mcrypt_decrypt($cipher, $key, $value, $mode, $iv)));
|
H A D | mcrypt_ecb_variation3.phpt | 13 /* 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 34 $iv = b'01234567'; 118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $value, $mode, $iv)));
|
H A D | mcrypt_encrypt_variation3.phpt | 11 … Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump( bin2hex(mcrypt_encrypt($cipher, $key, $value, $mode, $iv) ));
|
H A D | bug46010.phpt | 2 Bug #46010 (warnings incorrectly generated for iv in ecb mode)
|
H A D | mcrypt_decrypt_variation1.phpt | 11 … Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'string_val'; 116 var_dump( mcrypt_decrypt($value, $key, $data, $mode, $iv) );
|
H A D | mcrypt_decrypt_variation4.phpt | 11 … Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump( mcrypt_decrypt($cipher, $key, $data, $value, $iv) );
|
H A D | mcrypt_ecb_variation1.phpt | 13 /* 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 34 $iv = b'string_val'; 118 var_dump( mcrypt_ecb($value, $key, $data, $mode, $iv) );
|
H A D | mcrypt_encrypt_variation1.phpt | 11 … Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'string_val'; 116 var_dump( mcrypt_encrypt($value, $key, $data, $mode, $iv) );
|
H A D | mcrypt_encrypt_variation4.phpt | 11 … Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump( mcrypt_encrypt($cipher, $key, $data, $value, $iv) );
|
H A D | mcrypt_cbc_variation3.phpt | 11 /* Prototype : string mcrypt_cbc(string cipher, string key, string data, int mode, string iv) 12 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump(bin2hex(mcrypt_cbc($cipher, $key, $value, $mode, $iv)));
|
H A D | mcrypt_cbc_variation4.phpt | 11 /* Prototype : string mcrypt_cbc(string cipher, string key, string data, int mode, string iv) 12 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump(bin2hex(mcrypt_cbc($cipher, $key, $data, $value, $iv)));
|
H A D | mcrypt_ecb_variation5.phpt | 13 /* 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 iv
|
H A D | blowfish.phpt | 47 $iv = hex2bin( "FEDCBA9876543210" ); 50 mcrypt_generic_init( $td, $key, $iv );
|
H A D | mcrypt_cbc_variation1.phpt | 11 /* Prototype : string mcrypt_cbc(string cipher, string key, string data, int mode, string iv) 12 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'string_val'; 116 var_dump( mcrypt_cbc($value, $key, $data, $mode, $iv) );
|
H A D | mcrypt_decrypt_variation2.phpt | 11 … Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump( bin2hex(mcrypt_decrypt($cipher, $value, $data, $mode, $iv)));
|
H A D | mcrypt_ecb_variation2.phpt | 13 /* 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 34 $iv = b'01234567'; 118 var_dump(bin2hex(mcrypt_ecb($cipher, $value, $data, $mode, $iv)));
|
H A D | mcrypt_encrypt_variation2.phpt | 11 … Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump( bin2hex(mcrypt_encrypt($cipher, $value, $data, $mode, $iv) ));
|
H A D | mcrypt_encrypt_variation5.phpt | 11 … Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 32 //in php, it incorrectly reports problems with iv in ECB mode. 113 // loop through each element of the array for iv
|
H A D | mcrypt_cbc_variation2.phpt | 11 /* Prototype : string mcrypt_cbc(string cipher, string key, string data, int mode, string iv) 12 * Description: CBC crypt/decrypt data using key key with cipher cipher starting with iv 32 $iv = b'01234567'; 116 var_dump(bin2hex(mcrypt_cbc($cipher, $value, $data, $mode, $iv)));
|
H A D | mcrypt_decrypt_variation5.phpt | 11 … Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv) 12 * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv 112 // loop through each element of the array for iv
|
/PHP-5.6/ext/date/tests/ |
H A D | bug52808.phpt | 14 foreach($intervals as $iv) { 17 $di = new DateInterval($iv);
|
/PHP-5.6/ext/openssl/tests/ |
H A D | openssl_encrypt_crash.phpt | 12 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
|
/PHP-5.6/ext/standard/ |
H A D | var_unserializer.re | 283 iv = [+-]? [0-9]+; 285 nvexp = (iv | nv) [eE] [+-]? iv; 536 "R:" iv ";" { 557 "r:" iv ";" { 594 "i:" iv ";" { 636 "d:" (iv | nv | nvexp) ";" { 716 /* use iv() not uiv() in order to check data range */ 735 "o:" iv ":" ["] {
|