Home
last modified time | relevance | path

Searched refs:K2 (Results 1 – 2 of 2) sorted by relevance

/PHP-7.4/ext/hash/
H A Dhash_haval.c35 static const uint32_t K2[32] = { variable
158 …],E[M2[i]],E[M1[i]],E[M0[i]],E[M5[i]],E[M3[i]],E[M6[i]]),7) + ROTR(E[M7[i]],11) + x[I2[i]] + K2[i]; in PHP_3HAVALTransform()
192 …],E[M5[i]],E[M2[i]],E[M0[i]],E[M1[i]],E[M6[i]],E[M4[i]]),7) + ROTR(E[M7[i]],11) + x[I2[i]] + K2[i]; in PHP_4HAVALTransform()
228 …],E[M2[i]],E[M1[i]],E[M0[i]],E[M3[i]],E[M4[i]],E[M5[i]]),7) + ROTR(E[M7[i]],11) + x[I2[i]] + K2[i]; in PHP_5HAVALTransform()
H A Dhash.c727 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; in PHP_FUNCTION() local
767 K2 = emalloc(ops->block_size); in PHP_FUNCTION()
774 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size); in PHP_FUNCTION()
805 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION()
818 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION()
828 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION()
831 efree(K2); in PHP_FUNCTION()

Completed in 10 milliseconds