OSDN Git Service

new repo
[bytom/vapor.git] / vendor / golang.org / x / crypto / sha3 / register.go
1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build go1.4
6
7 package sha3
8
9 import (
10         "crypto"
11 )
12
13 func init() {
14         crypto.RegisterHash(crypto.SHA3_224, New224)
15         crypto.RegisterHash(crypto.SHA3_256, New256)
16         crypto.RegisterHash(crypto.SHA3_384, New384)
17         crypto.RegisterHash(crypto.SHA3_512, New512)
18 }