Browse Source

Documentation fixes. (No functional changes)

Yawning Angel 2 years ago
parent
commit
73be9467ff
2 changed files with 4 additions and 4 deletions
  1. 3 3
      README.md
  2. 1 1
      lioness.go

+ 3 - 3
README.md

@@ -2,12 +2,12 @@
 #### Yawning Angel (yawning at schwanenlied dot me)
 
 Yet another Go LIONESS implementation, similar to go-lioness, though with
-slightly different parameterization, and support for a tweak.  The
+slightly different parameterization, and support for a nonce.  The
 implementations are NOT interoperable.
 
 Notes:
 
- * H() is BLAKE2b with a 256 bit key, 96 bit tweak.
- * S() is ChaCha20 with a 256 bit key, 96 bit tweak.
+ * H() is BLAKE2b with a 256 bit key, 96 bit nonce.
+ * S() is ChaCha20 with a 256 bit key, 96 bit nonce.
  * The crypto implementations used have assembly for AMD64.
  * It's still kind of slow, because it's LIONESS, and it's written in Go.

+ 1 - 1
lioness.go

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