Skip to content

Commit

Permalink
Changed OMEMO Initialization Vector length to 12
Browse files Browse the repository at this point in the history
see xsf/xeps#894 for details
  • Loading branch information
Ri0n committed Feb 17, 2020
1 parent 5dc2190 commit d39789c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/omemoplugin/src/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern "C" {
};

#define OMEMO_AES_128_KEY_LENGTH 16
#define OMEMO_AES_GCM_IV_LENGTH 16
#define OMEMO_AES_GCM_IV_LENGTH 12
#define OMEMO_AES_GCM_TAG_LENGTH 16

namespace psiomemo {
Expand Down

0 comments on commit d39789c

Please sign in to comment.