Searched refs:computed_salt (Results 1 - 1 of 1) sorted by relevance

/PHP_5_6/ext/hash/
H A Dhash.c618 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2; local
679 computed_salt = safe_emalloc(salt_len, 1, 4);
680 memcpy(computed_salt, (unsigned char *) salt, salt_len);
686 computed_salt[salt_len] = (unsigned char) (i >> 24);
687 computed_salt[salt_len + 1] = (unsigned char) ((i & 0xFF0000) >> 16);
688 computed_salt[salt_len + 2] = (unsigned char) ((i & 0xFF00) >> 8);
689 computed_salt[salt_len + 3] = (unsigned char) (i & 0xFF);
691 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (long) salt_len + 4);
716 memset(computed_salt, 0, salt_len + 4);
719 efree(computed_salt);
[all...]

Completed in 3 milliseconds