go-ethereum/crypto/keccak
2026-04-08 08:58:00 +05:30
..
keccaf_arm64.s common/crypto/keccak: optimize sha3 2026-04-08 08:58:00 +05:30
keccak.go @lightclient feedbacks 2026-04-08 08:58:00 +05:30
keccak_arm64.go crypto/keccak: add BMI2 keccak-f[1600] implementation for amd64 2026-04-08 08:58:00 +05:30
keccak_asm.go crypto/keccak: add BMI2 keccak-f[1600] implementation for amd64 2026-04-08 08:58:00 +05:30
keccak_default.go fix lint 2026-04-08 08:58:00 +05:30
keccak_test.go crypto/keccak: add BMI2 keccak-f[1600] implementation for amd64 2026-04-08 08:58:00 +05:30
keccakf_amd64.go crypto/keccak: add BMI2 keccak-f[1600] implementation for amd64 2026-04-08 08:58:00 +05:30
keccakf_amd64_bmi2.s build: restrict BMI2 keccak assembly to amd64 and !purego 2026-04-08 08:58:00 +05:30
LICENSE crypto/keccak: vendor in golang.org/x/crypto/sha3 (#33323) 2026-02-03 14:55:27 -07:00
README.md crypto/keccak: vendor in golang.org/x/crypto/sha3 (#33323) 2026-02-03 14:55:27 -07:00
‎gen_keccakf_bmi2.go build: restrict BMI2 keccak assembly to amd64 and !purego 2026-04-08 08:58:00 +05:30

This is a vendored and modified copy of golang.org/x/crypto/sha3, with an assembly 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.