def mul_inv_aes.s00010

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

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

2784def mul_inv_aes.s00010(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.mul(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, True{}, False{}, b5, b6, b7})), G.Gf8.inv(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{False{}, False{}, False{}, True{}, False{}, b5, b6, b7})))) == 1 : U32}:
2785  match b5:
2786    case True{}:
2787      match b6:
2788        case True{}:
2789          match b7:
2790            case True{}:
2791              {==}
2792            case False{}:
2793              {==}
2794        case False{}:
2795          match b7:
2796            case True{}:
2797              {==}
2798            case False{}:
2799              {==}
2800    case False{}:
2801      match b6:
2802        case True{}:
2803          match b7:
2804            case True{}:
2805              {==}
2806            case False{}:
2807              {==}
2808        case False{}:
2809          match b7:
2810            case True{}:
2811              {==}
2812            case False{}:
2813              {==}

Uses (8)

Used by (1)