Searched refs:computed_salt (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/hash/ |
H A D | hash.c | 993 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; in PHP_FUNCTION() local 1055 computed_salt = safe_emalloc(salt_len, 1, 4); in PHP_FUNCTION() 1056 memcpy(computed_salt, (unsigned char *) salt, salt_len); in PHP_FUNCTION() 1062 computed_salt[salt_len] = (unsigned char) (i >> 24); in PHP_FUNCTION() 1063 computed_salt[salt_len + 1] = (unsigned char) ((i & 0xFF0000) >> 16); in PHP_FUNCTION() 1064 computed_salt[salt_len + 2] = (unsigned char) ((i & 0xFF00) >> 8); in PHP_FUNCTION() 1065 computed_salt[salt_len + 3] = (unsigned char) (i & 0xFF); in PHP_FUNCTION() 1067 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (zend_long) salt_len + 4); in PHP_FUNCTION() 1092 ZEND_SECURE_ZERO(computed_salt, salt_len + 4); in PHP_FUNCTION() 1095 efree(computed_salt); in PHP_FUNCTION()
|
Completed in 8 milliseconds