Lines Matching refs:cipher
55 ZEND_ARG_INFO(0, cipher)
169 ZEND_ARG_INFO(0, cipher)
174 ZEND_ARG_INFO(0, cipher)
179 ZEND_ARG_INFO(0, cipher)
184 ZEND_ARG_INFO(0, cipher)
188 ZEND_ARG_INFO(0, cipher)
196 ZEND_ARG_INFO(0, cipher)
204 ZEND_ARG_INFO(0, cipher)
212 ZEND_ARG_INFO(0, cipher)
220 ZEND_ARG_INFO(0, cipher)
228 ZEND_ARG_INFO(0, cipher)
336 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
529 char *cipher, *cipher_dir; in PHP_FUNCTION() local
537 &cipher, &cipher_len, &cipher_dir, &cipher_dir_len, in PHP_FUNCTION()
543 cipher, in PHP_FUNCTION()
1036 char *cipher; in PHP_FUNCTION() local
1046 &cipher, &cipher_len, &module, &module_len) == FAILURE) { in PHP_FUNCTION()
1050 td = mcrypt_module_open(cipher, cipher_dir_string, module, module_dir_string); in PHP_FUNCTION()
1065 char *cipher; in PHP_FUNCTION() local
1075 &cipher, &cipher_len, &module, &module_len) == FAILURE) { in PHP_FUNCTION()
1079 td = mcrypt_module_open(cipher, cipher_dir_string, module, module_dir_string); in PHP_FUNCTION()
1094 char *cipher; in PHP_FUNCTION() local
1104 &cipher, &cipher_len, &module, &module_len) == FAILURE) { in PHP_FUNCTION()
1108 td = mcrypt_module_open(cipher, cipher_dir_string, module, module_dir_string); in PHP_FUNCTION()
1126 char *cipher; in PHP_FUNCTION() local
1133 &cipher, &cipher_len) == FAILURE) { in PHP_FUNCTION()
1139 td = mcrypt_module_open(cipher, cipher_dir_string, "ecb", module_dir_string); in PHP_FUNCTION()
1146 td = mcrypt_module_open(cipher, cipher_dir_string, "stream", module_dir_string); in PHP_FUNCTION()
1273 static void php_mcrypt_do_crypt(char* cipher, const char *key, int key_len, const char *data, int d… in php_mcrypt_do_crypt() argument
1283 td = mcrypt_module_open(cipher, cipher_dir_string, mode, module_dir_string); in php_mcrypt_do_crypt()
1337 char *cipher, *key, *data, *mode, *iv = NULL; in PHP_FUNCTION() local
1340 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssss|s", &cipher, &cipher_len, in PHP_FUNCTION()
1345 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_ENCRYPT, return… in PHP_FUNCTION()
1353 char *cipher, *key, *data, *mode, *iv = NULL; in PHP_FUNCTION() local
1356 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssss|s", &cipher, &cipher_len, in PHP_FUNCTION()
1361 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_DECRYPT, return… in PHP_FUNCTION()
1370 char *cipher, *key, *data, *iv = NULL; in PHP_FUNCTION() local
1377 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "ecb", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()
1386 char *cipher, *key, *data, *iv = NULL; in PHP_FUNCTION() local
1393 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "cbc", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()
1402 char *cipher, *key, *data, *iv = NULL; in PHP_FUNCTION() local
1409 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "cfb", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()
1418 char *cipher, *key, *data, *iv = NULL; in PHP_FUNCTION() local
1425 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "ofb", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()