Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Curve (0.04 sec)

  1. internal/config/identity/openid/jwks.go

    			return nil, errMalformedJWKECKey
    		}
    
    		var curve elliptic.Curve
    		switch key.Crv {
    		case "P-224":
    			curve = elliptic.P224()
    		case "P-256":
    			curve = elliptic.P256()
    		case "P-384":
    			curve = elliptic.P384()
    		case "P-521":
    			curve = elliptic.P521()
    		default:
    			return nil, fmt.Errorf("Unknown curve type: %s", key.Crv)
    		}
    
    		xbuf, err := base64.RawURLEncoding.DecodeString(key.X)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. api/go1.26.txt

    pkg crypto, type Encapsulator interface, Bytes() []uint8 #75300
    pkg crypto, type Encapsulator interface, Encapsulate() ([]uint8, []uint8) #75300
    pkg crypto/ecdh, type KeyExchanger interface { Curve, ECDH, PublicKey } #75300
    pkg crypto/ecdh, type KeyExchanger interface, Curve() Curve #75300
    pkg crypto/ecdh, type KeyExchanger interface, ECDH(*PublicKey) ([]uint8, error) #75300
    pkg crypto/ecdh, type KeyExchanger interface, PublicKey() *PublicKey #75300
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 19:57:52 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. api/go1.15.txt

    pkg crypto/ed25519, method (PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ed25519, method (PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/elliptic, func MarshalCompressed(Curve, *big.Int, *big.Int) []uint8
    pkg crypto/elliptic, func UnmarshalCompressed(Curve, []uint8) (*big.Int, *big.Int)
    pkg crypto/rsa, method (*PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/rsa, method (*PublicKey) Equal(crypto.PublicKey) bool
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. internal/crypto/crypto.go

    		tls.TLS_RSA_WITH_AES_256_GCM_SHA384,
    		tls.TLS_RSA_WITH_AES_128_CBC_SHA,
    		tls.TLS_RSA_WITH_AES_256_CBC_SHA,
    	}
    }
    
    // TLSCurveIDs returns a list of supported elliptic curve IDs
    // in preference order.
    func TLSCurveIDs() []tls.CurveID {
    	return []tls.CurveID{tls.X25519MLKEM768, tls.CurveP256, tls.X25519, tls.CurveP384, tls.CurveP521}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Jul 19 06:23:15 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwks_test.go

    		t.Fatalf("Expected ECDSA key[0], got %T", keys[0])
    	} else if key1, ok := keys[1].(*rsa.PublicKey); !ok {
    		t.Fatalf("Expected RSA key[1], got %T", keys[1])
    	} else if key0.Curve != elliptic.P256() {
    		t.Fatal("Key[0] is not using P-256 curve")
    	} else if !bytes.Equal(key0.X.Bytes(), []byte{
    		0x30, 0xa0, 0x42, 0x4c, 0xd2,
    		0x1c, 0x29, 0x44, 0x83, 0x8a, 0x2d, 0x75, 0xc9, 0x2b, 0x37, 0xe7, 0x6e, 0xa2,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/11-language-change.yml

        validations:
          required: false
    
      - type: textarea
        id: learning-curve
        attributes:
          label: "Would this change make Go easier or harder to learn, and why?"
    
      - type: textarea
        id: cost-description
        attributes:
          label: "Cost Description"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. api/go1.25.txt

    pkg crypto, type MessageSigner interface, SignMessage(io.Reader, []uint8, SignerOpts) ([]uint8, error) #63405
    pkg crypto/ecdsa, func ParseRawPrivateKey(elliptic.Curve, []uint8) (*PrivateKey, error) #63963
    pkg crypto/ecdsa, func ParseUncompressedPublicKey(elliptic.Curve, []uint8) (*PublicKey, error) #63963
    pkg crypto/ecdsa, method (*PrivateKey) Bytes() ([]uint8, error) #63963
    pkg crypto/ecdsa, method (*PublicKey) Bytes() ([]uint8, error) #63963
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Jun 02 16:09:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. api/go1.21.txt

    pkg crypto/elliptic, type Curve interface, Add //deprecated #52221
    pkg crypto/elliptic, type Curve interface, Double //deprecated #52221
    pkg crypto/elliptic, type Curve interface, IsOnCurve //deprecated #52221
    pkg crypto/elliptic, type Curve interface, ScalarBaseMult //deprecated #52221
    pkg crypto/elliptic, type Curve interface, ScalarMult //deprecated #52221
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    ); err != nil { return nil, err } return &PublicKey{curve: c.curve, q: bytes.Clone(key)}, nil } func ECDH[P Point[P]](c *Curve[P], k *PrivateKey, peer *PublicKey) ([]byte, error) { fipsSelfTest() fips140.RecordApproved() return ecdh(c, k, peer) } func ecdh[P Point[P]](c *Curve[P], k *PrivateKey, peer *PublicKey) ([]byte, error) { if c.curve != k.pub.curve { return nil, errors.New("crypto/ecdh: mismatched curves") } if k.pub.curve != peer.curve { return nil, errors.New("crypto/ecdh: mismatched curves")...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  10. lib/fips140/v1.1.0-rc1.zip

    ); err != nil { return nil, err } return &PublicKey{curve: c.curve, q: bytes.Clone(key)}, nil } func ECDH[P Point[P]](c *Curve[P], k *PrivateKey, peer *PublicKey) ([]byte, error) { fipsSelfTest() fips140.RecordApproved() return ecdh(c, k, peer) } func ecdh[P Point[P]](c *Curve[P], k *PrivateKey, peer *PublicKey) ([]byte, error) { if c.curve != k.pub.curve { return nil, errors.New("crypto/ecdh: mismatched curves") } if k.pub.curve != peer.curve { return nil, errors.New("crypto/ecdh: mismatched curves")...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top