16 byte block
test multiplication using 64k table
1 t { 2 immutable ubyte[16] H = cast(immutable ubyte[16]) x"66e94bd4ef8a2c3b884cfa59ca342b2e"; 3 ubyte[16] X1 = cast(immutable ubyte[16]) x"0388dace60b6a392f328c2b971b2fe78"; 4 5 GCMMultiplier64kTable mult = GCMMultiplier64kTable(H); 6 7 mult.multiply(X1); 8 9 assert(X1 == x"5e2ec746917062882c85b0685353deb7", "GF128 multiplication with 64k table failed!")
Multiply x by H and store result in x.