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

/PHP_TRUNK/ext/hash/
H A Dhash.c616 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; local
677 computed_salt = safe_emalloc(salt_len, 1, 4);
678 memcpy(computed_salt, (unsigned char *) salt, salt_len);
684 computed_salt[salt_len] = (unsigned char) (i >> 24);
685 computed_salt[salt_len + 1] = (unsigned char) ((i & 0xFF0000) >> 16);
686 computed_salt[salt_len + 2] = (unsigned char) ((i & 0xFF00) >> 8);
687 computed_salt[salt_len + 3] = (unsigned char) (i & 0xFF);
689 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (zend_long) salt_len + 4);
714 ZEND_SECURE_ZERO(computed_salt, salt_len + 4);
717 efree(computed_salt);
[all...]

Completed in 3 milliseconds