首页>
外国专利>
Method and apparatus for efficient modulo multiplication
Method and apparatus for efficient modulo multiplication
展开▼
机译:有效模乘的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method of a hardware based Montgomery reduction contemplates preparing a table comprising a plurality of sets of values of 2K+i (mod n), 2K+i+1 (mod n) and (2K+i+2K+i+1)(mod n), where i=to M−2, n is a modulo number, K is an integer, and M is a number of significant bits in a binary Y; selecting one of the values within one of the plurality of sets of the table in dependence upon a value of two neighboring bits Yi+1,i of the binary Y; adding two neighboring selected values and calculating the modulo value of the sum value with the modulo number n; repeatedly adding two neighboring calculated modulo values and calculating the modulo value of the intermediate sum of the two neighboring calculated modulo values until only a single calculated module value is obtained; and setting the single value as the Montgomery representation.
展开▼
机译:一种基于硬件的蒙哥马利约简方法,其中包括准备一张包含2 K + i Sup>(mod n),2 K + i + 1 Sup>( mod n)和(2 K + i Sup> +2 K + i + 1 Sup>)(mod n),其中i = to M-2,n是模数, K是整数,M是二进制Y中的多个有效位;根据二进制Y的两个相邻位Y i + 1,i Sub>的值选择表的多个集合之一中的值之一;将两个相邻的选择值相加,并计算出模数为n的和值的模值;重复相加两个相邻的计算模值,并计算两个相邻的计算模值的中间和的模值,直到仅获得一个计算模块值为止;并将单个值设置为蒙哥马利表示形式。
展开▼