[Resource Topic] 2023/299: Approximate Modeling of Signed Difference and Digraph based Bit Condition Deduction: New Boomerang Attacks on BLAKE

Welcome to the resource topic for 2023/299

Title:
Approximate Modeling of Signed Difference and Digraph based Bit Condition Deduction: New Boomerang Attacks on BLAKE

Authors: Yonglin Hao, Qingju Wang, Lin Jiao, Xinxin Gong

Abstract:

The signed difference is a powerful tool for analyzing the Addition, XOR, Rotation (ARX) cryptographic primitives. Currently, solving the accurate model for the signed difference propagation is infeasible.
We propose an approximate MILP modeling method capturing the propagation rules of signed differences. Unlike the accurate signed difference model, the approximate model only focuses on active bits and ignores the possible bit conditions on inactive bits.
To overcome the negative effect of a lower accuracy arising from ignoring bit conditions on inactive bits, we propose an additional tool for deducing all bit conditions automatically.
Such a tool is based on a directed-graph capturing the whole computation process of ARX primitives by drawing links among intermediate words and operations.
The digraph is also applicable in the MILP model construction process:
it enables us to identify the parameters upper bounding the number of bit conditions so as to define the objective function; it is further used to connect the boomerang top and bottom signed differential paths by introducing proper constraints to avoid incompatible intersections.
Benefiting from the approximate model and the directed-graph based tool, the solving time of the new MILP model is significantly reduced,
enabling us to deduce signed differential paths efficiently and accurately.

To show the utility of our method, we propose boomerang attacks on the keyed permutations of three ARX hash functions of BLAKE.
For the first time we mount an attack on the full 7 rounds of BLAKE3, with the complexity as low as 2^{180}.
Our best attack on BLAKE2s can improve the previously best result by 0.5 rounds but with lower complexity.
The attacks on BLAKE-256 cover the same 8 rounds with the previous best result but with complexity 2^{16} times lower.
All our results are verified practically with round-reduced boomerang quartets.

ePrint: https://eprint.iacr.org/2023/299

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 .