From f668bd18dfc11e2092f65c1cd13162cbe8975fbe Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Thu, 27 May 2021 11:48:00 +0200 Subject: [PATCH] Add migration guide for developers of CCM alternative implementation Signed-off-by: Ronald Cron --- docs/3.0-migration-guide.d/ccm-alt.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/3.0-migration-guide.d/ccm-alt.md diff --git a/docs/3.0-migration-guide.d/ccm-alt.md b/docs/3.0-migration-guide.d/ccm-alt.md new file mode 100644 index 0000000000..1abac7acdf --- /dev/null +++ b/docs/3.0-migration-guide.d/ccm-alt.md @@ -0,0 +1,9 @@ +CCM interface changes: impact for alternative implementations +------------------------------------------------------------- + +The CCM interface has changed with the addition of support for +multi-part operations. Five new API functions have been defined: +mbedtls_ccm_starts(), mbedtls_ccm_set_lengths(), +mbedtls_ccm_update_ad(), mbedtls_ccm_update() and mbedtls_ccm_finish(). +Alternative implementations of CCM (`MBEDTLS_CCM_ALT`) have now to +implement those additional five API functions.