- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for p384 (0.07 sec)
-
src/crypto/ecdh/ecdh_test.go
t.Errorf("unexpected symbol in program using only ecdh.P384: %s", match[1]) } } if !consistent { t.Error("no P384 symbols found in program using ecdh.P384, test is broken") } } func TestMismatchedCurves(t *testing.T) { curves := []struct { name string curve ecdh.Curve }{ {"P256", ecdh.P256()}, {"P384", ecdh.P384()}, {"P521", ecdh.P521()}, {"X25519", ecdh.X25519()}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
}) return _p256 } var p384Once sync.Once var _p384 *nistCurve[*nistec.P384Point] func p384() *nistCurve[*nistec.P384Point] { p384Once.Do(func() { _p384 = &nistCurve[*nistec.P384Point]{ newPoint: func() *nistec.P384Point { return nistec.NewP384Point() }, } precomputeParams(_p384, elliptic.P384()) }) return _p384 } var p521Once sync.Once var _p521 *nistCurve[*nistec.P521Point]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
case "P-256": pub.Curve = elliptic.P256() case "P-384": pub.Curve = elliptic.P384() case "P-521": pub.Curve = elliptic.P521() default: pub.Curve = nil } switch hash { case "SHA-1": h = sha1.New() case "SHA-224": h = sha256.New224() case "SHA-256": h = sha256.New() case "SHA-384": h = sha512.New384() case "SHA-512":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
security/pkg/pki/util/crypto_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 14.6K bytes - Viewed (0) -
security/pkg/pki/util/generate_cert.go
// SupportedEllipticCurves are the types of curves // to be used in key generation (e.g. P256, P384) type SupportedEllipticCurves string const ( // only ECDSA is currently supported EcdsaSigAlg SupportedECSignatureAlgorithms = "ECDSA" // supported curves when using ECC P256Curve SupportedEllipticCurves = "P256" P384Curve SupportedEllipticCurves = "P384" ) // CertOptions contains options for generating a new certificate.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 14:34:38 UTC 2023 - 14.2K bytes - Viewed (0) -
src/crypto/tls/auth.go
ECDSAWithP521AndSHA512, ECDSAWithSHA1, } break } switch pub.Curve { case elliptic.P256(): sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256} case elliptic.P384(): sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384} case elliptic.P521(): sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512} default: return nil } case *rsa.PublicKey:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 10K bytes - Viewed (0) -
src/crypto/internal/nistec/generate.go
{ P: "P256", Element: "fiat.P256Element", Params: elliptic.P256().Params(), BuildTags: "(!amd64 && !arm64 && !ppc64le && !s390x) || purego", }, { P: "P384", Element: "fiat.P384Element", Params: elliptic.P384().Params(), }, { P: "P521", Element: "fiat.P521Element", Params: elliptic.P521().Params(), }, } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 19.7K bytes - Viewed (0) -
pkg/serviceaccount/jwt.go
} func signerFromECDSAPrivateKey(keyPair *ecdsa.PrivateKey) (jose.Signer, error) { var alg jose.SignatureAlgorithm switch keyPair.Curve { case elliptic.P256(): alg = jose.ES256 case elliptic.P384(): alg = jose.ES384 case elliptic.P521(): alg = jose.ES512 default: return nil, fmt.Errorf("unknown private key curve, must be 256, 384, or 521") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0) -
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,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 16K bytes - Viewed (0) -
security/pkg/pki/ca/ca.go
_, signingKey, _, _ := ca.keyCertBundle.GetAll() curve, err := util.GetEllipticCurve(signingKey) if err == nil { opts.ECSigAlg = util.EcdsaSigAlg switch curve { case elliptic.P384(): opts.ECCCurve = util.P384Curve default: opts.ECCCurve = util.P256Curve } } csrPEM, privPEM, err := util.GenCSR(opts) if err != nil { return nil, nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 17.2K bytes - Viewed (0)