Home
last modified time | relevance | path

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

/PHP-7.0/ext/mcrypt/
H A Dmcrypt_filter.c157 MCRYPT mcrypt_module; in php_mcrypt_filter_create() local
210 mcrypt_module = mcrypt_module_open((char *)cipher, algo_dir, mode, mode_dir); in php_mcrypt_filter_create()
211 if (mcrypt_module == MCRYPT_FAILED) { in php_mcrypt_filter_create()
215 iv_len = mcrypt_enc_get_iv_size(mcrypt_module); in php_mcrypt_filter_create()
216 keyl = mcrypt_enc_get_key_size(mcrypt_module); in php_mcrypt_filter_create()
224 mcrypt_module_close(mcrypt_module); in php_mcrypt_filter_create()
236 result = mcrypt_generic_init(mcrypt_module, key, key_len, iv); in php_mcrypt_filter_create()
251 mcrypt_module_close(mcrypt_module); in php_mcrypt_filter_create()
256 data->module = mcrypt_module; in php_mcrypt_filter_create()
258 if (mcrypt_enc_is_block_mode(mcrypt_module)) { in php_mcrypt_filter_create()
[all …]

Completed in 6 milliseconds