vgmul.vv

Vector multiply over GHASH Galois-field

This instruction is defined by:

Encoding

svg

Synopsis

Multiplies the 128-bit element groups in vd (multiplier) and vs2 (multiplicand) over GF(2128) and writes the product to vd. The multiplication is a carry-less multiply of two 128-bit polynomials modulo the GHASH polynomial x128 + x7 + x2 + x + 1. This is the same as vghsh.vv with a zero cipher text block.

Access

M HS U VS VU

Always

Always

Always

Always

Always

Decode Variables

Bits<5> vs2 = $encoding[24:20];
Bits<5> vd = $encoding[11:7];

Execution

  • Pruned, XLEN == 64

  • Original