Lines Matching refs:algorithm
1187 struct mhash_bc_entry algorithm = mhash_to_hash[algo_number]; in mhash_init() local
1188 if (algorithm.mhash_name == NULL) { in mhash_init()
1192 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name); in mhash_init()
1193 zend_register_long_constant(buf, len, algorithm.value, CONST_PERSISTENT, module_number); in mhash_init()
1202 zend_long algorithm; in PHP_FUNCTION() local
1207 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls|s!", &algorithm, &data, &data_len, &key, &key_len) … in PHP_FUNCTION()
1212 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1213 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1238 zend_long algorithm; in PHP_FUNCTION() local
1240 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
1244 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1245 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1267 zend_long algorithm; in PHP_FUNCTION() local
1269 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
1274 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1275 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1291 zend_long algorithm, l_bytes; in PHP_FUNCTION() local
1297 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1316 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1317 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()