From e394dc73ee6266f744e37f268d6279d462af7d1f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 26 Sep 2024 14:47:29 -0400 Subject: lib: crypto: Implement AES message free functions Signed-off-by: Ian Moffett --- lib/include/crypto/aes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/include') diff --git a/lib/include/crypto/aes.h b/lib/include/crypto/aes.h index 5973323..ac4604b 100644 --- a/lib/include/crypto/aes.h +++ b/lib/include/crypto/aes.h @@ -47,4 +47,7 @@ int aes256_encrypt(const unsigned char *data, size_t len, int aes256_decrypt(struct aes_message *amp, const unsigned char *key, unsigned char **res); +int aes256_free_msg(struct aes_message *amp); +int aes256_free_plain(unsigned char *plain, size_t len); + #endif /* CRYPTO_AES_H_ */ -- cgit v1.2.3