~/bend-docscommunity

LAWS.bend open laws/TODOs

raw source on the hub · import bend-osdev-gf@0.1.1.0/LAWS.bend as LAWS

GF(2^8) (gf.bend). For every reduction polynomial (every Gf8Field) and every input, multiplication is commutative and associative, distributes over addition, has 1 as its identity and 0 as its zero; addition is commutative and associative, with 0 as its identity and every element its own negative; xtime is multiplication by x; and powers add. (These are the laws of the ring GF(2)[x] modulo the polynomial, which hold whether or not the polynomial is irreducible.)

For the named fields (AES's 0x11B and Reed-Solomon's 0x11D, both irreducible): every nonzero element has an inverse, and is a power of the field's generator, its logarithm (checked for all 255 nonzero bytes).

Vectors: FIPS 197's worked products (section 4.2), the AES inverse of 0x53 (0xCA), and the Reed-Solomon powers of x. The tables (tables.bend), GF(2^128) (gf128.bend) and GF(2^m) (gfm.bend) laws follow.

6 imports
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
import ./gf.bend as G
import ./tables.bend as T
import ./gf128.bend as H
import ./gfm.bend as M

Laws

law mul_comm openits proof in PROOF.bend does not pass the checker (timeout)source · line 25 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> @+b:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, a, b) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, b, a) : U32}

law mul_assoc openits proof in PROOF.bend does not pass the checker (timeout)source · line 31 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> @+b:U32 -> @+c:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, a, b), c) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, a, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, b, c)) : U32}

law mul_distrib openits proof in PROOF.bend does not pass the checker (timeout)source · line 38 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> @+b:U32 -> @+c:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, a, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(b, c)) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, a, b), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, a, c)) : U32}

law mul_one openits proof in PROOF.bend does not pass the checker (timeout)source · line 45 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, 1, a) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.elt(a) : U32}

law mul_zero openits proof in PROOF.bend does not pass the checker (timeout)source · line 50 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, 0, a) == 0 : U32}

law xtime_mul_x openits proof in PROOF.bend does not pass the checker (timeout)source · line 55 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.xtime(f, a) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, 2, a) : U32}

law add_comm openits proof in PROOF.bend does not pass the checker (timeout)source · line 62 · raw

@+a:U32 -> @+b:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(a, b) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(b, a) : U32}

law add_assoc openits proof in PROOF.bend does not pass the checker (timeout)source · line 67 · raw

@+a:U32 -> @+b:U32 -> @+c:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(a, b), c) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(a, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(b, c)) : U32}

law add_zero openits proof in PROOF.bend does not pass the checker (timeout)source · line 73 · raw

@+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(a, 0) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.elt(a) : U32}

law add_self openits proof in PROOF.bend does not pass the checker (timeout)source · line 77 · raw

@+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.add(a, a) == 0 : U32}

law pow_add openits proof in PROOF.bend does not pass the checker (timeout)source · line 83 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> @+a:U32 -> @+m:Nat -> @+n:Nat -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.pow(f, a, Nat.add(m, n)) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(f, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.pow(f, a, m), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.pow(f, a, n)) : U32}

law mul_inv_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 92 · raw

@+a:U32 -> @nz:{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.is_zero(a) == False{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, a, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.inv(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, a)) == 1 : U32}

law mul_inv_rs openits proof in PROOF.bend does not pass the checker (timeout)source · line 97 · raw

@+a:U32 -> @nz:{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.is_zero(a) == False{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, a, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.inv(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, a)) == 1 : U32}

law exp_log_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 102 · raw

@+a:U32 -> @nz:{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.is_zero(a) == False{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.exp(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.log(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, a)) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.elt(a) : U32}

law exp_log_rs openits proof in PROOF.bend does not pass the checker (timeout)source · line 107 · raw

@+a:U32 -> @nz:{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.is_zero(a) == False{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.exp(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.log(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, a)) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.elt(a) : U32}

law inv_zero openits proof in PROOF.bend does not pass the checker (timeout)source · line 112 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gf.Gf8Field -> {0x783d0fad62351acb750d929ab748bb90/gf.Gf8.inv(f, 0) == 0 : U32}

law v_aes_mul openits proof in PROOF.bend does not pass the checker (timeout)source · line 120 · raw

{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87, 131) == 193 : U32}

law v_aes_mul13 openits proof in PROOF.bend does not pass the checker (timeout)source · line 123 · raw

{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87, 19) == 254 : U32}

law v_aes_xtime openits proof in PROOF.bend does not pass the checker (timeout)source · line 126 · raw

{[0x783d0fad62351acb750d929ab748bb90/gf.Gf8.xtime(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87, 4), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87, 8), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87, 16)] == [174, 71, 142, 7] : List<&2, U32>}

law v_aes_inv openits proof in PROOF.bend does not pass the checker (timeout)source · line 130 · raw

{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.inv(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 83) == 202 : U32}

the inverse of {53} is {ca} (the AES S-box's first step)

law v_rs_x8 openits proof in PROOF.bend does not pass the checker (timeout)source · line 135 · raw

{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.exp(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, 8n) == 29 : U32}

in the Reed-Solomon field x^8 = x^4 + x^3 + x^2 + 1 = 0x1D, and x has order 255 (x^255 = 1): x generates the field

law v_rs_order openits proof in PROOF.bend does not pass the checker (timeout)source · line 138 · raw

{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.exp(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, 255n) == 1 : U32}

law v_div openits proof in PROOF.bend does not pass the checker (timeout)source · line 141 · raw

{0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.div(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, 87, 131), 131) == 87 : U32}

law tab_mul_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 150 · raw

@+a:U32 -> @+b:U32 -> {0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.mul(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), a, b) == (0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, a, b)) : Pair(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32)}

law tab_mul_rs openits proof in PROOF.bend does not pass the checker (timeout)source · line 155 · raw

@+a:U32 -> @+b:U32 -> {0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.mul(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), a, b) == (0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, a, b)) : Pair(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32)}

law tab_log_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 160 · raw

@+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.log(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), a) == (0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), U32.from_nat(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.log(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, a))) : Pair(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32)}

law tab_log_rs openits proof in PROOF.bend does not pass the checker (timeout)source · line 164 · raw

@+a:U32 -> {0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.log(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), a) == (0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), U32.from_nat(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.log(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, a))) : Pair(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32)}

law tab_exp_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 168 · raw

@+i:U32 -> @+hi:{Nat.is_lt(U32.to_nat(i), 510n) == True{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.exp(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), i) == (0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.exp(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes, U32.to_nat(i))) : Pair(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32)}

law tab_exp_rs openits proof in PROOF.bend does not pass the checker (timeout)source · line 173 · raw

@+i:U32 -> @+hi:{Nat.is_lt(U32.to_nat(i), 510n) == True{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.exp(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), i) == (0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.exp(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, U32.to_nat(i))) : Pair(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32)}

law witness_tab_exp openits proof in PROOF.bend does not pass the checker (timeout)source · line 179 · raw

{Nat.is_lt(U32.to_nat(509), 510n) == True{} : Bool}

a witness for tab_exp's hypothesis: the last entry, 509

law v_tab_mul_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 182 · raw

{Pair.snd(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32, 0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.mul(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), 87, 131)) == 193 : U32}

law v_tab_inv_aes openits proof in PROOF.bend does not pass the checker (timeout)source · line 185 · raw

{Pair.snd(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32, 0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.inv(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.aes), 83)) == 202 : U32}

law v_tab_mul_rs openits proof in PROOF.bend does not pass the checker (timeout)source · line 188 · raw

{Pair.snd(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32, 0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.mul(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), 200, 77)) == 0x783d0fad62351acb750d929ab748bb90/gf.Gf8.mul(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs, 200, 77) : U32}

law v_tab_zero openits proof in PROOF.bend does not pass the checker (timeout)source · line 191 · raw

{Pair.snd(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab, U32, 0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.mul(0x783d0fad62351acb750d929ab748bb90/tables.Gf8Tab.new(0x783d0fad62351acb750d929ab748bb90/gf.Gf8.rs), 0, 77)) == 0 : U32}

law v_gcm_x1 openits proof in PROOF.bend does not pass the checker (timeout)source · line 205 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.mul_gcm(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(59300558, 1622582162, 4079534777, 1907555960), 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1726565332, 4018809915, 2286746201, 3392416558)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1580123974, 2440061576, 746958952, 1398005431) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

5e2ec746917062882c85b0685353deb7

law v_gcm_ghash openits proof in PROOF.bend does not pass the checker (timeout)source · line 210 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.ghash(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1726565332, 4018809915, 2286746201, 3392416558), [0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(59300558, 1622582162, 4079534777, 1907555960), 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(0, 0, 0, 128)]) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(4086086426, 3599901660, 3276110565, 3065051269) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

f38cbb1ad69223dcc3457ae5b6b0f885 (one block of C, then the lengths: 0 bits of A, 128 of C)

law v_cmac_k1 openits proof in PROOF.bend does not pass the checker (timeout)source · line 215 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.double_be(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(2113366796, 448305587, 1044574279, 3105576047)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(4226733592, 896611174, 2089148559, 1916184798) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

L = 7df76b0c1ab899b33e42f047b91b546f, K1 = fbeed618357133667c85e08f7236a8de, K2 = f7ddac306ae266ccf90bc11ee46d513b

law v_cmac_k2 openits proof in PROOF.bend does not pass the checker (timeout)source · line 218 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.double_be(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(4226733592, 896611174, 2089148559, 1916184798)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(4158499888, 1793222348, 4178297118, 3832369467) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

law v_gcm_mul_x openits proof in PROOF.bend does not pass the checker (timeout)source · line 222 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.mul_gcm(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328), 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1073741824, 0, 0, 0)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.mul_x_gcm(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328)) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

GCM's x is the block 0x40 00 .. 00: mul_x_gcm is multiplication by it

law v_gcm_mul_x_value openits proof in PROOF.bend does not pass the checker (timeout)source · line 225 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.mul_x_gcm(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(9544371, 3302352631, 4285422924, 992614664) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

law v_be_mul_x openits proof in PROOF.bend does not pass the checker (timeout)source · line 229 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.mul_be(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328), 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(0, 0, 0, 2)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.double_be(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328)) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

in big-endian order x is the number 2: double_be is multiplication by it

law v_be_mul openits proof in PROOF.bend does not pass the checker (timeout)source · line 232 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.mul_be(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328), 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1726565332, 4018809915, 2286746201, 3392416558)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(780021721, 1580971822, 2568813327, 4049188832) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

law v_xts_wrap openits proof in PROOF.bend does not pass the checker (timeout)source · line 236 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.double_le(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(0, 0, 0, 255)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(2264924160, 0, 0, 254) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

XTS: the top bit of byte 15 wraps round as 0x87 into byte 0

law v_xts_double openits proof in PROOF.bend does not pass the checker (timeout)source · line 239 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.double_le(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(19088743, 2309737967, 4275878552, 1985229328)) == 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(38177486, 307731423, 4256789809, 3987235872) : 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128}

law v_gf128_octets openits proof in PROOF.bend does not pass the checker (timeout)source · line 242 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_octets(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.to_octets(0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1726565332, 4018809915, 2286746201, 3392416558))) == Done{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_words(1726565332, 4018809915, 2286746201, 3392416558)} : Result<&2, &2, 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128Error, 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128>}

law v_gf128_short openits proof in PROOF.bend does not pass the checker (timeout)source · line 245 · raw

{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128.of_octets(0xe0217e1ab38629fddf738452c1f2a82e/bytes.Octets.zeros(15n)) == Fail{0x783d0fad62351acb750d929ab748bb90/gf128.Gf128BadLength{15n}} : Result<&2, &2, 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128Error, 0x783d0fad62351acb750d929ab748bb90/gf128.Gf128>}

law gfm_add_comm openits proof in PROOF.bend does not pass the checker (timeout)source · line 255 · raw

@+f:0x783d0fad62351acb750d929ab748bb90/gfm.GfmField -> @+a:U32 -> @+b:U32 -> {0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.add(f, a, b) == 0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.add(f, b, a) : U32}

law gfm_mul_comm_gf16 openits proof in PROOF.bend does not pass the checker (timeout)source · line 261 · raw

@+a:U32 -> @+b:U32 -> {0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.mul(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf16, a, b) == 0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.mul(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf16, b, a) : U32}

law gfm_mul_inv_gf16 openits proof in PROOF.bend does not pass the checker (timeout)source · line 266 · raw

@+a:U32 -> @nz:{U32.is_eq(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.elt(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf16, a), 0) == False{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.mul(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf16, a, 0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.inv(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf16, a)) == 1 : U32}

law gfm_mul_inv_gf32 openits proof in PROOF.bend does not pass the checker (timeout)source · line 271 · raw

@+a:U32 -> @nz:{U32.is_eq(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.elt(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf32, a), 0) == False{} : Bool} -> {0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.mul(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf32, a, 0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.inv(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.gf32, a)) == 1 : U32}

law v_bch13_x13 openits proof in PROOF.bend does not pass the checker (timeout)source · line 276 · raw

{0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.exp(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.bch13, 13) == 27 : U32}

law v_bch13_order openits proof in PROOF.bend does not pass the checker (timeout)source · line 279 · raw

{0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.exp(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.bch13, 8191) == 1 : U32}

law v_bch13_mul openits proof in PROOF.bend does not pass the checker (timeout)source · line 282 · raw

{0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.mul(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.bch13, 1234, 5678) == 4994 : U32}

law v_bch13_inv openits proof in PROOF.bend does not pass the checker (timeout)source · line 285 · raw

{0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.inv(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.bch13, 1234) == 2297 : U32}

law v_bch13_log openits proof in PROOF.bend does not pass the checker (timeout)source · line 288 · raw

{0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.log(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.bch13, 1664) == 100 : U32}

law v_bch14_mul openits proof in PROOF.bend does not pass the checker (timeout)source · line 291 · raw

{0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.mul(0x783d0fad62351acb750d929ab748bb90/gfm.Gfm.bch14, 12345, 6789) == 6882 : U32}