bend-collections
Releases (1)
-
1.0.0.0 indexed
Definitions (4,483)
src/crypto/blake/blake2s/blake2s.bend
- def pad12
- def pad11
- def pad10
- def pad9
- def pad8
- def pad7
- def pad6
- def pad5
- def pad4
- def pad3
- def pad2
- def pad1
- def pad0
- def finish
- def blocks
- def initialParameter block for an unkeyed 32-byte digest: h0 = IV0 ^ 0x01010020.
- def leadingBlocks before the last one: max(1, ceil(length/64)) - 1.
- def unchecked
- def digest
- def checked
- def sized
- def blake2sBLAKE2s-256 of the first `length` bytes of `a` (four little-endian bytes per word): the eight little-endian digest words, or None when length exceeds 4 * the array capacity.
src/crypto/blake/blake2s/compress.bend
- def round
- def flag
- def init
- def finish
- def compressF(h, m, t, f): ten rounds, round r reading the words in SIGMA[r] order.
src/crypto/blake/blake2s/hex.bend
- def hex_digit_if
- def hex_digit
- def hex_word_go
- def hex_byte
- def hex_word
- def hex_walkFormatting helper consumes eight words; it does not create a digest list.
- def hex
src/crypto/blake/blake2s/types.bend
- type StateThe chaining value h[0..7] of RFC 7693.
- type VectorThe local work vector v[0..15] of the compression function F.
src/crypto/blake/blake3/blake3.bend
- def iv
- def read15GENERATED BEGIN (tools/generators/blake3/gen.py) Reads the 16 words of a block at word `index`, threading the array.
- def read14
- def read13
- def read12
- def read11
- def read10
- def read9
- def read8
- def read7
- def read6
- def read5
- def read4
- def read3
- def read2
- def read1
- def read0
- def read_block
- def partialThe block truncated to its first `len` bytes: the word at byte offset pos keeps its low len - pos bytes (all four when at least four remain).
- def mask
- def mask_block
- def full_goA chunk that is not the last: n more full blocks after the current one, the current block in `pair`; flags is CHUNK_START on the first block and 0 after.
- def full_chunk
- def last_goThe last chunk: n full blocks before its last block of len bytes (1..64, or 0 for the empty message).
- def last_chunk
- def out_cv
- def root_cv
- def parent_block
- def parent_out
- def parent_cv
- type StackThe subtree stack, smallest subtree first: slot i is empty or holds the chaining value of a complete subtree of 2^i chunks.
- def push
- def finishFolds the stack into the pending output of the rightmost subtree.
- def pushed
- def chunksn chunks before the last; len is the byte length of the last chunk.
- def unchecked
- def digest
- def checked
- def sized
- def blake3
src/crypto/blake/blake3/compress.bend
- def rot16
- def rot12
- def rot8
- def rot7
- def columnG on the four columns, message words m0..m7.
- def diagonalG on the four diagonals, message words m8..m15.
- def roundOne round: the column step then the diagonal step.
- def fold
- def initThe initial state: the chaining value, IV[0..3], the counter (low word, then the high word, 0: an input has fewer than 2^32 chunks), the block length and the flags.
- def rounds7Seven rounds; round r takes the message words in the order of the permutation applied r times (the fixed BLAKE3 schedule).
- def compressThe compression function (hash mode, 32-byte output): the new chaining value is the low half of the final state xor its high half.
src/crypto/blake/blake3/hex.bend
- def hex_digit_if
- def hex_digit
- def hex_byte
- def hex_word
- def hex_walk
- def hexThe digest words as lowercase hex, bytes in little-endian word order.
src/crypto/blake/blake3/types.bend
- type CVA chaining value: eight 32-bit words.
- type BlockA 64-byte message block: sixteen little-endian 32-bit words.
- type StThe compression state: sixteen 32-bit words.
- type OutA node whose compression is still pending: its input chaining value, block, counter, block length and flags.