bend-collections-laws-math
Search uses release 1.0.0.0 · 5,526 definitions
Definitions (5,526)
- def bv
- def and_stepone bit and the rest: (b + 2a) & (c + 2d) = b c + 2 (a & d)
- def bv_le
- def bv_and
- def to_nat_cona word's value, its low bit first
- def wandTHEOREM: Word.and is and_bits on the values
- def uand
- def and_joinTHEOREM: and on two limbs, (a1 + 2^k b1) & (a2 + 2^k b2) = a1 & a2 + 2^k (b1 & b2)
- def and64_valueTHEOREM: the 64-bit and of rand.bend is and_bits on the values
- def drsn double rounds, the model of the implementation's dr(dr(dr(dr(x))))
- def drs_correct
- def rounds_correctthe eight rounds on the initial state
- def block_correctTHEOREM: the implementation's block is C2SP's block ctr
- def group_correctTHEOREM: the implementation's group is C2SP's four permuted blocks ctr ..
- def vecthe state as the RFC list x[0..15]; like S.key_list on a key, it is stuck on an abstract state, so the checker never unfolds rounds of symbolic words it does not have to compare
- def dr_correctone double round is RFC 8439's inner_block
- def init_correct
- def cancelx + c - c = x
- def finish_correctthe key words added back, C2SP's subtractions of the constants and the counter, and the zero nonce words: the words the implementation keeps
- def interleave_correctthe interleaving is C2SP's permutation read as little-endian 64-bit words
- def app
- def drop64
- def restthe outputs of the current iteration after the groups already produced
- def nkthe key of the iteration after them
- def gw
- def invthe invariant: from state C{k, p, buf} the generator outputs buf, the rest of the iteration keyed by k, then C2SP's stream from the next key
- def streamTHEOREM: the generator keyed by k outputs C2SP's ChaCha8Rand stream keyed by k's eight words, for every key and every number of outputs
- def v
- def sub6363 - j = 11 + (52 - j)
- def shift_amtthe shift of the implementation: clz - 11 = 52 - j
- def exp_amt0the exponent field of the implementation: 1033 - clz = 970 + j
- def exp_amt
- def fits0
- def fits_up
- def fits_shiftx < 2^k gives x 2^a < 2^(a + k)
- def fits_lt11
- def hwthe high word the implementation builds: exponent field e, and the top 20 fraction bits of qh
- def bits
- def f12
- def hw_valueits value: 2^20 e + (qh mod 2^20), for e < 2^11
- def value_eta
- def encthe implementation's bits are encode(False, e, q mod 2^52) for the value q < 2^53 of the shifted significand
- def bl_le
- def x0
- def max_l
- def sub_add53
- def exX + r = 2947 for X = j + 2895, r = 52 - j
- def round_qround(q, X) for 2^52 <= q < 2^53 at the scale X = j + 2895 is pack(q, X)
- def pack_qpack(q, X) is the pattern with exponent field j + 970 and fraction q mod 2^52
- def Jthe bit length of 1 + np is 1 + J(np)
- def j52