RISC-V ISA Explorer · Vector Cryptography (Zvk*)
Zvknhb: Vector SHA-2 (full)
Ratified 2023-09 · version 1.0.0
Vector SHA-2 acceleration covering both SHA-256 and SHA-512, unlike the SHA-256-only Zvknha.
Typical use: SHA-512 hashing on vectors
Open Zvknhb in the explorerDependencies
Requires
Required by
Instructions (3)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
VSHA2CH.VV | Vector SHA-2 choose function | 1011101----------010-----1110111 | 0xba002077 | 0xfe00707f |
VSHA2CL.VV | Vector SHA-2 compression loop | 1011111----------010-----1110111 | 0xbe002077 | 0xfe00707f |
VSHA2MS.VV | Vector SHA-2 majority function | 1011011----------010-----1110111 | 0xb6002077 | 0xfe00707f |