Pairing (Weil/Tate/Eta/Ate Pairing)
Table of Contents
1. Pairing
在密码学中,Pairing 是指两个加法群到一个乘法群的映射
- 双线性(Bilinearity),即
由上面两个式子,可推出 - 非退化性(Non-degeneracy):
if and only if . Similarly, if and only if . 也就是说 和 不能全都映射到 的单位元,我们对这种情况不感兴趣。 - 可计算性(Computability): 存在有效算法可以计算
。
非退化性和可计算性比较容易理解,不再介绍,下面再介绍一下“双线性”。我们知道,线性映射(Linear Function)是指一个函数满足:
2. Points of Finite Order (Torsion Points)
假设
3. Divisors
3.1. Divisors of rational functions
设有理函数
上面
我们定义 Divisor on Curve E
定义 Degree of a divisor 是前面定义式子中系数的和,即
当且仅当
4. Weil Pairing
设
4.1. Weil Pairing 计算实例
设
按定义计算 Weil Pairing 时,需要寻找满足条件的
取
类似地,我们可以得到
下面,我们按照 Weil Pairing 的定义进行计算
类似地,可以计算出
4.2. Miller 算法(快速寻找计算 Weil Pairing 的 )
Victor S. Miller 在 Short Programs for functions on Curves 中提出了快速寻找“满足 Weil Pairing 要求的
Miller 算法(摘自 An Introduction to Mathematical Cryptography, Second Edition)如图 1 所示。
Figure 1: Miller 算法寻找
4.3. 验证 Weil Pairing 满足双线性
有限域
取
记
5. Tate Pairing
Tate Pairing 由数学家 John Tate 提出,后来由数字家 Stephen Lichtenbaum 扩展。Tate Pairing 有时也称为 Tate–Lichtenbaum Pairing。由于 Tate Pairing 的计算效率比 Wail Pairing 要快一些,在密码学中,Tate Pairing 的应用更广。关于快速计算 Tate Pairing 的方法可以参考论文 Faster Computation of the Tate Pairing 。
设
5.1. Weil Pairing 和 Tate Pairing 关系
Weil Pairing 和 Tate Pairing 有关系
6. 其它 Pairing
由于 Tate Pairing 的计算量还是比较大,学者们提出了其它一些 Pairing。
6.1. Eta Pairing
Paulo S. L. M. Barreto 等在论文 Efficient Pairing Computation on Supersingular Abelian Varieties 中提出了 Eta Pairing。
6.2. Ate Pairing
F. Hess 等在论文 The Eta Pairing Revisited 中提出了 Ate Pairing。论文中交待了 Ate Pairing 名字的由来:
We call our new pairing the Ate pairing, pronounced eight. This is for two reasons, firstly it is like the Tate pairing, but faster (hence the missing ‘T’), it is also like the Eta pairing but it reverses the order of the arguments (and Ate is Eta spelled backwards).
7. 参考
An Introduction to Mathematical Cryptography, Second Edition
The Weil Pairing on Elliptic Curves and Its Cryptographic Applications