From 6d71944f0decef38b35c610ce950a16788c3e411 Mon Sep 17 00:00:00 2001 From: Werner Lewis Date: Mon, 13 Jun 2022 12:28:07 +0100 Subject: [PATCH] Specify unit for rk_offset in AES context Signed-off-by: Werner Lewis --- include/mbedtls/aes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/aes.h b/include/mbedtls/aes.h index d64d59067..c35901122 100644 --- a/include/mbedtls/aes.h +++ b/include/mbedtls/aes.h @@ -80,7 +80,8 @@ extern "C" { typedef struct mbedtls_aes_context { int MBEDTLS_PRIVATE(nr); /*!< The number of rounds. */ - size_t MBEDTLS_PRIVATE(rk_offset); /*!< Buffer offset for AES round keys. */ + size_t MBEDTLS_PRIVATE(rk_offset); /*!< The offset in array elements to AES + round keys in the buffer. */ uint32_t MBEDTLS_PRIVATE(buf)[68]; /*!< Unaligned data buffer. This buffer can hold 32 extra Bytes, which can be used for one of the following purposes: