GCMPCLMULQDQMultiplier

This struct provides hardware accelerated multiplication in GF(2^128) using the Intel PCLMULQDQ instruction.

See: https://software.intel.com/sites/default/files/managed/72/cc/clmul-wp-rev-2.02-2014-04-20.pdf

package @safe
struct GCMPCLMULQDQMultiplier {}

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