impl
packagestandard libraryThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package impl is a registry of alternative implementations of cryptographicprimitives, to allow selecting them for testing.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcList¶
List returns the names of all alternative implementations registered for thegiven package, whether available or not. The implicit base implementation isnot included.
funcPackages¶added ingo1.25.0
func Packages() []string
Packages returns the list of all packages for which alternativeimplementations are registered.
funcRegister¶
Register records an alternative implementation of a cryptographic primitive.The implementation might be available or not based on CPU support. Ifavailable is false, the implementation is unavailable and can't be tested onthis machine. If available is true, it can be set to false to disable theimplementation. If all alternative implementations but one are disabled, theremaining one must be used (i.e. disabling one implementation must notimplicitly disable any other). Each package has an implicit baseimplementation that is selected when all alternatives are unavailable ordisabled. pkg must be the package name, not path (e.g. "aes" not "crypto/aes").
Types¶
This section is empty.