1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

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
This commit is contained in:
Michael Vetter 2020-02-17 14:04:24 +01:00
parent ea5a947f52
commit 0089fbcf0a

View File

@ -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);