Searched refs:K2 (Results 1 – 2 of 2) sorted by relevance
/PHP-7.0/ext/hash/ |
H A D | hash.c | 613 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; in PHP_FUNCTION() local 649 K2 = emalloc(ops->block_size); in PHP_FUNCTION() 656 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size); in PHP_FUNCTION() 687 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION() 700 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION() 710 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION() 713 efree(K2); in PHP_FUNCTION()
|
H A D | hash_haval.c | 37 static const php_hash_uint32 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()
|
Completed in 22 milliseconds