diff --git a/sys/modules/opus/crypto/chacha20.lua b/sys/modules/opus/crypto/chacha20.lua index c98654c..f5f743c 100644 --- a/sys/modules/opus/crypto/chacha20.lua +++ b/sys/modules/opus/crypto/chacha20.lua @@ -5,7 +5,7 @@ local cbor = require('opus.cbor') local sha2 = require('opus.crypto.sha2') local Util = require('opus.util') -local ROUNDS = 8 -- Adjust this for speed tradeoff +local ROUNDS = 20 -- Standard ChaCha20 (was 8, upgraded for security) local bxor = bit32.bxor local band = bit32.band