3 matches found
pairing
基于配对的密码学的优化 本仓库包含与一系列持续发布的博客文章相对应的可运行 Rust 代码,这些文章以 BLS12-381 作为参考曲线,介绍基于配对的密码学中的优化。 请注意: 本代码仅供教学用途,未经安全审计,不适合用于生产环境。使用风险自负。 Montgomery 算术(第 1 部分,共 2 部分) 本文将从头到尾介绍模块化 Montgomery 算术,包括背景、替代方案、理论及 Rust 中的实用可运行代码,其运行速度比通用大整数实现快 9 倍 。下一篇博客文章将进一步优化(相对)重量级的乘法例程,采用裸机 x86-64 汇编语言编写。...
CVE-2017-1000413
Linaro's open source TEE solution called OP-TEE, version 2.4.0 and older is vulnerable a timing attack in the Montgomery parts of libMPA in OP-TEE resulting in a compromised private RSA key...
SUSE CVE-2015-8618
The Int.Exp Montgomery code in the math/big library in Go 1.5.x before 1.5.3 mishandles carry propagation and produces incorrect output, which makes it easier for attackers to obtain private RSA keys via unspecified vectors...