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()
1234 zend_long algorithm; in PHP_FUNCTION() local
1236 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
1240 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1241 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1263 zend_long algorithm; in PHP_FUNCTION() local
1265 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
1270 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1271 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1287 zend_long algorithm, l_bytes; in PHP_FUNCTION() local
1293 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1312 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1313 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()