From eb11e662dbf6e2dc82c0ea265f4746a0e8e1bab8 Mon Sep 17 00:00:00 2001 From: Alexander Vasiljev Date: Mon, 23 May 2016 08:05:02 -0600 Subject: [PATCH] Modifications to the crypto API needed for LPC43xx. --- include/nuttx/crypto/crypto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/nuttx/crypto/crypto.h b/include/nuttx/crypto/crypto.h index 631dedd893..3433a72c9e 100644 --- a/include/nuttx/crypto/crypto.h +++ b/include/nuttx/crypto/crypto.h @@ -90,6 +90,9 @@ int up_cryptoinitialize(void); int up_aesinitialize(void); int aes_cypher(FAR void *out, FAR const void *in, uint32_t size, FAR const void *iv, FAR const void *key, uint32_t keysize, int mode, int encrypt); +int aes_init(FAR const void *iv, FAR const void *key, uint32_t keysize, int mode, + int encrypt); +int aes_update(FAR const void *out, uint32_t *outl, FAR const void *in, uint32_t inl); #endif #if defined(CONFIG_CRYPTO_ALGTEST)