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

/PHP_TRUNK/ext/hash/
H A Dhash.c605 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; local
666 computed_salt = safe_emalloc(salt_len, 1, 4);
667 memcpy(computed_salt, (unsigned char *) salt, salt_len);
673 computed_salt[salt_len] = (unsigned char) (i >> 24);
674 computed_salt[salt_len + 1] = (unsigned char) ((i & 0xFF0000) >> 16);
675 computed_salt[salt_len + 2] = (unsigned char) ((i & 0xFF00) >> 8);
676 computed_salt[salt_len + 3] = (unsigned char) (i & 0xFF);
678 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (zend_long) salt_len + 4);
703 ZEND_SECURE_ZERO(computed_salt, salt_len + 4);
706 efree(computed_salt);
[all...]

Completed in 4 milliseconds