The application discloses a Montgomery
modular multiplier based on parallel structure and coding, comprising a pre-computation storage unit, a
control unit and two groups of iterative computation modules, the iterative computation module comprising an
input selection control unit, a
multiplexer, a CSA addition unit, an output shift unit and a register group. The Montgomery
modular multiplier adds an additional shift compensation operation, decomposes the cyclic iterative computation of the
partial product into two groups of parallel computation, realizes two-way parallel of 2-base Montgomery modular multiplication, and reduces the cycle
delay of the original 2-base Montgomery modular multiplication to 1 / 2 of the original. In combination with the characteristics of the two-way
parallel design, the input data is re-encoded, the additional shift compensation operation and the
partial product are pre-computed, the original three additions are converted into a
multiplexing and an addition, the additional area overhead caused by the parallel of the circuit module is optimized, the critical path of the overall operation is shortened, and the Montgomery
modular multiplier can be better deployed in a lightweight application
scenario.