mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
CCM operations allow input == output
This commit is contained in:
parent
aed6065793
commit
0f6b66dba1
3 changed files with 14 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue