Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for P224Element (0.15 sec)

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

    	// prime order elliptic curves" (https://eprint.iacr.org/2015/1060), §A.2.
    
    	t0 := new(fiat.P224Element).Mul(p1.x, p2.x)  // t0 := X1 * X2
    	t1 := new(fiat.P224Element).Mul(p1.y, p2.y)  // t1 := Y1 * Y2
    	t2 := new(fiat.P224Element).Mul(p1.z, p2.z)  // t2 := Z1 * Z2
    	t3 := new(fiat.P224Element).Add(p1.x, p1.y)  // t3 := X1 + Y1
    	t4 := new(fiat.P224Element).Add(p2.x, p2.y)  // t4 := X2 + Y2
    	t3.Mul(t3, t4)                               // t3 := t3 * t4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/generate.go

    	"strings"
    	"text/template"
    )
    
    var curves = []struct {
    	P         string
    	Element   string
    	Params    *elliptic.CurveParams
    	BuildTags string
    }{
    	{
    		P:       "P224",
    		Element: "fiat.P224Element",
    		Params:  elliptic.P224().Params(),
    	},
    	{
    		P:         "P256",
    		Element:   "fiat.P256Element",
    		Params:    elliptic.P256().Params(),
    		BuildTags: "(!amd64 && !arm64 && !ppc64le && !s390x) || purego",
    	},
    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