S box masking method for SMS4
A technology of masking and masking values, which is applied in countermeasures against encryption mechanisms, encryption devices with shift registers/memory, digital transmission systems, etc. Small area, easy to achieve effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0061] Take the input x=10101010b (0xaa) and the mask value mask=01010101b (0x55) of the S box as an example:
[0062] Calculate L 1 (mask)=01111001b(0x79), this L 1 (mask) is the rand of S30, this step is to calculate S1
[0063] Calculate data1=L 1 (x+mask)+c 1 =00101100b (0x2c), this step is to calculate S2;
[0064] Calculate data1×L 1 (mask)=11111111b (0xff), this step is to calculate S31;
[0065] Calculation (L 1 (mask))^2=01110010b(0x72);
[0066] Calculate data1×L 1 (mask)+(L 1 (mask))^2=11011100b(0xdc), this step is to calculate S32;
[0067] Calculate(data1×L 1 (mask)+(L 1 (mask))^2)^(-1)=10111111b(0xdf), this step is S33, need to judge L 1 (x) is 0 or not, if it is 0, the pseudo-round key FKEY operation will be performed to interfere with power consumption, and the result of this step will be directly output as L 1 (mask);
[0068] calculate
[0069] (data1×L 1 (mask)+(L 1 (mask))^2)^(-1)+1=10111110b(0xde), this step is to calculate S34;
[0070]...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com