Lines Matching refs:algorithm
933 struct mhash_bc_entry algorithm = mhash_to_hash[algo_number]; in mhash_init() local
934 if (algorithm.mhash_name == NULL) { in mhash_init()
938 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name); in mhash_init()
939 …zend_register_long_constant(buf, len, algorithm.value, CONST_CS | CONST_PERSISTENT, module_number); in mhash_init()
950 zend_long algorithm; in PHP_FUNCTION() local
956 algorithm = zval_get_long(z_algorithm); in PHP_FUNCTION()
959 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
960 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
980 zend_long algorithm; in PHP_FUNCTION() local
982 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
986 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
987 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1011 zend_long algorithm; in PHP_FUNCTION() local
1013 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
1018 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1019 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
1036 zend_long algorithm, l_bytes; in PHP_FUNCTION() local
1042 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1061 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
1062 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()