← Home

vsha2cl.vv

Vector SHA-2 two rounds of compression, low part

Performs two rounds of SHA-2 compression (SHA-256 when SEW=32; SHA-512 when SEW=64, which requires Zvknhb). Two message schedule words from vs1 are processed with the eight words of current state held in vd and vs2 to produce four words of the next state, which are written to vd. `vsha2cl.vv` uses the two least significant message schedule words of the element group in vs1; `vsha2ch.vv` is identical except that it uses the two most significant.

This instruction has data-independent execution timing.

Assembly format

vsha2cl.vv vd, vs2, vs1

Encoding

313029282726252423222120191817161514131211109876543210
1011111vs2vs1010vd1110111

Decode variables

VariableBitsWidth
vs2[24:20]5
vs1[19:15]5
vd[11:7]5

No execution pseudocode is available for this instruction.

Defined by

Zvknha

Access

SUVSVU
AlwaysAlwaysAlwaysAlways

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.