摘要 |
<p>A multiple modulus selector comprising:
a modulus recoder for receiving an n-bit modulus M, a previous sum, and a current partial product to generate a first selection signal;
a modulus selector for receiving the n-bit modulus M, the previous sum, the current partial product, and a multiplicand to generate a second selection signal; and
a multiplexer for receiving inputs -M, 0, M, and 2M and selecting one of the inputs based on the first selection signal in an integer modular multiplication mode and selecting one of the inputs based on the second selection signal in a polynomial modular multiplication mode.</p> |