Searched refs:K2 (Results 1 – 2 of 2) sorted by relevance
/PHP-5.6/ext/hash/ |
H A D | hash.c | 618 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2; in PHP_FUNCTION() local 654 K2 = emalloc(ops->block_size); in PHP_FUNCTION() 661 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size); in PHP_FUNCTION() 692 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION() 705 php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size); in PHP_FUNCTION() 715 memset(K2, 0, ops->block_size); in PHP_FUNCTION() 718 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 8 milliseconds