OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to current version of Go library (revision 94d654be2064).
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
crypto
/
ripemd160
/
ripemd160.go
diff --git
a/libgo/go/crypto/ripemd160/ripemd160.go
b/libgo/go/crypto/ripemd160/ripemd160.go
index
5614f13
..
6e88521
100644
(file)
--- a/
libgo/go/crypto/ripemd160/ripemd160.go
+++ b/
libgo/go/crypto/ripemd160/ripemd160.go
@@
-10,10
+10,15
@@
package ripemd160
// http://homes.esat.kuleuven.be/~cosicart/pdf/AB-9601/AB-9601.pdf.
import (
+ "crypto"
"hash"
"os"
)
+func init() {
+ crypto.RegisterHash(crypto.RIPEMD160, New)
+}
+
// The size of the checksum in bytes.
const Size = 20