def mul_inv_aes.s01000

bend-osdev-gf@0.1.1.0 · PROOF.bend:2598

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

2598def mul_inv_aes.s01000(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, False{}, False{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, True{}, False{}, False{}, False{}, b5, b6, b7})))) == 1 : U32}:
2599  match b5:
2600    case True{}:
2601      match b6:
2602        case True{}:
2603          match b7:
2604            case True{}:
2605              {==}
2606            case False{}:
2607              {==}
2608        case False{}:
2609          match b7:
2610            case True{}:
2611              {==}
2612            case False{}:
2613              {==}
2614    case False{}:
2615      match b6:
2616        case True{}:
2617          match b7:
2618            case True{}:
2619              {==}
2620            case False{}:
2621              {==}
2622        case False{}:
2623          match b7:
2624            case True{}:
2625              {==}
2626            case False{}:
2627              {==}

Uses (8)

Used by (1)