VSHA2CL.VV

Vector SHA-2 Compress Low

VSHA2CL.VV vd, vs2, vs1

Performs two rounds of SHA-2 compression using the two least significant message words in vs1.

Encoding

Binary Layout
1011111
31:25
vs2
24:20
vs1
19:15
010
14:12
vd
11:7
1110111
6:0
 
Format OPIVV
Opcode 0xBE002077
Extension Zvknha

Operands

  • vd
    State {c,d,g,h} (input); next state {a,b,e,f} (output)
  • vs2
    State {a,b,e,f}
  • vs1
    Message words plus round constants

Example

VSHA2CL.VV v1, v4, v2

Related

More in Zvknha

Description

Vector SHA-2 two rounds of compression (low). Identical to VSHA2CH.VV except that the two least significant message-schedule words of vs1 are used. With SEW=32 two rounds of SHA-256 are performed.

Operation

vd = SHA2_two_rounds(state_abef = vs2, state_cdgh = vd, W_plus_K = vs1[1:0]);