Adam Langley | 82442e0 | 2014-09-03 16:08:25 -0700 | [diff] [blame] | 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 | |
Russ Cox | 5ea612d | 2021-02-19 18:54:42 -0500 | [diff] [blame] | 5 | //go:build go1.4 |
Adam Langley | 82442e0 | 2014-09-03 16:08:25 -0700 | [diff] [blame] | 6 | // +build go1.4 |
| 7 | |
| 8 | package sha3 |
| 9 | |
| 10 | import ( |
| 11 | "crypto" |
| 12 | ) |
| 13 | |
| 14 | func init() { |
| 15 | crypto.RegisterHash(crypto.SHA3_224, New224) |
| 16 | crypto.RegisterHash(crypto.SHA3_256, New256) |
| 17 | crypto.RegisterHash(crypto.SHA3_384, New384) |
| 18 | crypto.RegisterHash(crypto.SHA3_512, New512) |
| 19 | } |