// TestAllImplementations runs the provided test function with each available // implementation of the package registered with crypto/internal/impl. If there // are no alternative implementations for pkg, f is invoked directly once. func TestAllImplementations(t *testing.T, pkg string, f func(t *testing.T)) { … }