[sw, aes] Use dif_aes in the driver
Switch AES driver to use dif_aes.
Signed-off-by: Silvestrs Timofejevs <silvestrst@lowrisc.org>
diff --git a/sw/device/lib/aes.c b/sw/device/lib/aes.c
index a594ab5..5255f31 100644
--- a/sw/device/lib/aes.c
+++ b/sw/device/lib/aes.c
@@ -7,6 +7,11 @@
#include "aes_regs.h" // Generated.
#include "hw/top_earlgrey/sw/autogen/top_earlgrey.h"
+// TODO:
+// 1) Refactor to use use dif_aes.
+// 2) Verify that test still works.
+// 3) Use dif_aes directly in the test (probably remove this file).
+
#define AES0_BASE_ADDR TOP_EARLGREY_AES_BASE_ADDR
#define AES_NUM_REGS_KEY 8
#define AES_NUM_REGS_IV 4
diff --git a/sw/device/lib/aes.h b/sw/device/lib/aes.h
index 103ee50..bd5e2c2 100644
--- a/sw/device/lib/aes.h
+++ b/sw/device/lib/aes.h
@@ -9,6 +9,11 @@
#include <stddef.h>
#include <stdint.h>
+// TODO:
+// 1) Refactor to use use dif_aes.
+// 2) Verify that test still works.
+// 3) Use dif_aes directly in the test (probably remove this file).
+
/**
* Supported AES operation modes: encode or decode.
*/