CPC G06F 7/728 (2013.01) | 14 Claims |
1. An Integrated Montgomery Calculation Engine (IMCE) for multiplying two multiplicands modulo a predefined number, the IMCE comprising:
a Carry Save Adder (CSA) circuit, having multiple inputs, and having outputs comprising a sum output and a carry output; and
control circuitry, which is coupled to the inputs and the outputs of the CSA circuit and which is to operate the CSA circuit in at least (i) a first setting that calculates a Montgomery precompute value and (ii) a second setting that calculates a Montgomery multiplication of the two multiplicands,
wherein the control circuitry is to logically shift-left the sum output and the carry output of the CSA circuit in the first setting, to logically shift-right the sum output and the carry output of the CSA circuit in the second setting, and to couple the shifted sum output and the shifted carry output to respective inputs of the CSA circuit.
|