diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-17 14:04:24 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-17 14:04:24 +0100 |
commit | 0089fbcf0a7bf3ba92fa2ba657c5e7d70e395ed7 (patch) | |
tree | c0028714275ae117a82a1b295b04a93277b07a07 /src | |
parent | ea5a947f528a544fd48feacc4f9fd53cff155359 (diff) | |
download | profani-tty-0089fbcf0a7bf3ba92fa2ba657c5e7d70e395ed7.tar.gz |
omemo: switch to 12 byte IV
We decrypt both 12 and 16 bytes. And send 12 instead of 16 bytes now. Close https://github.com/profanity-im/profanity/issues/1272
Diffstat (limited to 'src')
-rw-r--r-- | src/omemo/crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/omemo/crypto.h b/src/omemo/crypto.h index 4bd6258b..d0cfdd05 100644 --- a/src/omemo/crypto.h +++ b/src/omemo/crypto.h @@ -35,7 +35,7 @@ #include <signal/signal_protocol_types.h> #define AES128_GCM_KEY_LENGTH 16 -#define AES128_GCM_IV_LENGTH 16 +#define AES128_GCM_IV_LENGTH 12 #define AES128_GCM_TAG_LENGTH 16 int omemo_crypto_init(void); |