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

/PHP_TRUNK/ext/hash/
H A Dhash.c616 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; local
651 K1 = emalloc(ops->block_size);
657 php_hash_hmac_prep_key(K1, ops, context, (unsigned char *) pass, pass_len);
658 /* Convert K1 to opad -- 0x6A = 0x36 ^ 0x5C */
659 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size);
689 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (zend_long) salt_len + 4);
702 php_hash_hmac_round(digest, ops, context, K1, digest, ops->digest_size);
712 ZEND_SECURE_ZERO(K1, ops->block_size);
715 efree(K1);

Completed in 4 milliseconds