diff --git a/include/mbedtls/aes.h b/include/mbedtls/aes.h index 12b3506334..a07c8a5f98 100644 --- a/include/mbedtls/aes.h +++ b/include/mbedtls/aes.h @@ -35,7 +35,7 @@ #include #include -/* aesni.c rely on these values! */ +/* aesni.c relies on these values! */ #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ diff --git a/library/aes.c b/library/aes.c index f615267a36..ae883b247d 100644 --- a/library/aes.c +++ b/library/aes.c @@ -972,7 +972,7 @@ int mbedtls_internal_aes_decrypt(mbedtls_aes_context *ctx, #endif /* !MBEDTLS_AES_DECRYPT_ALT && !MBEDTLS_BLOCK_CIPHER_NO_DECRYPT */ /* - * Our intrinsics-based implementation of AESNI require the round keys to be + * Our intrinsics-based implementation of AESNI requires the round keys to be * aligned on a 16-byte boundary. We take care of this before creating them, * but the AES context may have moved (this can happen if the library is * called from a language with managed memory), and in later calls it might