/php-src/ext/openssl/tests/ |
H A D | cipher_tests.inc | 6 'iv' => '1011121314151617', 14 'iv' => '101112131415161718191a1b', 28 'iv' => '5b8e40746f6b98e00f1d13ff41', 41 'iv' => '000000000000000000000000', 48 'iv' => '000000000000000000000000', 55 'iv' => 'cafebabefacedbaddecaf888', 68 'iv' => 'cafebabefacedbaddecaf888', 82 'iv' => 'cafebabefacedbad', 116 'iv' => 'BBAA99887766554433221100', 124 'iv' => 'BBAA99887766554433221101', [all …]
|
H A D | openssl_decrypt_basic.phpt | 12 $iv = ''; 14 while(strlen($iv) < $ivlen) $iv .= chr(rand(0,255)); 16 $encrypted = openssl_encrypt($data, $method, $password, 0, $iv); 17 $output = openssl_decrypt($encrypted, $method, $password, 0, $iv); 19 $encrypted = openssl_encrypt($data, $method, $password, OPENSSL_RAW_DATA, $iv); 20 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA, $iv); 24 …ed = openssl_encrypt($padded_data, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $iv); 25 …tput = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $iv); 28 …enssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $iv, tag: ''); 30 …ssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $iv, tag: null); [all …]
|
H A D | openssl_decrypt_error.phpt | 11 $iv = str_repeat("\0", openssl_cipher_iv_length($method)); 14 var_dump($encrypted); /* Not passing $iv should be the same as all-NULL iv, but with a warning */ 15 var_dump(openssl_encrypt($data, $method, $password, 0, $iv)); 25 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
|
H A D | bug70438.phpt | 24 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), 'sparkles', $iv); 25 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher, $iv); 26 openssl_open($sealed, $decrypted, $ekeys[0], $priv_key, $cipher, $iv); 30 openssl_seal(): Argument #6 ($iv) cannot be null for the chosen cipher algorithm
|
H A D | bug74099.phpt | 8 $iv = random_bytes(16); 14 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
|
H A D | bug74402.phpt | 21 $iv = ''; 23 var_dump(openssl_seal($data, $sealed_data, $env_keys, $key, 'AES256', $iv));
|
H A D | openssl_decrypt_gcm.phpt | 19 $test['iv'], $test['tag'], $test['aad']); 28 $test['iv'], $test['tag'])); 31 $test['iv'], str_repeat('x', 16), $test['aad']));
|
H A D | openssl_decrypt_ccm.phpt | 20 $test['iv'], $test['tag'], $test['aad']); 30 $test['iv'], $test['tag'])); 33 $test['iv'], str_repeat('x', 10), $test['aad']));
|
H A D | openssl_encrypt_error.phpt | 10 $iv = str_repeat("\0", openssl_cipher_iv_length($method)); 19 var_dump(openssl_encrypt($data, $method, $password, OPENSSL_DONT_ZERO_PAD_KEY, $iv));
|
H A D | openssl_decrypt_ocb.phpt | 19 $test['iv'], $test['tag'], $test['aad']); 33 $test['iv'], $test['tag'])); 37 $test['iv'], str_repeat('x', 16), $test['aad']));
|
H A D | openssl_encrypt_crash.phpt | 11 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
|
H A D | bug60632.phpt | 28 openssl_seal(): Argument #6 ($iv) cannot be null for the chosen cipher algorithm
|
H A D | openssl_encrypt_chacha20_poly1305.phpt | 19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
H A D | openssl_encrypt_ccm.phpt | 20 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
H A D | openssl_encrypt_gcm.phpt | 19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
H A D | openssl_encrypt_ocb.phpt | 19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
H A D | bug81713.phpt | 64 ["openssl_seal", "test", &$sealed, &$ekeys, [$priv_key_file_null], "AES-128-CBC", &$iv], 65 ["openssl_open", "test", &$open, "aaa", $priv_key_file_null, "AES-128-CBC", &$iv],
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionProperty_isInitialized.phpt | 11 public ?int $iv = null; 27 var_dump((new ReflectionProperty($a, 'iv'))->isInitialized($a)); 32 unset($a->iv); 36 var_dump((new ReflectionProperty($a, 'iv'))->isInitialized($a));
|
/php-src/ext/date/tests/ |
H A D | bug52808.phpt | 16 foreach($intervals as $iv) { 19 $di = new DateInterval($iv);
|
/php-src/ext/openssl/ |
H A D | php_openssl.h | 134 const char *iv, size_t iv_len, 142 const char *iv, size_t iv_len,
|
H A D | openssl_arginfo.h | 300 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, iv, "null") 309 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, iv, IS_STRING, 1, "null") 334 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, iv, IS_STRING, 0, "\"\"") 345 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, iv, IS_STRING, 0, "\"\"")
|
H A D | openssl.c | 7264 zval *pubkeys, *pubkey, *sealdata, *ekeys, *iv = NULL; local 7297 if (!iv && iv_len > 0) { 7362 if (iv) { 7399 char *method, *iv = NULL; local 7427 if (!iv) { 7435 iv_buf = (unsigned char *)iv; 7859 const char *iv, size_t iv_len, argument 7938 efree((void *) iv); 7949 char *data, *method, *password, *iv = "", *aad = ""; local 7972 const char *iv, size_t iv_len, argument [all …]
|
H A D | openssl.stub.php | 614 * @param string $iv
|
/php-src/ext/standard/ |
H A D | var_unserializer.re | 385 iv = [+-]? [0-9]+; 387 nvexp = (iv | nv) [eE] iv; 973 "i:" iv ";" { 1015 "d:" (iv | nv | nvexp) ";" { 1100 /* use iv() not uiv() in order to check data range */
|
/php-src/ext/date/lib/ |
H A D | parse_date.re | 282 { "iv", 0, 4 },
|