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

/PHP_5_5/ext/hash/
H A Dhash.c618 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2; local
653 K1 = emalloc(ops->block_size);
659 php_hash_hmac_prep_key(K1, ops, context, (unsigned char *) pass, pass_len);
660 /* Convert K1 to opad -- 0x6A = 0x36 ^ 0x5C */
661 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size);
691 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (long) salt_len + 4);
704 php_hash_hmac_round(digest, ops, context, K1, digest, ops->digest_size);
714 memset(K1, 0, ops->block_size);
717 efree(K1);

Completed in 3 milliseconds