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

Method gfMult

Libraries/unrar/rs.cpp:31–34  ·  view source on GitHub ↗

Multiplication over Galois field.

Source from the content-addressed store, hash-verified

29
30// Multiplication over Galois field.
31inline int RSCoder::gfMult(int a,int b)
32{
33 return(a==0 || b == 0 ? 0:gfExp[gfLog[a]+gfLog[b]]);
34}
35
36
37// Create the generator polynomial g(x).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected