ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/marvell/uboot/drivers/crypto/asr_hw_aes.h b/marvell/uboot/drivers/crypto/asr_hw_aes.h
new file mode 100644
index 0000000..ccb0610
--- /dev/null
+++ b/marvell/uboot/drivers/crypto/asr_hw_aes.h
@@ -0,0 +1,13 @@
+#ifndef H_ASR_HW_AES_H
+#define H_ASR_HW_AES_H
+
+
+int aes_ecb_encrypt(const uint8_t *key, uint32_t keylen, bool use_rkek,
+ const void* plaintext, void* ciphertext, size_t size);
+int aes_ecb_decrypt(const uint8_t *key, uint32_t keylen, bool use_rkek,
+ const void* ciphertext, void* plaintext, size_t size);
+int aes_cbc_encrypt(const uint8_t *iv, const uint8_t *key, uint32_t keylen,
+ bool use_rkek, const void* plaintext, void* ciphertext, size_t size);
+int aes_cbc_decrypt(const uint8_t *iv, const uint8_t *key, uint32_t keylen,
+ bool use_rkek, const void* ciphertext, void* plaintext, size_t size);
+#endif
\ No newline at end of file