def exp_log_aes.s10101

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

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

3328def exp_log_aes.s10101(+b5: Bool, +b6: Bool, +b7: Bool) -> {G.Gf8.exp(G.Gf8.aes(), G.Gf8.log(G.Gf8.aes(), fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, False{}, True{}, b5, b6, b7})))) == fixz(G.Gf8Bits.to(G.Gf8Bits{True{}, False{}, True{}, False{}, True{}, b5, b6, b7})) : U32}:
3329  match b5:
3330    case True{}:
3331      match b6:
3332        case True{}:
3333          match b7:
3334            case True{}:
3335              {==}
3336            case False{}:
3337              {==}
3338        case False{}:
3339          match b7:
3340            case True{}:
3341              {==}
3342            case False{}:
3343              {==}
3344    case False{}:
3345      match b6:
3346        case True{}:
3347          match b7:
3348            case True{}:
3349              {==}
3350            case False{}:
3351              {==}
3352        case False{}:
3353          match b7:
3354            case True{}:
3355              {==}
3356            case False{}:
3357              {==}

Uses (8)

Used by (1)