From eab7c2ce0628cad7ee2f3ab35498098d187e2373 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niels=20M=C3=B6ller?= Date: Mon, 5 Dec 2022 15:15:22 +0100 Subject: [PATCH] Add FIXME comment on ccm_aes128_encrypt_message, API could be improved. --- ccm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ccm.h b/ccm.h index 0a742a5c..edab268a 100644 --- a/ccm.h +++ b/ccm.h @@ -193,6 +193,9 @@ void ccm_aes128_digest(struct ccm_aes128_ctx *ctx, size_t length, uint8_t *digest); +/* FIXME: For next API/ABI break: first argument should be const + struct aes128_ctx *, and similarly for other ccm_*_message + functions below. */ void ccm_aes128_encrypt_message(struct ccm_aes128_ctx *ctx, size_t nlength, const uint8_t *nonce, -- 2.47.2