Index Mathematics Conjectures nbv lettuce Widgets

bytes_to_bits_static

stdlib/bits/bytes_to_bits_static.nbv

bytes_to_bits_static(static bytes)

Little-endian bits of a vector of static byte values, byte i at 8 i .. 8 i + 8

Calls
bits/to_bits_exact_static
Precompiles
len!, loop_flat_map!
Used by
blake3/blake3, blake3/blake3_compress, blake3/blake3_derive_key, chacha/chacha_block, dilithium/mldsa/mldsa44_verify_static, typed/typed_lex_chacha

Source

# Little-endian bits of a vector of static byte values, byte i at 8 i .. 8 i + 8
(static bytes)

static n = len! bytes
loop_flat_map! n, i {
  to_bits_exact_static(bytes[i], 8)
}