Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for P521 (0.12 sec)

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

    		}
    
    		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)
    		if err != nil {
    			return nil, errMalformedJWKECKey
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    // preference order.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=44
    var supportedKexAlgos = []string{
    	kexAlgoCurve25519SHA256, kexAlgoCurve25519SHA256LibSSH,
    	// P384 and P521 are not constant-time yet, but since we don't
    	// reuse ephemeral keys, using them for ECDH should be OK.
    	kexAlgoECDH256, kexAlgoECDH384, kexAlgoECDH521,
    	kexAlgoDH14SHA256, kexAlgoDH16SHA512, kexAlgoDH14SHA1,
    	kexAlgoDH1SHA1,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. internal/fips/api.go

    	var curves []tls.CurveID
    	if !Enabled {
    		curves = append(curves, tls.X25519) // Only enable X25519 in non-FIPS mode
    	}
    	curves = append(curves, tls.CurveP256)
    	if go19 {
    		// With go1.19 enable P384, P521 newer constant time implementations.
    		curves = append(curves, tls.CurveP384, tls.CurveP521)
    	}
    	return curves
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. internal/config/identity/openid/ecdsa-sha3_contrib.go

    		return SigningMethodES3384
    	})
    
    	// ES512
    	SigningMethodES3512 = &jwt.SigningMethodECDSA{Name: "ES3512", Hash: crypto.SHA3_512, KeySize: 66, CurveBits: 521}
    	jwt.RegisterSigningMethod(SigningMethodES3512.Alg(), func() jwt.SigningMethod {
    		return SigningMethodES3512
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.8K bytes
    - Viewed (0)
Back to top