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

/PHP_TRUNK/ext/hash/
H A Dhash.c605 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; local
640 K1 = emalloc(ops->block_size);
646 php_hash_hmac_prep_key(K1, ops, context, (unsigned char *) pass, pass_len);
647 /* Convert K1 to opad -- 0x6A = 0x36 ^ 0x5C */
648 php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size);
678 php_hash_hmac_round(digest, ops, context, K1, computed_salt, (zend_long) salt_len + 4);
691 php_hash_hmac_round(digest, ops, context, K1, digest, ops->digest_size);
701 ZEND_SECURE_ZERO(K1, ops->block_size);
704 efree(K1);

Completed in 4 milliseconds