23 #ifndef CRYPTO_GF128_h
24 #define CRYPTO_GF128_h
35 static void mulInit(uint32_t H[4],
const void *key);
36 static void mul(uint32_t Y[4],
const uint32_t H[4]);
37 static void dbl(uint32_t V[4]);
38 static void dblEAX(uint32_t V[4]);
39 static void dblXTS(uint32_t V[4]);
Operations in the Galois field GF(2^128).
static void dblXTS(uint32_t V[4])
Doubles a value in the GF(2^128) field using XTS conventions.
static void mulInit(uint32_t H[4], const void *key)
Initialize multiplication in the GF(2^128) field.
static void dblEAX(uint32_t V[4])
Doubles a value in the GF(2^128) field using EAX conventions.
static void mul(uint32_t Y[4], const uint32_t H[4])
Perform a multiplication in the GF(2^128) field.
static void dbl(uint32_t V[4])
Doubles a value in the GF(2^128) field.