def byte_xx

bend-osdev-legacy-ciphers@0.1.0.0 · PROOF.bend:8443

import bend-osdev-legacy-ciphers@0.1.0.0/PROOF.bend as PROOF
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B

8443def byte_xx(+h: U32, +k: U32) -> {B.byte(h) == B.byte(U32.xor(B.byte(U32.xor(h, k)), k)) : U32}:
8444  %byte_xor_byte(U32.xor(h, k), k) : {B.byte(h) == _ : U32}
8445  %u32_xx(h, k) : {B.byte(h) == B.byte(_) : U32}
8446  {==}

Uses (5)

Used by (1)