type crypto/elliptic.Curve
29 uses
crypto/elliptic (current package)
elliptic.go#L27: type Curve interface {
elliptic.go#L285: func GenerateKey(curve Curve, rand io.Reader) (priv []byte, x, y *big.Int, err error) {
elliptic.go#L315: func Marshal(curve Curve, x, y *big.Int) []byte {
elliptic.go#L329: func MarshalCompressed(curve Curve, x, y *big.Int) []byte {
elliptic.go#L340: func Unmarshal(curve Curve, data []byte) (x, y *big.Int) {
elliptic.go#L363: func UnmarshalCompressed(curve Curve, data []byte) (x, y *big.Int) {
elliptic.go#L432: func P256() Curve {
elliptic.go#L444: func P384() Curve {
elliptic.go#L456: func P521() Curve {
p224.go#L41: func P224() Curve {
crypto/ecdsa
ecdsa.go#L61: elliptic.Curve
ecdsa.go#L133: func randFieldElement(c elliptic.Curve, rand io.Reader) (k *big.Int, err error) {
ecdsa.go#L149: func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L168: func hashToInt(hash []byte, c elliptic.Curve) *big.Int {
ecdsa.go#L240: func signGeneric(priv *PrivateKey, csprng *cipher.StreamReader, c elliptic.Curve, hash []byte) (r, s *big.Int, err error) {
ecdsa.go#L305: func verifyGeneric(pub *PublicKey, c elliptic.Curve, hash []byte, r, s *big.Int) bool {
ecdsa_noasm.go#L15: func sign(priv *PrivateKey, csprng *cipher.StreamReader, c elliptic.Curve, hash []byte) (r, s *big.Int, err error) {
ecdsa_noasm.go#L19: func verify(pub *PublicKey, c elliptic.Curve, hash []byte, r, s *big.Int) bool {
crypto/tls
key_schedule.go#L139: func curveForCurveID(id CurveID) (elliptic.Curve, bool) {
crypto/x509
sec1.go#L83: var curve elliptic.Curve
x509.go#L494: func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
x509.go#L508: func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
golang.org/x/crypto/openpgp/packet
public_key.go#L84: var c elliptic.Curve
golang.org/x/crypto/ssh
kex.go#L221: curve elliptic.Curve
kex.go#L276: func unmarshalECKey(curve elliptic.Curve, pubkey []byte) (x, y *big.Int, err error) {
kex.go#L289: func validateECPublicKey(curve elliptic.Curve, x, y *big.Int) bool {
keys.go#L602: func supportedEllipticCurve(curve elliptic.Curve) bool {
keys.go#L608: func ecHash(curve elliptic.Curve) crypto.Hash {
keys.go#L1406: var curve elliptic.Curve
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |