VSHA2MS.VV
Vector SHA-2 Message Schedule
VSHA2MS.VV vd, vs2, vs1
Generates the next four SHA-2 message-schedule words.
Encoding
Binary Layout
1011011
31:25
vs2
24:20
vs1
19:15
010
14:12
vd
11:7
1110111
6:0
Operands
-
vd
Message words W[3:0] (input); next four words (output) -
vs2
Message words W[11], W[10], W[9], W[4] -
vs1
Most recent message words
Example
VSHA2MS.VV v1, v4, v2
Related
More in Zvknha
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Vector SHA-2 message schedule. Eleven of the last sixteen message-schedule words, taken from vd (oldest), vs2 and vs1 (most recent), are processed to produce the next four message-schedule words, written to vd.
Operation
vd = SHA256_MsgSched(vd, vs1, vs2);