def mul_inv_aes.s01001
bend-osdev-gf@0.1.1.0 · PROOF.bend:2567
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
2567def mul_inv_aes.s01001(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, False{}, False{}, True{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, False{}, False{}, True{}, b5, b6, b7})))) == 1 : U32}:
2568 match b5:
2569 case True{}:
2570 match b6:
2571 case True{}:
2572 match b7:
2573 case True{}:
2574 {==}
2575 case False{}:
2576 {==}
2577 case False{}:
2578 match b7:
2579 case True{}:
2580 {==}
2581 case False{}:
2582 {==}
2583 case False{}:
2584 match b6:
2585 case True{}:
2586 match b7:
2587 case True{}:
2588 {==}
2589 case False{}:
2590 {==}
2591 case False{}:
2592 match b7:
2593 case True{}:
2594 {==}
2595 case False{}:
2596 {==}