diff options
author | siddharth <s@ricketyspace.net> | 2021-10-11 11:04:44 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-10-11 11:04:44 -0400 |
commit | 82b2b7152bdd0e1a8d064f72eaf700344305c3cf (patch) | |
tree | 35b4a9845fca4a9dbf24199998e2048692c81d59 /lib | |
parent | 0325d6f982eeb13a66dedff9d3065f3748f6311e (diff) |
lib: md4Padding -> Md4Padding
Diffstat (limited to 'lib')
-rw-r--r-- | lib/md4.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ func md4RoundThreeFunc(a, b, c, d, x uint32, s uint) uint32 { return a } -func md4Padding(l int) []byte { +func Md4Padding(l int) []byte { l = l * 8 // msg size in bits // Reckon value of `k` @@ -139,7 +139,7 @@ func (md *Md4) Pad() []byte { copy(pm, md.Msg) // Add padding. - pm = append(pm, md4Padding(md.MsgLen)...) + pm = append(pm, Md4Padding(md.MsgLen)...) return pm } |