github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/vendor_skip/golang.org/x/crypto/sha3/hashes_generic.go (about) 1 // Copyright 2017 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 //go:build !gc || purego || !s390x 6 7 package sha3 8 9 import ( 10 "hash" 11 ) 12 13 // new224Asm returns an assembly implementation of SHA3-224 if available, 14 // otherwise it returns nil. 15 func new224Asm() hash.Hash { return nil } 16 17 // new256Asm returns an assembly implementation of SHA3-256 if available, 18 // otherwise it returns nil. 19 func new256Asm() hash.Hash { return nil } 20 21 // new384Asm returns an assembly implementation of SHA3-384 if available, 22 // otherwise it returns nil. 23 func new384Asm() hash.Hash { return nil } 24 25 // new512Asm returns an assembly implementation of SHA3-512 if available, 26 // otherwise it returns nil. 27 func new512Asm() hash.Hash { return nil }