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

/PHP_5_6/ext/hash/
H A Dhash.c613 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2; local
648 K1 = emalloc(ops->block_size);
654 php_hash_hmac_prep_key(K1, ops, context, (unsigned char *) pass, pass_len);
655 /* Convert K1 to opad -- 0x6A = 0x36 ^ 0x5C */
656 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size);
686 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (long) salt_len + 4);
699 php_hash_hmac_round(digest, ops, context, K1, digest, ops->digest_size);
709 memset(K1, 0, ops->block_size);
712 efree(K1);

Completed in 19 milliseconds