Definition bendian l: Z := lendian (rev l).

(* Specifications: *)
Lemma bendian_app l1 l2: bendian (l1++l2) = bendian l2 + 2^(8*Zlength l2) * bendian l1.
Lemma bendian_range l: 0 <= bendian l < 2^(8*Zlength l).
Lemma Zlor_2powpos_add a b (n:positive) (B: 0<=b <Z.pow_pos 2 n): a * Z.pow_pos 2 n + b = Z.lor (a * Z.pow_pos 2 n) b.
Lemma Byte_unsigned_range_32 b: 0 <= Byte.unsigned b <= Int.max_unsigned.
Lemma Byte_unsigned_range_64 b: 0 <= Byte.unsigned b <= Int64.max_unsigned.
Lemma dl64_spec_ok: semax_body SalsaVarSpecs SalsaFunSpecs f_dl64 dl64_spec.
Lemma div_bound u n (N:1<n): 0 <= Int.unsigned u / n <= Int.max_unsigned.
Lemma ST32_spec_ok: semax_body SalsaVarSpecs SalsaFunSpecs f_st32 st32_spec.