law init_correct

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/blake/blake2s/compress.bend:433

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake2s/compress.bend as Compress
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2s/types.bend as T
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2s/compress.bend as C
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2s.bend as R

433law init_correct:
434  for +h0: U32
435  for +h1: U32
436  for +h2: U32
437  for +h3: U32
438  for +h4: U32
439  for +h5: U32
440  for +h6: U32
441  for +h7: U32
442  for +t0: U32
443  for +t1: U32
444  for +last: Bool
445  {vec(C.init(T.H{h0,h1,h2,h3,h4,h5,h6,h7},t0,t1,last)) == R.invert(last,[h0,h1,h2,h3,h4,h5,h6,h7,1779033703,3144134277,1013904242,2773480762,U32.xor(1359893119,t0),U32.xor(2600822924,t1),528734635,1541459225]) : List<&2,U32>}

Uses (8)

Used by (1)