MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / gfMul

Method gfMul

Libraries/unrar/rs16.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62uint RSCoder16::gfMul(uint a,uint b) // Multiplication in Galois field.
63{
64 return gfExp[gfLog[a]+gfLog[b]];
65}
66
67
68uint RSCoder16::gfInv(uint a) // Inverse element in Galois field.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected