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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 );