Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for P384Element (0.1 sec)

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

    	y2.Square(x)
    	y2.Mul(y2, x)
    
    	threeX := new(fiat.P384Element).Add(x, x)
    	threeX.Add(threeX, x)
    	y2.Sub(y2, threeX)
    
    	return y2.Add(y2, p384B())
    }
    
    func p384CheckOnCurve(x, y *fiat.P384Element) error {
    	// y² = x³ - 3x + b
    	rhs := p384Polynomial(new(fiat.P384Element), x)
    	lhs := new(fiat.P384Element).Square(y)
    	if rhs.Equal(lhs) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 18K bytes
    - Viewed (0)
  2. 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)
Back to top