Browse Source

Derp, the ChaCha20 block size is 64 bytes.

Yawning Angel 2 years ago
parent
commit
4ec5f075b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lioness.go

+ 1 - 1
lioness.go

@@ -25,7 +25,7 @@ const (
 	MinBlockSize = 32 + 1
 
 	// MaxBlockSize is the maximum block size in bytes.
-	MaxBlockSize = 32 + (1 << 36)
+	MaxBlockSize = 32 + (64 *  (1 << 32))
 
 	lSize = chacha20.KeySize
 )