US 12,282,771 B2
Addition mask value generator, encryptor and method for generating stream key
Kun-Yi Wu, Tainan (TW); and Yu-Shan Li, Tainan (TW)
Assigned to NUVOTON TECHNOLOGY CORPORATION, Hsinchu Science Park (TW)
Filed by Nuvoton Technology Corporation, Hsinchu Science Park (TW)
Filed on Dec. 29, 2022, as Appl. No. 18/090,818.
Claims priority of application No. 110149573 (TW), filed on Dec. 30, 2021.
Prior Publication US 2023/0214216 A1, Jul. 6, 2023
Int. Cl. G06F 9/30 (2018.01)
CPC G06F 9/30018 (2013.01) [G06F 9/3001 (2013.01); G06F 9/30029 (2013.01); G06F 9/30032 (2013.01); G06F 9/30038 (2023.08)] 20 Claims
OG exemplary drawing
 
1. An addition mask value generator for providing a first addition input mask value, a second addition input mask value, and an addition output mask value for a plurality of mask groups according to a first input mask value, a second input mask value, a third input mask value, a fourth input mask value, a first output mask value, a second output mask value, a third output mask value and a fourth output mask value, the addition mask value generator comprising:
a first operation circuit configured to obtain first intermediate data according to the first output mask value and the fourth output mask value;
a second operation circuit configured to obtain an addition output mask value of a first mask group of the mask groups according to the first intermediate data and the fourth input mask value;
a third operation circuit configured to obtain second intermediate data according to the second output mask value and the third output mask value; and
a fourth operation circuit configured to obtain an addition output mask value of a second mask group of the mask groups according to the second intermediate data and the second input mask value,
wherein a first addition input mask value of the first mask group is the first input mask value, and a second addition input mask value of the first mask group is the second input mask value,
wherein a first addition input mask value of the second mask group is the third input mask value, and a second addition input mask value of the second mask group is the first intermediate data.