发明名称 |
Method and apparatus for calculating a modular inverse |
摘要 |
Apparatus for calculating a classical modular inverse or a Montgomery modular inverse of an integer a (mod p), where p is a k-bit integer, comprising:
(1) a first calculating means operable to calculate an "Almost Montgomery Inverse" of a first input variable;
(2) a counting means z;
(3) a second calculating means operable to calculate a Montgomery modular product of the output from the first calculating means and the second input variable in the event that z=k;
(4) a third calculating means operable to calculate a Montgomery modular product of the output of the first calculating means and 2 2* k-z in the event that z‰ k;
(5) a fourth calculating means operable to calculate a Montgomery modular product of the output from the third calculating means and the second input variable in the event that z‰ k;
€ƒ€ƒ€ƒand further comprising a means of selecting a first and second input variable when calculating the classical modular inverse being different from the first and second input variables selected when calculating the Montgomery modular inverse.
|
申请公布号 |
EP1600852(A2) |
申请公布日期 |
2005.11.30 |
申请号 |
EP20050253278 |
申请日期 |
2005.05.27 |
申请人 |
THE QUEEN'S UNIVERSITY OF BELFAST |
发明人 |
MCIVOR, CIARAN JAMES;MCCANNY, JOHN VINCENT |
分类号 |
G06F7/72;(IPC1-7):G06F7/72 |
主分类号 |
G06F7/72 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|