def mul_inv_aes.s01110
bend-osdev-gf@0.1.1.0 · PROOF.bend:2412
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
2412def mul_inv_aes.s01110(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, True{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, True{}, True{}, False{}, b5, b6, b7})))) == 1 : U32}:
2413 match b5:
2414 case True{}:
2415 match b6:
2416 case True{}:
2417 match b7:
2418 case True{}:
2419 {==}
2420 case False{}:
2421 {==}
2422 case False{}:
2423 match b7:
2424 case True{}:
2425 {==}
2426 case False{}:
2427 {==}
2428 case False{}:
2429 match b6:
2430 case True{}:
2431 match b7:
2432 case True{}:
2433 {==}
2434 case False{}:
2435 {==}
2436 case False{}:
2437 match b7:
2438 case True{}:
2439 {==}
2440 case False{}:
2441 {==}