bend-collections
Releases (1)
-
1.0.0.0 indexed
Definitions (4,483)
src/crypto/sha/core.bend
- def small1
- def choose
- def majority
- def step
- def feedforward
- def get
- def next_word_slowReverse history: at round t, index j contains W[t-1-j].
- def next_wordSchedule histories always contain at least 16 words.
- def expand
- def schedule
- def rounds
- def compressCompression consumes an already expanded 64-word schedule.
- def expanded_roundsGenerate each derived schedule word immediately before its round.
- def schedule_roundsConsume the original block words, then continue directly with its expansion.
- def window_roundsA fixed rolling window drops schedule words as soon as they are older than 16 rounds.
- def window_schedule_rounds
- def fused_compress_slow
- def fused_compress
- def window_compress16Fast path for the 16-word blocks produced by block_bytes.
- def be32
- def length_octets
- def bit_length
- def pack
- def digest
- def block_bytesGeneric block decoder over a padded byte list and any constant table.
- def round_constantsFIPS 180-4 round constants, the table the specialized rounds below inline.
- def kr64SHA-256 round t (16 <= t < 64) with its constant as a literal.
- def kr63
- def kr62
- def kr61
- def kr60
- def kr59
- def kr58
- def kr57
- def kr56
- def kr55
- def kr54
- def kr53
- def kr52
- def kr51
- def kr50
- def kr49
- def kr48
- def kr47
- def kr46
- def kr45
- def kr44
- def kr43
- def kr42
- def kr41
- def kr40
- def kr39
- def kr38
- def kr37
- def kr36
- def kr35
- def kr34
- def kr33
- def kr32
- def kr31
- def kr30
- def kr29
- def kr28
- def kr27
- def kr26
- def kr25
- def kr24
- def kr23
- def kr22
- def kr21
- def kr20
- def kr19
- def kr18
- def kr17
- def kr16
- def fips_compress16window_compress16 specialized to the FIPS table: no constant list is walked.
- def suffixFIPS padding suffix for a message of n bytes, computed with modular arithmetic.
- def len_hiBig-endian words of the 64-bit message bit length 8n, computed from n with exactly the digit expressions bit_length produces, but without building and matching an eight-element list.
- def len_lo
- def fin0Final block(s) for an n-byte message ending in r = 0..63 tail bytes.
- def fin1
- def fin2
- def fin3
- def fin4
- def fin5
- def fin6
- def fin7
- def fin8
- def fin9
- def fin10
- def fin11
- def fin12
- def fin13
- def fin14
- def fin15
- def fin16
- def fin17
- def fin18
- def fin19
- def fin20