Invention Grant
- Patent Title: Method for performing an encryption with look-up tables, and corresponding encryption apparatus and computer program product
-
Application No.: US14661885Application Date: 2015-03-18
-
Publication No.: US09898623B2Publication Date: 2018-02-20
- Inventor: Filippo Melzani
- Applicant: STMicroelectronics S.r.l.
- Applicant Address: IT Agrate Brianza
- Assignee: STMICROELECTRONICS S.R.L.
- Current Assignee: STMICROELECTRONICS S.R.L.
- Current Assignee Address: IT Agrate Brianza
- Agency: Seed IP Law Group LLP
- Priority: ITTO2014A0267 20140331; ITTO2014A0268 20140331
- Main IPC: G06F21/72
- IPC: G06F21/72 ; H04L9/00 ; H04L9/06

Abstract:
An encryption method includes accessing a look-up table (LUT) to implement countermeasures against side-channel attacks, such as embedding masks. The LUT is initialized by writing initialization values in the LUT by applying an address-mask to input data that identify a location of said LUT and a data-mask to data to be stored at a location of the LUT. The method includes carrying out an initialization of the LUT that includes providing at least one second address-mask and one second data-mask; and computing corresponding initialization values as a function of a logic combination of the aforesaid first address-mask and second address-mask and of a logic combination of the aforesaid first data-mask and second data-mask. In the resulting table the address data are masked only by the second address-mask and the data are masked only by the second data-mask. The structure of the LUT may allow convenient implementation by initializing all the values of the LUT in parallel in one cycle.
Public/Granted literature
Information query