mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-05 11:46:12 -04:00
Add warning to mbedtls_cipher_setup() about setting padding mode
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
f8fc956714
commit
08fd33a875
@ -449,6 +449,10 @@ void mbedtls_cipher_free(mbedtls_cipher_context_t *ctx);
|
||||
* \brief This function initializes a cipher context for
|
||||
* use with the given cipher primitive.
|
||||
*
|
||||
* \warning The behavior if mbedtls_cipher_set_padding_mode()
|
||||
* is not called after calling this function is not
|
||||
* guaranteed.
|
||||
*
|
||||
* \param ctx The context to initialize. This must be initialized.
|
||||
* \param cipher_info The cipher to use.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user