The invention relates to method of performing a modular multiplication using numbers with 2n bits. The method includes the steps of breaking the numbers (A, B) down into a 2n base or a U base, U being a suitable integer; and, subsequently, performing MultModDiv—and/or MultModDivlnit-type elementary operations on the numbers with n bits resulting from the first step. The invention also relates to a method of calculating a Euclidean multiplication/division. The invention can be used for cryptographic calculations.
展开▼
机译:本发明涉及使用具有2n位的数字执行模乘的方法。该方法包括将数字(A,B)分解为2 n Sup>个基数或U个基数的步骤,U是合适的整数;然后,对第一步产生的n位数字执行MultModDiv和/或MultModDivlnit类型的基本运算。本发明还涉及一种计算欧几里得乘法/除法的方法。本发明可以用于密码计算。
展开▼