Lower Bounds on Key Derivation for Square-Friendly Applications

Maciej SkorskiSTACS 2017

TL;DR

This paper establishes that "square-friendly" cryptographic applications, which have a concentrated security advantage, are precisely those that allow for efficient key derivation from imperfect randomness sources. The authors provide tight lower bounds on this "square security," showing it's a necessary condition for practical key derivation techniques that save entropy.

What Problem Does This Paper Address?

In cryptography, we often assume perfect randomness to generate secure keys. However, real-world systems rely on imperfect, "weak" sources of randomness. A key challenge is to understand how to derive secure keys from these weak sources, minimizing the loss of randomness (entropy loss). Previous work identified a class of applications called "square-friendly" that are particularly good at this, allowing for significantly less entropy loss than general methods. This paper aims to prove that this "square-friendly" property isn't just a convenient feature but a fundamental requirement for these efficient key derivation schemes. They want to show that if an application allows for entropy savings or can securely use weak keys, it must be square-friendly.

Methods

The authors employ advanced mathematical techniques to establish their lower bounds. While previous work on square-friendly applications often used the Cauchy-Schwarz inequality, this paper delves deeper. They utilize convex optimization techniques and theory of circular matrices. Specifically, they characterize the distribution that maximizes an attacker's advantage under collision entropy constraints. This involves solving an optimization problem and then using the Karush-Kuhn-Tucker (KKT) conditions to derive the properties of the optimal solution. This allows them to precisely quantify the necessary "square security" for applications that exhibit certain desirable key derivation properties.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Square Security is Necessary, Not Just Sufficient: The paper's core insight is that "square security" (where the adversary's advantage is not only small on average but also concentrated) is not just a helpful property for key derivation but a necessary one. If an application can securely use weak keys or offers entropy savings via hashing, it must be square-friendly.
  • Characterizing Square-Friendly Applications: The work provides a formal characterization of square-friendly applications, showing they are precisely those that meet specific criteria related to weak key security or entropy savings.
  • Tight Bounds: The paper establishes lower bounds on square security that match existing positive results, indicating that the current understanding of square-friendly applications is essentially complete.
  • Convex Optimization as a Tool: The use of convex optimization provides a powerful new framework for analyzing security properties related to entropy and randomness, going beyond simpler inequalities.

Key Results

The paper presents several key theorems that establish lower bounds on square security:

  • Theorem 10 & 11: Any indistinguishability application that is secure with weak keys (bounded entropy deficiency) must possess a certain level of "strong security" or "square security." Specifically, if secure with min-entropy deficiency $d$, it must be $O(\epsilon)$-strongly secure, and if secure with collision entropy deficiency $d$, it must be $O(d^2)$-square-secure.
  • Theorem 12: If an application is secure with keys having collision entropy very close to the desired key length (i.e., small entropy deficiency $d \ll 1$), it must be $O(\sqrt{d})$-square-secure. This result is shown to be tight, matching previous positive results.
  • Theorem 13 & Corollary 14: These results demonstrate that if an application allows for entropy savings using universal hashing (a common key derivation technique), it must be square-secure. The bounds show that these savings are fundamentally limited by the application's inherent square security.

Limitations and Future Work

  • Complexity of Techniques: The paper acknowledges that while the positive results on square-friendly applications were derived using the Cauchy-Schwarz inequality, achieving tight lower bounds required more sophisticated machinery like convex optimization. This suggests that further advancements might also rely on such advanced mathematical tools.
  • "Pathological" Counterexamples: In one instance (Corollary 14), the authors mention the need to exclude "pathological" counterexamples by requiring hash functions to be efficiently computable and samplable. This hints at potential edge cases or theoretical constructions that might not be practical.
  • Future Directions: The paper's conclusion emphasizes that square security is both sufficient and necessary for practical key derivation from weak keys. This suggests that future research might focus on exploring the implications of this characterization for specific cryptographic constructions and potentially developing new primitives that inherently possess strong square-friendly properties.

Summary updated

BibTeX
@inproceedings{skorski2017lower,
  author = {Maciej Skorski},
  title = {{Lower Bounds on Key Derivation for Square-Friendly Applications}},
  booktitle = {STACS},
  year = {2017},
  url = {https://openreview.net/forum?id=zgRicnZy2e},
}
Figure