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

/PHP_5_6/ext/hash/
H A Dhash.c613 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2; local
674 computed_salt = safe_emalloc(salt_len, 1, 4);
675 memcpy(computed_salt, (unsigned char *) salt, salt_len);
681 computed_salt[salt_len] = (unsigned char) (i >> 24);
682 computed_salt[salt_len + 1] = (unsigned char) ((i & 0xFF0000) >> 16);
683 computed_salt[salt_len + 2] = (unsigned char) ((i & 0xFF00) >> 8);
684 computed_salt[salt_len + 3] = (unsigned char) (i & 0xFF);
686 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (long) salt_len + 4);
711 memset(computed_salt, 0, salt_len + 4);
714 efree(computed_salt);
[all...]

Completed in 3 milliseconds