From ae384d56a4e70d8f5279777ce9898a697ab1a0c3 Mon Sep 17 00:00:00 2001 From: NaOHCC Date: Wed, 13 Dec 2023 17:07:26 +0800 Subject: [PATCH] Fix typo: "vaesfk" -> "vaeskf" --- doc/vector/code-samples/zvkned.s | 4 ++-- doc/vector/riscv-crypto-vector-inst-table.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/vector/code-samples/zvkned.s b/doc/vector/code-samples/zvkned.s index 1197a8f6..91cb9f3d 100644 --- a/doc/vector/code-samples/zvkned.s +++ b/doc/vector/code-samples/zvkned.s @@ -194,7 +194,7 @@ zvkned_aes256_expand_key: addi a1, a1, 16 # v4 and v8 contain the evolving key state during expansion, - # alternating holding key[i] and key[i-1] as inputs to vaesfk. + # alternating holding key[i] and key[i-1] as inputs to vaeskf. # For the initial 2 4-words, we copy the input key. # Round 0 expanded key, w[0, 3] (== input key LO). @@ -1509,7 +1509,7 @@ zvkned_aes256_encode_vv_lmul1: # Now that we have the first keys in v10/v11, we can iterate # to get all subsequent keys - # vaesfk generates w[4*(round+1) .. 4*(round+1)+3] in vd + # vaeskf generates w[4*(round+1) .. 4*(round+1)+3] in vd # from w[4*round .. 4*round+3] in vs2, # and w[4*(round-1) .. 4*(round-1)+3] in vd. vmv.v.v v12, v10 diff --git a/doc/vector/riscv-crypto-vector-inst-table.adoc b/doc/vector/riscv-crypto-vector-inst-table.adoc index 204bf9c0..255ca059 100644 --- a/doc/vector/riscv-crypto-vector-inst-table.adoc +++ b/doc/vector/riscv-crypto-vector-inst-table.adoc @@ -24,7 +24,7 @@ Crypto Vector instructions except Zvbb and Zvbc |100000||||| 100000 |V| | vsm3me | 100000 | | | | 100001 | | | | | 100001 |V| | vsm4k.vi | 100001 | | | -| 100010 | | | | | 100010 |V| | vaesfk1.vi | 100010 | | | +| 100010 | | | | | 100010 |V| | vaeskf1.vi | 100010 | | | | 100011 | | | | | 100011 | | | | 100011 | | | | 100100 | | | | | 100100 | | | | 100100 | | | | 100101 | | | | | 100101 | | | | 100101 | | | @@ -33,7 +33,7 @@ Crypto Vector instructions except Zvbb and Zvbc | | | | | | | | | | | | | | 101000 | | | | | 101000 |V| | *VAES.vv* | 101000 | | | | 101001 | | | | | 101001 |V| | *VAES.vs* | 101001 | | | -| 101010 | | | | | 101010 |V| | vaesfk2.vi | 101010 | | | +| 101010 | | | | | 101010 |V| | vaeskf2.vi | 101010 | | | | 101011 | | | | | 101011 |V| | vsm3c.vi | 101011 | | | | 101100 | | | | | 101100 |V| | vghsh | 101100 | | | | 101101 | | | | | 101101 |V| | vsha2ms | 101101 | | |