[Resource Topic] 2015/227: Tradeoff Cryptanalysis of Memory-Hard Functions

Welcome to the resource topic for 2015/227

Title:
Tradeoff Cryptanalysis of Memory-Hard Functions

Authors: Alex Biryukov, Dmitry Khovratovich

Abstract:

We explore time-memory and other tradeoffs for memory-hard functions, which are supposed to impose significant computational and time penalties if less memory is used than intended. We analyze three finalists of the Password Hashing Competition: Catena, which was presented at Asiacrypt 2014, \textsf{yescrypt} and Lyra2. We demonstrate that Catena’s proof of tradeoff resilience is flawed, and attack it with a novel \emph{precomputation tradeoff}. We show that using M^{4/5} memory instead of M we have no time penalties and reduce the AT cost by the factor of 25. We further generalize our method for a wide class of schemes with predictable memory access. For a wide class of data-dependent schemes, which addresses memory unpredictably, we develop a novel \emph{ranking tradeoff} and show how to decrease the time-memory and the time-area product by significant factors. We then apply our method to yescrypt and Lyra2 also exploiting the iterative structure of their internal compression functions. The designers confirmed our attacks and responded by adding a new mode for Catena and tweaking Lyra2.

ePrint: https://eprint.iacr.org/2015/227

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 .