VGHSH.VV

Vector GCM Hash

VGHSH.VV vd, vs2, vs1

Performs GHASH multiply-add for AES-GCM.

Details

Performs a vectorised GHASH cryptographic round operation. Each element group undergoes one step of the cipher algorithm in parallel. See the Zvk vector crypto extension for full semantic details.

Pseudocode Operation

vd = GHASH_MulAdd(vd, vs1, vs2);

Example

VGHSH.VV v1, v4, v2

Encoding

Binary Layout
101100
31:26
1
25
vs2
24:20
vs1
19:15
010
14:12
vd
11:7
1010111
6:0
 
Format OPIVV
Opcode 0x57
Extension Zvkg

Operands

  • vd
    Accumulator
  • vs2
    Hash Key
  • vs1
    Data