mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-11 03:26:17 +08:00
Updated SM3中的FF2和GG2函数 (markdown)
parent
73b1ca903e
commit
0d2048a58c
@ -40,7 +40,7 @@ GG2等价公式初次见于[Intel® Integrated Performance Primitives Cryptograp
|
||||
|
||||
# 证明
|
||||
Ask help https://math.stackexchange.com/questions/4775054/how-to-prove-below-two-logic-formulas
|
||||
GG2(X,Y,Z)
|
||||
$GG2(X,Y,Z)$
|
||||
= $(X \land Y) \bigoplus (\lnot X \land Z)$
|
||||
= $(\lnot (X \land Y) \land (\lnot X \land Z)) \lor ((X \land Y) \land (\lnot (\lnot X \land Z)))$
|
||||
= $((\lnot X \lor \lnot Y) \land (\lnot X \land Z)) \lor ((X \land Y) \land (X \lor \lnot Z))$
|
||||
|
Loading…
x
Reference in New Issue
Block a user