aes: xts: Update inaccurate comments
It is inaccurate to call a data unit a "sector". A disk sector is a
common use case for the data unit, but there exist other types of data
units that are not sectors.
diff --git a/library/aes.c b/library/aes.c
index 5c939bb..ef4b8f9 100644
--- a/library/aes.c
+++ b/library/aes.c
@@ -1142,7 +1142,7 @@
unsigned char prev_tweak[16];
unsigned char tmp[16];
- /* Sectors must be at least 16 bytes. */
+ /* Data units must be at least 16 bytes long. */
if( length < 16 )
return MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH;