Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 19 of 19) sorted by relevance

/PHP-7.2/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt12 $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);
H A Dcipher_tests.inc6 'iv' => '1011121314151617',
14 'iv' => '101112131415161718191a1b',
28 'iv' => '5b8e40746f6b98e00f1d13ff41',
41 'iv' => '000000000000000000000000',
48 'iv' => '000000000000000000000000',
55 'iv' => 'cafebabefacedbaddecaf888',
68 'iv' => 'cafebabefacedbaddecaf888',
82 'iv' => 'cafebabefacedbad',
96 'iv' => '9313225df88406e555909c5aff5269aa' .
H A Dopenssl_decrypt_error.phpt11 $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));
27 var_dump(openssl_encrypt($data, $method, $password, 0, $iv, $wrong));
30 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
H A Dbug70438.phpt18 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), 'sparkles', $iv);
19 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher, $iv);
20 openssl_open($sealed, $decrypted, $ekeys[0], $priv_key, $cipher, $iv);
H A Dbug74099.phpt10 $iv = random_bytes(16);
16 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
H A Dbug74402.phpt20 $iv = '';
22 var_dump(openssl_seal($data, $sealed_data, $env_keys, $key, 'AES256', $iv));
H A Dopenssl_decrypt_gcm.phpt19 $test['iv'], $test['tag'], $test['aad']);
28 $test['iv'], $test['tag']));
31 $test['iv'], str_repeat('x', 16), $test['aad']));
H A Dopenssl_decrypt_ccm.phpt20 $test['iv'], $test['tag'], $test['aad']);
30 $test['iv'], $test['tag']));
33 $test['iv'], str_repeat('x', 10), $test['aad']));
H A Dopenssl_encrypt_error.phpt10 $iv = str_repeat("\0", openssl_cipher_iv_length($method));
25 var_dump(openssl_encrypt($data, $method, $password, 0, $iv, $wrong));
28 var_dump(openssl_encrypt($data, $method, $password, OPENSSL_DONT_ZERO_PAD_KEY, $iv));
H A Dopenssl_encrypt_crash.phpt11 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
H A Dopenssl_encrypt_ccm.phpt20 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
H A Dopenssl_encrypt_gcm.phpt19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
/PHP-7.2/ext/date/tests/
H A Dbug52808.phpt14 foreach($intervals as $iv) {
17 $di = new DateInterval($iv);
/PHP-7.2/ext/standard/
H A Dvar_unserializer.re320 iv = [+-]? [0-9]+;
322 nvexp = (iv | nv) [eE] iv;
720 "i:" iv ";" {
762 "d:" (iv | nv | nvexp) ";" {
845 /* use iv() not uiv() in order to check data range */
/PHP-7.2/ext/openssl/
H A Dopenssl.c372 ZEND_ARG_INFO(1, iv)
381 ZEND_ARG_INFO(0, iv)
408 ZEND_ARG_INFO(0, iv)
419 ZEND_ARG_INFO(0, iv)
6058 if (!iv && iv_len > 0) { in PHP_FUNCTION()
6121 if (iv) { in PHP_FUNCTION()
6122 zval_dtor(iv); in PHP_FUNCTION()
6192 if (!iv) { in PHP_FUNCTION()
6201 iv_buf = (unsigned char *)iv; in PHP_FUNCTION()
6646 efree(iv); in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/pcre/pcrelib/
H A DNEWS673 (iv) Added -f, --file to read patterns from a file.
H A DChangeLog4812 (iv) Strictly, the identifier ESC_t is reserved by POSIX (all identifiers
5319 (iv) The character escapes \b, \B, \d, \D, \s, \S, \w, and \W (either
5422 (iv) Added -f, --file to read patterns from a file.
/PHP-7.2/ext/date/lib/
H A Dparse_date.re266 { "iv", 0, 4 },
/PHP-7.2/
H A DNEWS2104 . Fixed bug #73808 (iv length warning too restrictive for aes-128-ccm).

Completed in 75 milliseconds