mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
- Added extra comments explaining CBC mode should receive
multiples of block size as input.
This commit is contained in:
parent
cde51572df
commit
4c067eb92b
2 changed files with 5 additions and 1 deletions
|
|
@ -72,6 +72,8 @@ void camellia_crypt_ecb( camellia_context *ctx,
|
|||
|
||||
/**
|
||||
* \brief CAMELLIA-CBC buffer encryption/decryption
|
||||
* Length should be a multiple of the block
|
||||
* size (16 bytes)
|
||||
*
|
||||
* \param ctx CAMELLIA context
|
||||
* \param mode CAMELLIA_ENCRYPT or CAMELLIA_DECRYPT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue