GCMMultiplier64kTable

This class provides table driven multiplication in GF(2^128). The 64k table is rather large and probably won't fit into the cache. Use the 8k table to avoid timing based leaks.

package @safe
struct GCMMultiplier64kTable {}

Members

Functions

init
void init(in ubyte[] H)

initialize the multiplicator

multiply
void multiply(ubyte[] x)

Multiply x by H and store result in x.

Meta