Unverified Commit fbd4ca2e authored by Eric Gouriou's avatar Eric Gouriou
Browse files

Zvk: Implement Zvkg, Vector GCM/GMAC instruction



Implement the proposed instruction in Zvkg, vghmac.vv,
Vector Carryless Multiply Accumulate over GHASH Galois-Field.

The instruction performs one step of GHASH routine as described
in "NIST Special Publication 800-38D" a.k.a the AES-GCM specification.
The logic was written to closely track the pseudo-code
in the Zvk specification.

Signed-off-by: default avatarEric Gouriou <ego@rivosinc.com>
Co-authored-by: default avatarKornel Duleba <mindal@semihalf.com>
Signed-off-by: default avatarEric Gouriou <ego@rivosinc.com>
parent d633af2b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment