摘要 |
PURPOSE: A method for implementing a symmetric key encoding algorithm corresponding to a sub-channel attack is provided to calculate masked S-box by creating and storing an affine map table and a masked inversion table. CONSTITUTION: An affine conversion table is created and stored(S20). A masking inversion table is created and stored(S30). The masked S-box is calculated using the affine conversion table and the masking inversion table(S40). The affine conversion table and the masking inversion table are commonly used at every round. [Reference numerals] (AA) Start; (BB) Finish; (S10) Inversion table is stored; (S20) Affine conversion table is stored; (S30) Masking inversion table is stored; (S40) Masked S-box is calculated using the affine conversion table, the affine conversion table, and the masking inversion table
|