/PHP-8.1/ext/openssl/tests/ |
H A D | openssl_encrypt_error.phpt | 2 openssl_encrypt() error tests 7 $data = "openssl_encrypt() tests"; 16 var_dump(openssl_encrypt($data, $wrong, $password)); 19 var_dump(openssl_encrypt($data, $method, $password, OPENSSL_DONT_ZERO_PAD_KEY, $iv)); 22 Warning: openssl_encrypt(): Unknown cipher algorithm in %s on line %d 25 Warning: openssl_encrypt(): Key length cannot be set for the cipher algorithm in %s on line %d
|
H A D | openssl_decrypt_basic.phpt | 2 openssl_decrypt() tests dependent on openssl_encrypt 7 $data = "openssl_encrypt() and openssl_decrypt() tests"; 16 $encrypted = openssl_encrypt($data, $method, $password, 0, $iv); 19 $encrypted = openssl_encrypt($data, $method, $password, OPENSSL_RAW_DATA, $iv); 24 $encrypted = openssl_encrypt($padded_data, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDIN… 35 $encrypted = openssl_encrypt($data, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY); 44 openssl_encrypt($data, $method, $password, 0, $iv, $tag); 49 string(45) "openssl_encrypt() and openssl_decrypt() tests" 50 string(45) "openssl_encrypt() and openssl_decrypt() tests" 51 string(45) "openssl_encrypt() and openssl_decrypt() tests"
|
H A D | openssl_encrypt_gcm.phpt | 2 openssl_encrypt() with GCM cipher algorithm tests 18 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 25 var_dump(openssl_encrypt('data', $method, 'password', 0, '', $tag, '')); 28 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 32), $tag, '', 20)); 31 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 32))); 53 Warning: openssl_encrypt(): Setting of IV length for AEAD mode failed in %s on line %d 56 Warning: openssl_encrypt(): Retrieving verification tag failed in %s on line %d 59 Warning: openssl_encrypt(): A tag should be provided when using AEAD mode in %s on line %d
|
H A D | openssl_encrypt_ocb.phpt | 2 openssl_encrypt() with OCB cipher algorithm tests 18 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 25 var_dump(openssl_encrypt('data', $method, 'password', 0, '', $tag, '')); 28 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 12), $tag, '', 20)); 31 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 12))); 53 Warning: openssl_encrypt(): Setting of IV length for AEAD mode failed in %s on line %d 56 Warning: openssl_encrypt(): Setting tag length for AEAD cipher failed in %s on line %d 59 Warning: openssl_encrypt(): A tag should be provided when using AEAD mode in %s on line %d
|
H A D | openssl_encrypt_ccm.phpt | 2 openssl_encrypt() with CCM cipher algorithm tests 19 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 27 var_dump(openssl_encrypt('data', $method, 'password', 0, '', $tag, '')); 30 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 10), $tag, '', 14)); 34 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 16), $tag, '', 1024)); 47 Warning: openssl_encrypt(): Setting of IV length for AEAD mode failed in %s on line %d 52 Warning: openssl_encrypt(): Setting of IV length for AEAD mode failed in %s on line %d
|
H A D | openssl_encrypt_crash.phpt | 2 openssl_encrypt() crash with old OpenSSL 7 openssl_encrypt('', 'AES-128-CBC', 'foo'); 11 Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and n…
|
H A D | bug74099.phpt | 2 Bug #74099 Memory leak with openssl_encrypt() 14 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
|
H A D | bug54060.phpt | 2 Bug #54060 (Memory leak in openssl_encrypt) 13 openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2');
|
H A D | bug72362.phpt | 13 openssl_encrypt( 23 openssl_encrypt(
|
H A D | openssl_decrypt_error.phpt | 13 $encrypted = openssl_encrypt($data, $method, $password); 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 | bug54061.phpt | 12 $cr = openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2');
|
H A D | bug71917.phpt | 15 $sealed = openssl_encrypt(
|
H A D | openssl_error_string_basic.phpt | 78 openssl_encrypt($data, $method, $enc_key); 85 openssl_encrypt($data, $method, $enc_key);
|
H A D | openssl_error_string_basic_openssl3.phpt | 80 openssl_encrypt($data, $method, $enc_key); 87 openssl_encrypt($data, $method, $enc_key);
|
/PHP-8.1/ext/openssl/ |
H A D | openssl_arginfo.h | 440 ZEND_FUNCTION(openssl_encrypt); 508 ZEND_FE(openssl_encrypt, arginfo_openssl_encrypt)
|
H A D | openssl.stub.php | 237 function openssl_encrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, s… function
|
H A D | openssl.c | 7603 PHP_FUNCTION(openssl_encrypt) in PHP_FUNCTION() argument
|