mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 09:44:17 +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
@ -73,6 +73,8 @@ void aes_crypt_ecb( aes_context *ctx,
|
||||
|
||||
/**
|
||||
* \brief AES-CBC buffer encryption/decryption
|
||||
* Length should be a multiple of the block
|
||||
* size (16 bytes)
|
||||
*
|
||||
* \param ctx AES context
|
||||
* \param mode AES_ENCRYPT or AES_DECRYPT
|
||||
@ -89,7 +91,7 @@ void aes_crypt_cbc( aes_context *ctx,
|
||||
unsigned char *output );
|
||||
|
||||
/**
|
||||
* \brief AES-CFB128 buffer encryption/decryption
|
||||
* \brief AES-CFB128 buffer encryption/decryption.
|
||||
*
|
||||
* \param ctx AES context
|
||||
* \param mode AES_ENCRYPT or AES_DECRYPT
|
||||
|
@ -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…
Reference in New Issue
Block a user