Home
last modified time | relevance | path

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

/PHP-7.2/ext/hash/
H A Dhash_haval.c37 static const uint32_t K2[32] = { variable
160 …],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()
194 …],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()
230 …],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.c720 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; in PHP_FUNCTION() local
760 K2 = emalloc(ops->block_size); in PHP_FUNCTION()
767 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size); in PHP_FUNCTION()
798 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION()
811 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION()
821 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION()
824 efree(K2); in PHP_FUNCTION()

Completed in 10 milliseconds