mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
413 B
19 lines
413 B
9 years ago
|
// Copyright 2014 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
// +build go1.4
|
||
|
|
||
|
package sha3
|
||
|
|
||
|
import (
|
||
|
"crypto"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
crypto.RegisterHash(crypto.SHA3_224, New224)
|
||
|
crypto.RegisterHash(crypto.SHA3_256, New256)
|
||
|
crypto.RegisterHash(crypto.SHA3_384, New384)
|
||
|
crypto.RegisterHash(crypto.SHA3_512, New512)
|
||
|
}
|