about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
authorWilliam Wennerström <william@wstrm.dev>2020-12-07 16:30:03 +0100
committerWilliam Wennerström <william@wstrm.dev>2020-12-07 16:30:03 +0100
commit5c5b4d7025546af386f7124924712bb0a6f95e7b (patch)
tree0c7852cc99fb4c1017c01db98d9baca96dc5f834 /src/omemo
parent867d89546931a37fd255cdd5af382e39b66ae09b (diff)
downloadprofani-tty-5c5b4d7025546af386f7124924712bb0a6f95e7b.tar.gz
Remove cmd_tiny, empty files and link nonce with IV
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/omemo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/omemo/omemo.h b/src/omemo/omemo.h
index 8c17f48d..7e7c1f14 100644
--- a/src/omemo/omemo.h
+++ b/src/omemo/omemo.h
@@ -41,7 +41,7 @@
 #define OMEMO_ERR_UNSUPPORTED_CRYPTO -10000
 #define OMEMO_ERR_GCRYPT             -20000
 
-#define OMEMO_AESGCM_NONCE_LENGTH 12
+#define OMEMO_AESGCM_NONCE_LENGTH AES128_GCM_IV_LENGTH
 #define OMEMO_AESGCM_KEY_LENGTH   32
 #define OMEMO_AESGCM_URL_SCHEME   "aesgcm"