summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-11-16 17:53:50 -0500
committerrsiddharth <s@ricketyspace.net>2020-11-16 17:53:50 -0500
commitd6c2957137c7292845c095cb798826fabd19e527 (patch)
treecbbe08f1d9fd73ef947b28f5f7d92ab68932ea3d
parente946e6ba240bba530d5bbca4f13108906aecc0f2 (diff)
lib/aes.go: fix KeyExpansion docstring
-rw-r--r--lib/aes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aes.go b/lib/aes.go
index ecc7479..ea4a449 100644
--- a/lib/aes.go
+++ b/lib/aes.go
@@ -3,7 +3,7 @@
package lib
-// Returns a key schedule (44 bytes, 11 4-byte words) given a key 'k'
+// Returns a key schedule (176 bytes, 44 4-byte words) given a key 'k'
// (16 bytes, 4 4-byte words).
func KeyExpansion(k []byte) [][]byte {
ks := make([][]byte, 44) // key schedule