From c59499ec0356f3bbc43e9bf64d6a3e19778bc1b2 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 11 Dec 2020 14:13:33 +0100 Subject: [PATCH] typo --- src/main/scala/vexriscv/plugin/AesPlugin.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/vexriscv/plugin/AesPlugin.scala b/src/main/scala/vexriscv/plugin/AesPlugin.scala index d41998b..0d4556a 100644 --- a/src/main/scala/vexriscv/plugin/AesPlugin.scala +++ b/src/main/scala/vexriscv/plugin/AesPlugin.scala @@ -6,9 +6,9 @@ import vexriscv.{DecoderService, Stageable, VexRiscv} /** * The AesPlugin allow to reduce the instruction count of each AES round by providing the following instruction : - * 1) aes_enc_round(rs1, rs2, sel). rd = rs1 ^ quad_mul(sel, sbox(byte_sel(rs2, sel))) + * 1) aes_enc_round(rs1, rs2, sel). rd = rs1 ^ quad_mul(sel, sbox(byte_sel(rs2, sel))) * 2) aes_enc_round_last(rs1, rs2, sel). rd = rs1 ^ quad_sbox(byte_sel(rs2, sel)) - * 3) aes_dec_round(rs1, rs2, sel). rd = rs1 ^ quad_inv_sbox(quad_mul(sel,byte_sel(rs2, sel))) + * 3) aes_dec_round(rs1, rs2, sel). rd = rs1 ^ quad_inv_sbox(quad_mul(sel,byte_sel(rs2, sel))) * 4) aes_dec_round_last(rs1, rs2, sel). rd = rs1 ^ quad_inv_sbox(byte_sel(rs2, sel)) * * Here is what those inner functions mean: