crypto/keccak: add note that asm impl was removed upstream

This commit is contained in:
lightclient 2026-02-03 11:32:32 -07:00
parent bac1bda101
commit 86a2e64c0b
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -1,5 +1,6 @@
This is a vendored and modified copy of golang.org/x/crypto/sha3, with an assembly
implementation of keccak256.
implementation of keccak256. We wish to retain the assembly implementation,
which was removed in v0.44.0.
Ethereum uses a 'legacy' variant of Keccak, which was defined before it became SHA3. As
such, we cannot use the standard library crypto/sha3 package.