Home
last modified time | relevance | path

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

/PHP-7.2/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));
17 var_dump(openssl_encrypt($object, $method, $password));
18 var_dump(openssl_encrypt($data, $object, $password));
19 var_dump(openssl_encrypt($data, $method, $object));
20 var_dump(openssl_encrypt($arr, $method, $object));
21 var_dump(openssl_encrypt($data, $arr, $object));
22 var_dump(openssl_encrypt($data, $method, $arr));
25 var_dump(openssl_encrypt($data, $method, $password, 0, $iv, $wrong));
[all …]
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…
28 $encrypted = openssl_encrypt($data, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY);
33 string(45) "openssl_encrypt() and openssl_decrypt() tests"
34 string(45) "openssl_encrypt() and openssl_decrypt() tests"
35 string(45) "openssl_encrypt() and openssl_decrypt() tests"
36 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, NULL, $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_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, NULL, $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()
16 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
H A Dopenssl_decrypt_error.phpt13 $encrypted = openssl_encrypt($data, $method, $password);
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…
57 Warning: openssl_encrypt(): The authenticated tag cannot be provided for cipher that doesn not supp…
H A Dbug54060.phpt2 Bug #54060 (Memory leak in openssl_encrypt)
13 openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2');
H A Dbug72362.phpt11 openssl_encrypt(
21 openssl_encrypt(
H A Dbug54061.phpt12 $cr = openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2');
H A Dbug71917.phpt13 $sealed = openssl_encrypt(
H A Dopenssl_error_string_basic.phpt74 openssl_encrypt($data, $method, $enc_key);
81 openssl_encrypt($data, $method, $enc_key);
/PHP-7.2/ext/openssl/
H A Dopenssl.c126 PHP_FUNCTION(openssl_encrypt);
508 PHP_FE(openssl_encrypt, arginfo_openssl_encrypt)
6556 PHP_FUNCTION(openssl_encrypt) in PHP_FUNCTION() argument
/PHP-7.2/
H A DNEWS2228 . Fixed bug #74099 (Memory leak with openssl_encrypt()). (Andrew Nester)
2879 openssl_encrypt and openssl_decrypt). (Jakub Zelenka)

Completed in 60 milliseconds