Skip to content
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 extensions/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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Zvbc/Zvbce32 - Vector Carryless Multiplication
# Zvbc/Zvbce32 - Vector Carry-less 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 extensions/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