From: Niels Möller Date: Mon, 5 Dec 2022 14:15:22 +0000 (+0100) Subject: Add FIXME comment on ccm_aes128_encrypt_message, API could be improved. X-Git-Tag: nettle_3.9_release_20230514~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eab7c2ce0628cad7ee2f3ab35498098d187e2373;p=thirdparty%2Fnettle.git Add FIXME comment on ccm_aes128_encrypt_message, API could be improved. --- 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,