Encryption/description method protected against side-channel attacks
US10862669B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Sep 20, 2017 |
| Grant date | Dec 8, 2020 |
| Priority date | — |
| Expiry date | Oct 27, 2038 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH04L2209/046
- WIPO fieldDigital communication
- WIPO sectorElectrical engineering
Abstract
The present invention relates to a method for encryption or decryption of a data block from a secret key, wherein the method comprises: generating a first round key kr dependent on the secret key, selecting each of a first mask (−br) and a second mask (−br+1) in a set consisting of a mask of bits all at one and a mask of all zero bits, calculating a first masked key kr′ from the first round key kr and the first mask (−br) as follows: kr′=kr⊕(−br) wherein ⊕ is an exclusive disjunction, executing a first encryption round applied to two first data dependent on the data block, by means of the first masked round key kr′ so as to produce two second data, after producing the first masked key kr′, generating a second round key kr+1 dependent on the secret key, calculating a second masked key kr+1′ from the second round key kr+1 and the second mask (−br+1) as follows: kr+1′=kr+1⊕(−br+1), calculating two third data Lrb, Rrbas follows: Rrb=Rrb⊕(−br−1)⊕(−br)Lrb=Lrb⊕(−br−1)⊕(−br) and executing a second encryption round following the first encryption round, wherein the second encryption round is applied to the two third data Lrb, Rrbby means of the second masked round key kr+1′.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.