diff options
Diffstat (limited to 'libgo/go/crypto/ripemd160/ripemd160.go')
-rw-r--r-- | libgo/go/crypto/ripemd160/ripemd160.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/crypto/ripemd160/ripemd160.go b/libgo/go/crypto/ripemd160/ripemd160.go index cd2cc39..da690f0 100644 --- a/libgo/go/crypto/ripemd160/ripemd160.go +++ b/libgo/go/crypto/ripemd160/ripemd160.go @@ -55,6 +55,8 @@ func New() hash.Hash { func (d *digest) Size() int { return Size } +func (d *digest) BlockSize() int { return BlockSize } + func (d *digest) Write(p []byte) (nn int, err error) { nn = len(p) d.tc += uint64(nn) |