- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for 1p256 (0.9 sec)
-
src/crypto/internal/nistec/p256.go
"errors" "sync" ) // p256ElementLength is the length of an element of the base or scalar field, // which have the same bytes length for all NIST P curves. const p256ElementLength = 32 // P256Point is a P256 point. The zero value is NOT valid. type P256Point struct { // The point is represented in projective coordinates (X:Y:Z), // where x = X/Z and y = Y/Z. x, y, z *fiat.P256Element }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 17.2K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
}) return _p224 } var p256Once sync.Once var _p256 *nistCurve[*nistec.P256Point] func p256() *nistCurve[*nistec.P256Point] { p256Once.Do(func() { _p256 = &nistCurve[*nistec.P256Point]{ newPoint: func() *nistec.P256Point { return nistec.NewP256Point() }, } precomputeParams(_p256, elliptic.P256()) }) return _p256 } var p384Once sync.Once var _p384 *nistCurve[*nistec.P384Point]
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/internal/nistec/p256_ordinv_test.go
//go:build (amd64 || arm64) && !purego package nistec_test import ( "bytes" "crypto/elliptic" "crypto/internal/nistec" "math/big" "testing" ) func TestP256OrdInverse(t *testing.T) { N := elliptic.P256().Params().N // inv(0) is expected to be 0. zero := make([]byte, 32) out, err := nistec.P256OrdInverse(zero) if err != nil { t.Fatal(err) } if !bytes.Equal(out, zero) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 2.3K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_s390x.s
DATA p256ord<>+0x18(SB)/8, $0xf3b9cac2fc632551 DATA p256<>+0x00(SB)/8, $0xffffffff00000001 // P256 DATA p256<>+0x08(SB)/8, $0x0000000000000000 // P256 DATA p256<>+0x10(SB)/8, $0x00000000ffffffff // P256 DATA p256<>+0x18(SB)/8, $0xffffffffffffffff // P256 DATA p256<>+0x20(SB)/8, $0x0c0d0e0f1c1d1e1f // SEL d1 d0 d1 d0 DATA p256<>+0x28(SB)/8, $0x0c0d0e0f1c1d1e1f // SEL d1 d0 d1 d0 DATA p256<>+0x30(SB)/8, $0x0000000010111213 // SEL 0 d1 d0 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 55.4K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_ppc64le.s
// on little endian. DATA p256<>+0x00(SB)/8, $0xffffffff00000001 // P256 DATA p256<>+0x08(SB)/8, $0x0000000000000000 // P256 DATA p256<>+0x10(SB)/8, $0x00000000ffffffff // P256 DATA p256<>+0x18(SB)/8, $0xffffffffffffffff // P256 DATA p256<>+0x20(SB)/8, $0x0c0d0e0f1c1d1e1f // SEL d1 d0 d1 d0 DATA p256<>+0x28(SB)/8, $0x0c0d0e0f1c1d1e1f // SEL d1 d0 d1 d0 DATA p256<>+0x30(SB)/8, $0x0000000010111213 // SEL 0 d1 d0 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 56.5K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv13-P256-ECDHE
Roland Shoemaker <******@****.***> 1715710936 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 7.1K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv12-P256-ECDHE
Roland Shoemaker <******@****.***> 1715710936 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 7.3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
func testAllCurves(t *testing.T, f func(*testing.T, elliptic.Curve)) { tests := []struct { name string curve elliptic.Curve }{ {"P256", elliptic.P256()}, {"P224", elliptic.P224()}, {"P384", elliptic.P384()}, {"P521", elliptic.P521()}, {"P256/Generic", genericParamsForCurve(elliptic.P256())}, } if testing.Short() { tests = tests[:1] } for _, test := range tests { curve := test.curve
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
t.Errorf("boringcrypto error leaked out: %v", err) } } }) } func testAllCurves(t *testing.T, f func(t *testing.T, curve ecdh.Curve)) { t.Run("P256", func(t *testing.T) { f(t, ecdh.P256()) }) t.Run("P384", func(t *testing.T) { f(t, ecdh.P384()) }) t.Run("P521", func(t *testing.T) { f(t, ecdh.P521()) }) t.Run("X25519", func(t *testing.T) { f(t, 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/elliptic/params.go
// a generic, non-constant time implementation of [Curve]. // // The generic Curve implementation is deprecated, and using custom curves // (those not returned by [P224], [P256], [P384], and [P521]) is not guaranteed // to provide any security property. type CurveParams struct { P *big.Int // the order of the underlying field N *big.Int // the order of the base point
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 9.6K bytes - Viewed (0)