[Resource Topic] 2011/647: Breaking $H^2$-MAC Using Birthday Paradox

Welcome to the resource topic for 2011/647

Breaking H^2-MAC Using Birthday Paradox

Authors: Fanbao Liu, Tao Xie, Changxiang Shen


H^2-MAC was proposed to increase efficiency over HMAC by omitting its outer key, and keep the advantage and security of HMAC at the same time. However, as pointed out by the designer, the security of H^2-MAC also depends on the secrecy of the intermediate value (the equivalent key) of the inner hashing. In this paper, we propose an efficient method to break H^2-MAC, by using a generalized birthday attack to recover the equivalent key, under the assumption that the underlying hash function is secure (weak collision resistance). We can successfully recover the equivalent key of H^2-MAC in about 2^{n/2} on-line MAC queries and 2^{n/2} off-line MAC computations with great probability. Moreover, we can improve the attack efficiency by reducing the on-line MAC queries, which can’t be done concurrently. This attack shows that the security of H^2-MAC is totally dependent on the (weak) collision resistance of the underlying hash function, instead of the PRF-AX of the underlying compression function in the origin security proof of H^2-MAC.

ePrint: https://eprint.iacr.org/2011/647

See all topics related to this paper.

Feel free to post resources that are related to this paper below.

Example resources include: implementations, explanation materials, talks, slides, links to previous discussions on other websites.

For more information, see the rules for Resource Topics .