Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for p256 (0.04 sec)

  1. src/crypto/internal/nistec/p256.go

    		y.Select(otherRoot, y, int(cond))
    
    		p.x.Set(x)
    		p.y.Set(y)
    		p.z.One()
    		return p, nil
    
    	default:
    		return nil, errors.New("invalid P256 point encoding")
    	}
    }
    
    var _p256B *fiat.P256Element
    var _p256BOnce sync.Once
    
    func p256B() *fiat.P256Element {
    	_p256BOnce.Do(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/fiat/p256.go

    Filippo Valsorda <******@****.***> 1650474738 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/crypto/tls/testdata/Server-TLSv13-P256

    Filippo Valsorda <******@****.***> 1684936196 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:14:50 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. src/crypto/tls/testdata/Server-TLSv12-P256

    Filippo Valsorda <******@****.***> 1684886145 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/crypto/elliptic/p256_test.go

    	}
    
    	p256, ok := P256().(combinedMult)
    	if !ok {
    		p256 = &synthCombinedMult{P256()}
    	}
    
    	gx := p256.Params().Gx
    	gy := p256.Params().Gy
    
    	zero := make([]byte, 32)
    	one := make([]byte, 32)
    	one[31] = 1
    	two := make([]byte, 32)
    	two[31] = 2
    
    	// 0×G + 0×G = ∞
    	x, y := p256.CombinedMult(gx, gy, zero, zero)
    	if x.Sign() != 0 || y.Sign() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 16:58:48 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue52193.go

    func F(peerShare []byte) ([]byte, error) { // ERROR "leaking param: peerShare"
    	p256 := ecdh.P256() // ERROR "inlining call to ecdh.P256"
    
    	ourKey, err := p256.GenerateKey(rand.Reader) // ERROR "devirtualizing p256.GenerateKey" "inlining call to ecdh.*GenerateKey"
    	if err != nil {
    		return nil, err
    	}
    
    	peerPublic, err := p256.NewPublicKey(peerShare) // ERROR "devirtualizing p256.NewPublicKey" "inlining call to ecdh.*NewPublicKey"
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 17:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/crypto/elliptic/elliptic_test.go

    	d := *(c.Params())
    	return &d
    }
    
    func testAllCurves(t *testing.T, f func(*testing.T, Curve)) {
    	tests := []struct {
    		name  string
    		curve Curve
    	}{
    		{"P256", P256()},
    		{"P256/Params", genericParamsForCurve(P256())},
    		{"P224", P224()},
    		{"P224/Params", genericParamsForCurve(P224())},
    		{"P384", P384()},
    		{"P384/Params", genericParamsForCurve(P384())},
    		{"P521", P521()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. 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)
Back to top