Add comment to cbc-file about IV length.

This commit is contained in:
Érico Nogueira 2021-11-15 23:14:48 -03:00
parent cf9b0f6a7c
commit 19e26d42a9
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#define KEY_LENGTH 32
#define SALT_LENGTH 32
#define IV_LENGTH 32
#define IV_LENGTH 32 /* should be 12 bytes, but keep 32 for backwards compat and possible future changes */
#define AAD_LENGTH 32
#define TAG_LENGTH 16
#define FINAL_LENGTH (1 + SALT_LENGTH + IV_LENGTH + AAD_LENGTH + TAG_LENGTH)