mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05: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:
parent
ea5a947f52
commit
0089fbcf0a
@ -35,7 +35,7 @@
|
|||||||
#include <signal/signal_protocol_types.h>
|
#include <signal/signal_protocol_types.h>
|
||||||
|
|
||||||
#define AES128_GCM_KEY_LENGTH 16
|
#define AES128_GCM_KEY_LENGTH 16
|
||||||
#define AES128_GCM_IV_LENGTH 16
|
#define AES128_GCM_IV_LENGTH 12
|
||||||
#define AES128_GCM_TAG_LENGTH 16
|
#define AES128_GCM_TAG_LENGTH 16
|
||||||
|
|
||||||
int omemo_crypto_init(void);
|
int omemo_crypto_init(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user