aboutsummaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-09-26 14:47:29 -0400
committerIan Moffett <ian@osmora.org>2024-09-26 14:47:29 -0400
commite394dc73ee6266f744e37f268d6279d462af7d1f (patch)
tree33dcec46d82fe338f28f319414908648602a48a8 /lib/include
parent6ce0543f3d2f7bb6b8e681e162bfd111b1c7a336 (diff)
lib: crypto: Implement AES message free functions
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/crypto/aes.h3
1 files changed, 3 insertions, 0 deletions
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_ */