blake3_rotate_words
stdlib/blake3/blake3_rotate_words.nbv
blake3_rotate_words(row, static k)
Rotate the 4 words of every 128-bit group of row left by k words, k in 1..4
- Calls
slice- Precompiles
clone!,concat!,div_exact!,len!,loop_flat_map!- Used by
blake3/blake3_rotate_rows
Source
# Rotate the 4 words of every 128-bit group of `row` left by `k` words, k in
# 1..4
(row, static k)
loop_flat_map! (div_exact! (len! row), 128), j {
concat! slice((clone! row), 128 * j + 32 * k, 128 - 32 * k), slice((clone! row), 128 * j, 32 * k)
}