diff options
| author | Filippo Valsorda <filippo@golang.org> | 2024-11-18 16:58:49 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-11-22 01:58:53 +0000 |
| commit | 8b97607280810d8effcfda56e47aa3ff73dced67 (patch) | |
| tree | f47f33b4d63cf2ab83d97ddff238a548bfb588ac /api | |
| parent | 8cecfad2a99987a35edfbcd875bef5e894abbce7 (diff) | |
| download | go-8b97607280810d8effcfda56e47aa3ff73dced67.tar.xz | |
crypto/sha3: new package
Implement the SHA-3 hash algorithms and the SHAKE extendable output
functions defined in FIPS 202.
This is a wrapper for crypto/internal/fips/sha3 which in turn was ported
from x/crypto/sha3 in CL 616717 as part of #65269.
Fixes #69982
Change-Id: I64ce7f362c1a773f7f5b05f7e0acb4110e52a329
Reviewed-on: https://go-review.googlesource.com/c/go/+/629176
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'api')
| -rw-r--r-- | api/next/69982.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/api/next/69982.txt b/api/next/69982.txt new file mode 100644 index 0000000000..24f5954312 --- /dev/null +++ b/api/next/69982.txt @@ -0,0 +1,31 @@ +pkg crypto/sha3, func New224() *SHA3 #69982 +pkg crypto/sha3, func New256() *SHA3 #69982 +pkg crypto/sha3, func New384() *SHA3 #69982 +pkg crypto/sha3, func New512() *SHA3 #69982 +pkg crypto/sha3, func NewCSHAKE128([]uint8, []uint8) *SHAKE #69982 +pkg crypto/sha3, func NewCSHAKE256([]uint8, []uint8) *SHAKE #69982 +pkg crypto/sha3, func NewSHAKE128() *SHAKE #69982 +pkg crypto/sha3, func NewSHAKE256() *SHAKE #69982 +pkg crypto/sha3, func Sum224([]uint8) [28]uint8 #69982 +pkg crypto/sha3, func Sum256([]uint8) [32]uint8 #69982 +pkg crypto/sha3, func Sum384([]uint8) [48]uint8 #69982 +pkg crypto/sha3, func Sum512([]uint8) [64]uint8 #69982 +pkg crypto/sha3, func SumSHAKE128([]uint8, int) []uint8 #69982 +pkg crypto/sha3, func SumSHAKE256([]uint8, int) []uint8 #69982 +pkg crypto/sha3, method (*SHA3) AppendBinary([]uint8) ([]uint8, error) #69982 +pkg crypto/sha3, method (*SHA3) BlockSize() int #69982 +pkg crypto/sha3, method (*SHA3) MarshalBinary() ([]uint8, error) #69982 +pkg crypto/sha3, method (*SHA3) Reset() #69982 +pkg crypto/sha3, method (*SHA3) Size() int #69982 +pkg crypto/sha3, method (*SHA3) Sum([]uint8) []uint8 #69982 +pkg crypto/sha3, method (*SHA3) UnmarshalBinary([]uint8) error #69982 +pkg crypto/sha3, method (*SHA3) Write([]uint8) (int, error) #69982 +pkg crypto/sha3, method (*SHAKE) AppendBinary([]uint8) ([]uint8, error) #69982 +pkg crypto/sha3, method (*SHAKE) BlockSize() int #69982 +pkg crypto/sha3, method (*SHAKE) MarshalBinary() ([]uint8, error) #69982 +pkg crypto/sha3, method (*SHAKE) Read([]uint8) (int, error) #69982 +pkg crypto/sha3, method (*SHAKE) Reset() #69982 +pkg crypto/sha3, method (*SHAKE) UnmarshalBinary([]uint8) error #69982 +pkg crypto/sha3, method (*SHAKE) Write([]uint8) (int, error) #69982 +pkg crypto/sha3, type SHA3 struct #69982 +pkg crypto/sha3, type SHAKE struct #69982 |
