def hs.stb.g

bend-osdev-hashes@0.1.0.0 · streebog.bend:774

import bend-osdev-hashes@0.1.0.0/streebog.bend as Streebog
import Base
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs

774# g_N(h, m)
775def hs.stb.g(+t: HsStbTabs, n: Hs.HsW16, +h: Hs.HsW16, +m: Hs.HsW16) -> Hs.HsW16:
776  hs.stb.xor(hs.stb.xor(hs.stb.rounds(hs.stb.cs(), t, hs.stb.lps(t, hs.stb.xor(h, n)), m), h), m)

Uses (6)

Used by (3)