summaryrefslogtreecommitdiff
path: root/lib/algorithms/ciphers.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/algorithms/ciphers.c')
-rw-r--r--lib/algorithms/ciphers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/algorithms/ciphers.c b/lib/algorithms/ciphers.c
index 5f04eba72e..69c2613965 100644
--- a/lib/algorithms/ciphers.c
+++ b/lib/algorithms/ciphers.c
@@ -165,6 +165,8 @@ static const cipher_entry_st algorithms[] = {
.explicit_iv = 0,
.xor_nonce = 1,
.cipher_iv = 12,
+ /* in chacha20 we don't need a rekey after 2^24 messages */
+ .no_rekey = 1,
.tagsize = 16
},
{ .name = "CAMELLIA-128-GCM",