Home
last modified time | relevance | path

Searched refs:iv (Results 26 – 50 of 58) sorted by relevance

123

/PHP-5.6/ext/mcrypt/
H A Dmcrypt_filter.c158 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 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
34 $iv = b'01234567';
118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $value, $iv)));
H A Dmcrypt_decrypt_variation3.phpt11 … 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 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
34 $iv = b'01234567';
118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $value, $mode, $iv)));
H A Dmcrypt_encrypt_variation3.phpt11 … 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 Dbug46010.phpt2 Bug #46010 (warnings incorrectly generated for iv in ecb mode)
H A Dmcrypt_decrypt_variation1.phpt11 … 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 Dmcrypt_decrypt_variation4.phpt11 … 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 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
34 $iv = b'string_val';
118 var_dump( mcrypt_ecb($value, $key, $data, $mode, $iv) );
H A Dmcrypt_encrypt_variation1.phpt11 … 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 Dmcrypt_encrypt_variation4.phpt11 … 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 Dmcrypt_cbc_variation3.phpt11 /* 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 Dmcrypt_cbc_variation4.phpt11 /* 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 Dmcrypt_ecb_variation5.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 iv
H A Dblowfish.phpt47 $iv = hex2bin( "FEDCBA9876543210" );
50 mcrypt_generic_init( $td, $key, $iv );
H A Dmcrypt_cbc_variation1.phpt11 /* 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 Dmcrypt_decrypt_variation2.phpt11 … 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 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
34 $iv = b'01234567';
118 var_dump(bin2hex(mcrypt_ecb($cipher, $value, $data, $mode, $iv)));
H A Dmcrypt_encrypt_variation2.phpt11 … 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 Dmcrypt_encrypt_variation5.phpt11 … 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 Dmcrypt_cbc_variation2.phpt11 /* 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 Dmcrypt_decrypt_variation5.phpt11 … 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 Dbug52808.phpt14 foreach($intervals as $iv) {
17 $di = new DateInterval($iv);
/PHP-5.6/ext/openssl/tests/
H A Dopenssl_encrypt_crash.phpt12 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
/PHP-5.6/ext/standard/
H A Dvar_unserializer.re283 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 ":" ["] {

Completed in 41 milliseconds

123