Home
last modified time | relevance | path

Searched refs:openssl_encrypt (Results 1 – 17 of 17) sorted by relevance

/PHP-8.1/ext/openssl/tests/
H A Dopenssl_encrypt_error.phpt2 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 Dopenssl_decrypt_basic.phpt2 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 Dopenssl_encrypt_gcm.phpt2 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 Dopenssl_encrypt_ocb.phpt2 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 Dopenssl_encrypt_ccm.phpt2 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 Dopenssl_encrypt_crash.phpt2 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 Dbug74099.phpt2 Bug #74099 Memory leak with openssl_encrypt()
14 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
H A Dbug54060.phpt2 Bug #54060 (Memory leak in openssl_encrypt)
13 openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2');
H A Dbug72362.phpt13 openssl_encrypt(
23 openssl_encrypt(
H A Dopenssl_decrypt_error.phpt13 $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 Dbug54061.phpt12 $cr = openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2');
H A Dbug71917.phpt15 $sealed = openssl_encrypt(
H A Dopenssl_error_string_basic.phpt78 openssl_encrypt($data, $method, $enc_key);
85 openssl_encrypt($data, $method, $enc_key);
H A Dopenssl_error_string_basic_openssl3.phpt80 openssl_encrypt($data, $method, $enc_key);
87 openssl_encrypt($data, $method, $enc_key);
/PHP-8.1/ext/openssl/
H A Dopenssl_arginfo.h440 ZEND_FUNCTION(openssl_encrypt);
508 ZEND_FE(openssl_encrypt, arginfo_openssl_encrypt)
H A Dopenssl.stub.php237 function openssl_encrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, s… function
H A Dopenssl.c7603 PHP_FUNCTION(openssl_encrypt) in PHP_FUNCTION() argument

Completed in 195 milliseconds