summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-12-05 15:15:22 +0100
committerNiels Möller <nisse@lysator.liu.se>2022-12-05 15:15:22 +0100
commiteab7c2ce0628cad7ee2f3ab35498098d187e2373 (patch)
treeaf92464577e453c6ef3152c2a840ed575492a01b
parent3fbce8821d1d6c1c7a2a25c8e5ad9b186125bcdb (diff)
downloadnettle-eab7c2ce0628cad7ee2f3ab35498098d187e2373.tar.gz
Add FIXME comment on ccm_aes128_encrypt_message, API could be improved.
-rw-r--r--ccm.h3
1 files changed, 3 insertions, 0 deletions
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,