Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector crypto additional extensions: Zvbc32e and Zvkgs #270

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rv_zvbc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Zvbc - Vector Carryless Multiplication
# Zvbc/Zvbce32 - Vector Carryless Multiplication

# Carryless Multiply
vclmul.vv 31..26=0x0C vm vs2 vs1 14..12=0x2 vd 6..0=0x57
Expand Down
8 changes: 8 additions & 0 deletions unratified/rv_zvkgs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Zvkgs - Vector-Scalar GCM/GMAC

# Vector Multiply over GHASH Galois-Field
vgmul.vs 31..26=0x29 25=1 vs2 19..15=0x11 14..12=0x2 vd 6..0=0x77

# Vector Add-Multiply over GHASH Galois-Field
vghsh.vs 31..26=0x23 25=1 vs2 vs1 14..12=0x2 vd 6..0=0x77

Loading