diff options
author | Lucas <30680577+Lucas-Wye@users.noreply.github.com> | 2024-03-02 15:03:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 23:03:14 -0800 |
commit | d3fcce5c25ab2ed5343516175182de8357c57f07 (patch) | |
tree | 708a006d7f317ee2312d6892beefe7c3c228b70b /rv_zvksed | |
parent | f7c71810cd75d52f5d613d9f752646e82533bf09 (diff) | |
download | riscv-opcodes-d3fcce5c25ab2ed5343516175182de8357c57f07.zip riscv-opcodes-d3fcce5c25ab2ed5343516175182de8357c57f07.tar.gz riscv-opcodes-d3fcce5c25ab2ed5343516175182de8357c57f07.tar.bz2 |
move opcode of zvb* (#236)
* move opcode of zvbb
* move all zvk* out
Diffstat (limited to 'rv_zvksed')
-rw-r--r-- | rv_zvksed | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rv_zvksed b/rv_zvksed new file mode 100644 index 0000000..b0b3037 --- /dev/null +++ b/rv_zvksed @@ -0,0 +1,8 @@ +# Zvksed - Vector Crypto SM4 (Block Cipher) + +# SM4 Key Expansion +vsm4k.vi 31..26=0x21 25=1 vs2 zimm5 14..12=0x2 vd 6..0=0x77 + +# SM4 Encryption/Decryption Rounds +vsm4r.vv 31..26=0x28 25=1 vs2 19..15=0x10 14..12=0x2 vd 6..0=0x77 +vsm4r.vs 31..26=0x29 25=1 vs2 19..15=0x10 14..12=0x2 vd 6..0=0x77 |