CPC G06F 21/556 (2013.01) [G06F 7/588 (2013.01); G06F 21/54 (2013.01); G06F 21/602 (2013.01)] | 8 Claims |
1. A method for preventing side-channel attack performed by one or more hardware processors, the method comprising:
generating an order table which includes a position index value for each bit value of a bit string that is secret information to be generated through a decryption algorithm of an Nth Degree Truncated Polynomial Ring Units (NTRU) LPRime algorithm, wherein the position index value for the each bit value indicates a position of the each bit value in the bit string;
shuffling a sort order of the position index value for the each bit value in the order table based on a random number;
determining a generation order for the each bit value according to the sort order of the position index value for the each bit value in the order table; and
generating the bit string through the decryption algorithm, wherein the bit string is generated by generating the each bit value according to the determined generation order.
|