任意阶高斯消元掩码及其在多变量与基于编码的后量子密码中的应用
Masking Gaussian Elimination at Arbitrary Order, with Application to Multivariate- and Code-Based PQC
AI总结:
本文提出首个针对多变量与基于编码的数字签名方案中高斯消元的任意阶掩码方案,在t-探测模型下证明安全,并评估了在UOV、MAYO等后量子候选方案上的开销,掩码实现开销约为未掩码的15倍。
摘要:
基于多变量和基于编码的困难问题的数字签名方案,因其签名尺寸小,是格基签名方案的有前景的替代方案。高斯消元(GE)是这些方案签名过程中的关键操作。在本文中,我们为带回代的高斯消元提供了一种掩码方案,以防御一阶及更高阶的攻击。据我们所知,这是首个针对多变量或基于编码的数字签名算法进行分析并提出掩码技术的工作。我们提出了一种将线性方程组转换为行阶梯形的掩码算法。这是通过引入高效技术使主元(pivot)元素变为1,同时避免在所有阶次上进行布尔掩码与乘法掩码之间代价高昂的转换来实现的。我们还提出了一种高效的掩码回代技术,最终能够安全地解除对公开输出的掩码。所有新提出的组件均在t-探测模型下被证明是安全的。此外,我们评估了我们的对策在多个后量子候选方案及其不同安全级别(一阶、二阶和三阶)下的开销,包括UOV、MAYO、SNOVA、QR-UOV和MQ-Sign。值得注意的是,在MAYO中,对于安全级别III和V,一阶、二阶和三阶掩码GE的操作成本比UOV高2.3倍,随机性成本高1.2倍。相比之下,在级别I的一个版本中,UOV和MAYO的这些成本相似。我们还展示了针对UOV所有三个安全版本的掩码GE实现在Arm Cortex-M4上的详细性能结果,并将其与未掩码的结果进行了比较。针对UOV参数,我们的掩码实现相对于未保护实现,在NIST安全级别I、III和V下的开销分别为15.1倍、15.2倍和15.4倍。
英文摘要:
Digital signature schemes based on multivariate- and code-based hard problems are promising alternatives for lattice-based signature schemes, due to their small signature size. Gaussian Elimination (GE) is a critical operation in the signing procedure of these schemes. In this paper, we provide a masking scheme for GE with back substitution to defend against first- and higher-order attacks. To the best of our knowledge, this work is the first to analyze and propose masking techniques for multivariate- or code-based DS algorithms. We propose a masked algorithm for transforming a system of linear equations into row-echelon form. This is realized by introducing techniques for efficiently making leading (pivot) elements one while avoiding costly conversions between Boolean and multiplicative masking at all orders. We also propose a technique for efficient masked back substitution, which eventually enables a secure unmasking of the public output. All novel gadgets are proven secure in the $t$-probing model. Additionally, we evaluate the overhead of our countermeasure for several post-quantum candidates and their different security levels at first-, second-, and third-order, including UOV, MAYO, SNOVA, QR-UOV, and MQ-Sign. Notably, the operational cost of first-, second-, and third-order masked GE is 2.3$\times$ higher, and the randomness cost is 1.2$\times$ higher in MAYO compared to UOV for security levels III and V. In contrast, these costs are similar in UOV and MAYO for one version of level I. We also show detailed performance results for masked GE implementations for all three security versions of UOV on the Arm Cortex-M4 and compare them with unmasked results. Our masked implementation targeting UOV parameters has an overhead of factor 15.1$\times$, 15.2$\times$, and 15.4$\times$ compared to the unprotected implementation for NIST security level I, III, and V.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。