MCPcopy Create free account
hub / github.com/OpenWhiteBox/AES / stepEncoding

Function stepEncoding

constructions/chow/keygen_primitives.go:118–124  ·  view source on GitHub ↗

stepEncoding returns a TyiEncoding if surface = common.Inside and a MBInverseEncoding if surface = common.Outside. It transparently swaps the two in the code that generates HighXORTable and LowXORTable. All randomness is derived from the random source. round is the current round; position is the by

(rs *random.Source, round, position, subPosition int, surface common.Surface)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

xorTablesFunction · 0.85
wordStepEncodingFunction · 0.85

Calls 2

tyiEncodingFunction · 0.85
mbInverseEncodingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…