Lines Matching refs:algorithm

790 		struct mhash_bc_entry algorithm = mhash_to_hash[algo_number];  in mhash_init()  local
791 if (algorithm.mhash_name == NULL) { in mhash_init()
795 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name)); in mhash_init()
796 …zend_register_long_constant(buf, len + 1, algorithm.value, CONST_CS | CONST_PERSISTENT, module_num… in mhash_init()
806 long algorithm; in PHP_FUNCTION() local
814 algorithm = Z_LVAL_PP(z_algorithm); in PHP_FUNCTION()
817 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
818 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
838 long algorithm; in PHP_FUNCTION() local
840 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
844 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
845 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
869 long algorithm; in PHP_FUNCTION() local
871 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
876 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
877 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
894 long algorithm, l_bytes; in PHP_FUNCTION() local
900 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lssl", &algorithm, &password, &password_len,… in PHP_FUNCTION()
919 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
920 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()