set correct block size
This commit is contained in:
parent
bd08550d6e
commit
062bad69bc
|
@ -317,7 +317,7 @@ func (h *Hasher) Reset() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// BlockSize implements hash.Hash.
|
// BlockSize implements hash.Hash.
|
||||||
func (h *Hasher) BlockSize() int { return 1024 }
|
func (h *Hasher) BlockSize() int { return 64 }
|
||||||
|
|
||||||
// Size implements hash.Hash.
|
// Size implements hash.Hash.
|
||||||
func (h *Hasher) Size() int { return h.out_size }
|
func (h *Hasher) Size() int { return h.out_size }
|
||||||
|
|
Reference in New Issue