This library uses a pure Go implementation with CGO_ENABLED=0, but also uses libsecp256k1 and platform specific code when CGO_ENABLED=0 is not set, delivering better performance when CGO is enabled but keeping portability and Go cross compilation to all supported targets when CGO is not allowed.
There are some platform specific optimizations for amd64 and arm64 which can be
disabled by compiling with the tag forceportable.
Benchmark against other libraries available here.
Code from the following libraries is used here: