def rot32

bend-collections@1.0.0.0 · src/crypto/blake/blake2b/lane.bend:16

import bend-collections@1.0.0.0/src/crypto/blake/blake2b/lane.bend as Lane
import 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}

Uses (1)

Used by (2)