VGHSH.VV
Vector GCM Hash
VGHSH.VV vd, vs2, vs1
Performs GHASH multiply-add for AES-GCM.
Encoding
Binary Layout
1011001
31:25
vs2
24:20
vs1
19:15
010
14:12
vd
11:7
1110111
6:0
Operands
-
vd
Accumulator -
vs2
Hash Key -
vs1
Data
Example
VGHSH.VV v1, v4, v2
Related
More in Zvkg
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
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.
Operation
vd = GHASH_MulAdd(vd, vs1, vs2);