aes.h: rewrite comment for aes round key buf

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Yanray Wang 2023-05-10 10:06:11 +08:00
parent 5dd429c8df
commit ab4fb0d34c

View file

@ -78,8 +78,7 @@ typedef struct mbedtls_aes_context {
round keys in the buffer. */ round keys in the buffer. */
#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH) && !defined(MBEDTLS_PADLOCK_C) #if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH) && !defined(MBEDTLS_PADLOCK_C)
uint32_t MBEDTLS_PRIVATE(buf)[44]; /*!< Aligned data buffer to hold uint32_t MBEDTLS_PRIVATE(buf)[44]; /*!< Aligned data buffer to hold
round keys in the 128-bit case for 10 round keys for 128-bit case. */
10 rounds calculation. */
#else #else
uint32_t MBEDTLS_PRIVATE(buf)[68]; /*!< Unaligned data buffer. This buffer can uint32_t MBEDTLS_PRIVATE(buf)[68]; /*!< Unaligned data buffer. This buffer can
hold 32 extra Bytes, which can be used for hold 32 extra Bytes, which can be used for