sm4e

SM4 Encrypt (A32)

SM4E.32 <Qd>, <Qm>

SM4 encryption step.

Details

The SM4 Encrypt instruction sM4 encryption step.

Pseudocode Operation

// SM4 encryption step

Example

SM4E.32 q0, q2

Encoding

Binary Layout
11110011
1
D
11
10
10
Vd
00100
Q
M
1
Vm
 
Format Crypto 2-Reg
Opcode 0xF3BA0480
Extension Crypto (SM4)

Operands

  • Qd
    Destination 128-bit SIMD register
  • Qm
    Key