Lines Matching refs:algorithm

640 		struct mhash_bc_entry algorithm = mhash_to_hash[algo_number];  in mhash_init()  local
641 if (algorithm.mhash_name == NULL) { in mhash_init()
645 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name)); in mhash_init()
646 …zend_register_long_constant(buf, len + 1, algorithm.value, CONST_CS | CONST_PERSISTENT, module_num… in mhash_init()
656 long algorithm; in PHP_FUNCTION() local
664 algorithm = Z_LVAL_PP(z_algorithm); in PHP_FUNCTION()
667 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
668 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
688 long algorithm; in PHP_FUNCTION() local
690 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
694 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
695 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
719 long algorithm; in PHP_FUNCTION() local
721 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
726 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
727 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
744 long algorithm, l_bytes; in PHP_FUNCTION() local
750 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lssl", &algorithm, &password, &password_len,… in PHP_FUNCTION()
769 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
770 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()