CPC H04L 9/004 (2013.01) [G06F 7/588 (2013.01); G06F 17/11 (2013.01); G06F 21/556 (2013.01); G06F 21/72 (2013.01); G06F 21/755 (2017.08); G06F 21/78 (2013.01); H04L 9/0869 (2013.01); G06F 7/722 (2013.01); G06F 21/55 (2013.01)] | 17 Claims |
1. A device comprising:
a random number generator configured to generate a random number;
a memory configured to store at least one lookup table; and
a processing circuit configured to generate a generator based on the random number, create the at least one lookup table based on the generator, and write the at least one lookup table to the memory,
wherein the processing circuit is configured to access the memory based on a first input and a second input, and generate a result of a modular multiplication of the first input by the second input based on the at least one lookup table, and
wherein the processing circuit is configured to obtain a plurality of candidate generators smaller than a modulus of the modular multiplication based on the modulus of the modular multiplication, and select one of the plurality of candidate generators based on the random number.
|