Home
last modified time | relevance | path

Searched refs:openssl_decrypt (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/openssl/tests/
H A Dopenssl_decrypt_error.phpt2 openssl_decrypt() error tests
7 $data = "openssl_decrypt() tests";
16 var_dump(openssl_decrypt($encrypted, $method, $wrong));
17 var_dump(openssl_decrypt($encrypted, $wrong, $password));
18 var_dump(openssl_decrypt($wrong, $method, $password));
19 var_dump(openssl_decrypt($wrong, $wrong, $password));
20 var_dump(openssl_decrypt($encrypted, $wrong, $wrong));
21 var_dump(openssl_decrypt($wrong, $wrong, $wrong));
30 Warning: openssl_decrypt(): Unknown cipher algorithm in %s on line %d
34 Warning: openssl_decrypt(): Unknown cipher algorithm in %s on line %d
[all …]
H A Dopenssl_decrypt_basic.phpt2 openssl_decrypt() tests dependent on openssl_encrypt
7 $data = "openssl_encrypt() and openssl_decrypt() tests";
17 $output = openssl_decrypt($encrypted, $method, $password, 0, $iv);
20 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA, $iv);
25 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $i…
28 $output2 = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $…
30 $output3 = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $…
36 $output = openssl_decrypt($encrypted, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY);
49 string(45) "openssl_encrypt() and openssl_decrypt() tests"
50 string(45) "openssl_encrypt() and openssl_decrypt() tests"
[all …]
H A Dopenssl_decrypt_ocb.phpt2 openssl_decrypt() with OCB cipher algorithm tests
18 $pt = openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
24 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
28 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
32 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
36 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
54 Warning: openssl_decrypt(): Setting of IV length for AEAD mode failed in %s on line %d
57 Warning: openssl_decrypt(): Setting of IV length for AEAD mode failed in %s on line %d
H A Dopenssl_decrypt_gcm.phpt2 openssl_decrypt() with GCM cipher algorithm tests
18 $pt = openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
24 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
27 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
30 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
48 Warning: openssl_decrypt(): Setting of IV length for AEAD mode failed in %s on line %d
H A Dopenssl_decrypt_ccm.phpt2 openssl_decrypt() with CCM cipher algorithm tests
19 $pt = openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
26 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
29 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
32 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
44 Warning: openssl_decrypt(): Setting of IV length for AEAD mode failed in %s on line %d
H A Dbug61124.phpt2 Bug #61124: Segmentation fault with openssl_decrypt
7 var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass'));
10 Warning: openssl_decrypt(): IV passed is only 4 bytes long, cipher expects an IV of precisely 16 by…
H A Dbug54061.phpt2 Bug #54061 (Memory leak in openssl_decrypt)
13 $dcr = openssl_decrypt($cr, 'des3', $pass, 0, '1qazxsw2');
/php-src/ext/openssl/
H A Dopenssl.stub.php631 function openssl_decrypt(string $data, string $cipher_algo, #[\SensitiveParameter] string $passphra…
H A Dopenssl_arginfo.h443 ZEND_FUNCTION(openssl_decrypt);
511 ZEND_FE(openssl_decrypt, arginfo_openssl_decrypt)
H A Dopenssl.c7844 PHP_FUNCTION(openssl_decrypt) in PHP_FUNCTION() argument

Completed in 38 milliseconds