def mul_inv_aes.s10101
bend-osdev-gf@0.1.1.0 · PROOF.bend:2195
import bend-osdev-gf@0.1.1.0/PROOF.bend as PROOF
import Base
import bend-osdev-gf@0.1.1.0/gf.bend as G
2195def mul_inv_aes.s10101(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, False{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, False{}, True{}, b5, b6, b7})))) == 1 : U32}:
2196 match b5:
2197 case True{}:
2198 match b6:
2199 case True{}:
2200 match b7:
2201 case True{}:
2202 {==}
2203 case False{}:
2204 {==}
2205 case False{}:
2206 match b7:
2207 case True{}:
2208 {==}
2209 case False{}:
2210 {==}
2211 case False{}:
2212 match b6:
2213 case True{}:
2214 match b7:
2215 case True{}:
2216 {==}
2217 case False{}:
2218 {==}
2219 case False{}:
2220 match b7:
2221 case True{}:
2222 {==}
2223 case False{}:
2224 {==}