1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-05 19:35:48 +03:00

Update aes.h

fixed missing multiple returns on mbedtls_aes_setkey_enc
This commit is contained in:
Rose Zadik
2018-04-16 09:35:15 +01:00
committed by GitHub
parent 5ad7aea568
commit 819d13dfff

View File

@@ -116,7 +116,7 @@ void mbedtls_aes_free( mbedtls_aes_context *ctx );
* <li>256 bits</li></ul> * <li>256 bits</li></ul>
* *
* \return \c 0 on success. * \return \c 0 on success.
* #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH on failure. * \return #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH on failure.
*/ */
int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key, int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key,
unsigned int keybits ); unsigned int keybits );