def rot32
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/lane.bend as Laneimport Base
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/types.bend as T
16# The four fixed right rotations of BLAKE2b.
17def rot32(a: T.Lane) -> T.Lane:
18 match a:
19 case T.W{lo,hi}: T.W{hi,lo}