From 6083b20d26a1d69da6be92de146da22062fd6f53 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sat, 5 Mar 2022 13:04:05 -0500 Subject: lib: sha1MessageBlocks -> shaMessageBlocks --- lib/sha1.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sha1.go b/lib/sha1.go index 2866bdd..9a9d6df 100644 --- a/lib/sha1.go +++ b/lib/sha1.go @@ -55,7 +55,7 @@ func sha1KT(t int) uint32 { // Converts padded messages bytes `pm` into 512-bit message blocks. // Each 512-bit block is an array of 16 32-bit words. -func sha1MessageBlocks(pm []byte) [][]uint32 { +func shaMessageBlocks(pm []byte) [][]uint32 { // Break into 512-bit blocks bs := BreakIntoBlocks(pm, 64) @@ -170,7 +170,7 @@ func (s *Sha1) Hash() []byte { pm := s.Pad() // Break into message blocks. - mbs := sha1MessageBlocks(pm) + mbs := shaMessageBlocks(pm) // Initialize hash values. h := make([]uint32, 5) -- cgit v1.2.3