def gb4

bend-collections@1.0.0.0 · src/crypto/argon2/blamka.bend:25

import bend-collections@1.0.0.0/src/crypto/argon2/blamka.bend as Blamka
import Base
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/types.bend as T
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/lane.bend as L

25# GB (RFC 9106 section 3.6), one assignment pair per function.
26def gb4(+a2: T.Lane, +b1: T.Lane, +c2: T.Lane, +d2: T.Lane) -> T.Quad:
27  T.Q{a2,L.rot63(L.xor(b1,c2)),c2,d2}

Uses (4)

Used by (1)