1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

CCM operations allow input == output

This commit is contained in:
Manuel Pégourié-Gonnard
2014-05-07 14:43:46 +02:00
parent aed6065793
commit 0f6b66dba1
3 changed files with 14 additions and 17 deletions

View File

@ -67,8 +67,6 @@ void ccm_free( ccm_context *ctx );
/**
* \brief CCM buffer encryption
*
* \todo Document if input/output buffers can be the same
*
* \param ctx CCM context
* \param length length of the input data in bytes
* \param iv nonce (initialization vector)
@ -100,8 +98,6 @@ int ccm_encrypt_and_tag( ccm_context *ctx, size_t length,
/**
* \brief CCM buffer authenticated decryption
*
* \todo Document if input/output buffers can be the same
*
* \param ctx CCM context
* \param length length of the input data
* \param iv initialization vector