Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以实现 wbsm4-nc 的算法吗 #2

Open
Timnf opened this issue Feb 23, 2023 · 0 comments
Open

可以实现 wbsm4-nc 的算法吗 #2

Timnf opened this issue Feb 23, 2023 · 0 comments

Comments

@Timnf
Copy link

Timnf commented Feb 23, 2023

可以实现 wbsm4-nc 的算法:
WBSM4-NC方案相较于肖-来白盒SM4实现方
案在方案架构上没有做出改变,只是对肖-来白盒SM4
查找表的输出部分添加了8 bit的非线性编码,以异
或表完成查找表结果的异或操作。WBSM4-NC方
案将查表结果进行异或后的结果的线性编码过程再
用查找表及异或操作代替,使得整个加密过程中与
密钥相关的中间状态都受到8 bit非线性编码的保
护。WBSM4-NC方案一轮的加密过程包含4个复合
仿射变换: 与 ,4个
密钥相关查找表,12个执行异或操作的16~8 bit查
找表,4个替换复合仿射编码 的查找表
以及3个异或操作。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant