Home
last modified time | relevance | path

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

/PHP-7.4/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));
22 var_dump(openssl_decrypt(array(), $method, $password));
23 var_dump(openssl_decrypt($encrypted, array(), $password));
[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…
29 $output = openssl_decrypt($encrypted, "bf-ecb", $password, OPENSSL_DONT_ZERO_PAD_KEY);
39 string(45) "openssl_encrypt() and openssl_decrypt() tests"
40 string(45) "openssl_encrypt() and openssl_decrypt() tests"
41 string(45) "openssl_encrypt() and openssl_decrypt() tests"
42 string(45) "openssl_encrypt() and openssl_decrypt() tests"
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
8 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-7.4/ext/openssl/
H A Dopenssl.c126 PHP_FUNCTION(openssl_decrypt);
521 PHP_FE(openssl_decrypt, arginfo_openssl_decrypt)
6890 PHP_FUNCTION(openssl_decrypt) in PHP_FUNCTION() argument
/PHP-7.4/
H A DNEWS584 . Fixed bug #79983 (openssl_encrypt / openssl_decrypt fail with OCB mode).

Completed in 44 milliseconds