arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.15843cs.CR
收藏

论优化后的类Stern签名方案的安全性(及不安全性)

On the (In)security of optimized Stern-like signature schemes

André Chailloux, Simona Etinski

AI总结:

本文研究了优化后的类Stern签名方案的安全性,发现利用伪随机生成优化的攻击可在$O(2^{\fracλ{2}})$时间内破解声称$λ$比特安全性的方案,并提出通过添加$salt$字符串等高效修复方法,在仅增加$2λ$比特签名大小的同时确保$λ$比特安全性。

摘要:

Stern签名方案是一个具有历史重要性的基于编码的签名方案。该方案的一个关键优化是生成伪随机向量和置换来代替随机向量和置换,并且大多数基于Stern签名的提案都使用了这一优化。然而,其安全性尚未得到适当的分析,特别是当我们使用确定性承诺时。在本文中,我们研究了这一优化的安全性。我们首先表明,对于某些参数,存在一种攻击利用了这一优化,并在时间$O(2^{\fracλ{2}})$内打破了该方案,而其声称的安全性为$λ$比特。这尤其影响了最近的准循环Stern签名方案[BGMS22]。我们的第二个结果表明,针对这种攻击有一个高效的修复方法。通过在方案中添加一个字符串$salt \in \{0,1\}^{2λ}$,并稍微改变伪随机字符串的生成方式,我们不仅证明了我们的攻击无效,而且证明了对于任何攻击,该方案都能保持$λ$比特的安全性,并且此修复仅使总签名大小增加$2λ$比特。我们将此构造应用于Stern签名方案的其他优化,例如使用Lee度量或使用哈希树,并展示了这些优化如何改善Stern签名方案的签名长度。

英文摘要:

Stern's signature scheme is a historically important code-based signature scheme. A crucial optimization of this scheme is to generate pseudo-random vectors and a permutation instead of random ones, and most proposals that are based on Stern's signature use this optimization. However, its security has not been properly analyzed, especially when we use deterministic commitments. In this article, we study the security of this optimization. We first show that for some parameters, there is an attack that exploits this optimization and breaks the scheme in time $O(2^{\fracλ{2}})$ while the claimed security is $λ$ bits. This impacts in particular the recent Quasy-cyclic Stern signature scheme [BGMS22]. Our second result shows that there is an efficient fix to this attack. By adding a string $salt \in \{0,1\}^{2λ}$ to the scheme, and changing slightly how the pseudo-random strings are generated, we prove not only that our attack doesn't work but that for any attack, the scheme preserves $λ$ bits of security, and this fix increases the total signature size by only $2λ$ bits. We apply this construction to other optimizations on Stern's signature scheme, such as the use of Lee's metric or the use of hash trees, and we show how these optimizations improve the signature length of Stern's signature scheme.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑