mirror of https://github.com/ericonr/get-otp.git
Add comment to cbc-file about IV length.
This commit is contained in:
parent
cf9b0f6a7c
commit
19e26d42a9
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#define KEY_LENGTH 32
|
#define KEY_LENGTH 32
|
||||||
#define SALT_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 AAD_LENGTH 32
|
||||||
#define TAG_LENGTH 16
|
#define TAG_LENGTH 16
|
||||||
#define FINAL_LENGTH (1 + SALT_LENGTH + IV_LENGTH + AAD_LENGTH + TAG_LENGTH)
|
#define FINAL_LENGTH (1 + SALT_LENGTH + IV_LENGTH + AAD_LENGTH + TAG_LENGTH)
|
||||||
|
|
Loading…
Reference in New Issue