type crypto/elliptic.Curve
24 uses
crypto/elliptic (current package)
elliptic.go#L31: type Curve interface {
elliptic.go#L75: func GenerateKey(curve Curve, rand io.Reader) (priv []byte, x, y *big.Int, err error) {
elliptic.go#L109: func Marshal(curve Curve, x, y *big.Int) []byte {
elliptic.go#L126: func MarshalCompressed(curve Curve, x, y *big.Int) []byte {
elliptic.go#L153: func Unmarshal(curve Curve, data []byte) (x, y *big.Int) {
elliptic.go#L180: func UnmarshalCompressed(curve Curve, data []byte) (x, y *big.Int) {
elliptic.go#L212: func panicIfNotOnCurve(curve Curve, x, y *big.Int) {
elliptic.go#L240: func P224() Curve {
elliptic.go#L253: func P256() Curve {
elliptic.go#L265: func P384() Curve {
elliptic.go#L277: func P521() Curve {
params.go#L327: func matchesSpecificCurve(params *CurveParams) (Curve, bool) {
params.go#L328: for _, c := range []Curve{p224, p256, p384, p521} {
crypto/ecdsa
ecdsa.go#L47: elliptic.Curve
ecdsa.go#L107: func curveToECDH(c elliptic.Curve) ecdh.Curve {
ecdsa.go#L158: func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L564: curve elliptic.Curve
ecdsa.go#L663: func precomputeParams[Point nistPoint[Point]](c *nistCurve[Point], curve elliptic.Curve) {
ecdsa_legacy.go#L20: func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
ecdsa_legacy.go#L36: func hashToInt(hash []byte, c elliptic.Curve) *big.Int {
ecdsa_legacy.go#L170: func randFieldElement(c elliptic.Curve, rand io.Reader) (k *big.Int, err error) {
crypto/x509
sec1.go#L99: var curve elliptic.Curve
x509.go#L527: func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
x509.go#L541: func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |