- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ConstantTimeCompare (0.16 seconds)
-
lib/fips140/v1.26.0.zip
== t, and zero otherwise. func (e *{{ .Element }}) Equal(t *{{ .Element }}) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and zero otherwise. func (e *{{ .Element }}) IsZero() int { zero := make([]byte, {{ .Prefix }}ElementLen) eBytes := e.Bytes() return subtle.ConstantTimeCompare(eBytes, zero) } // Set sets e = t, and returns e. func (e *{{ .Element }}) Set(t *{{ .Element }}) *{{ .Element }} { e.x = t.x return e }...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
== t, and zero otherwise. func (e *{{ .Element }}) Equal(t *{{ .Element }}) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and zero otherwise. func (e *{{ .Element }}) IsZero() int { zero := make([]byte, {{ .Prefix }}ElementLen) eBytes := e.Bytes() return subtle.ConstantTimeCompare(eBytes, zero) } // Set sets e = t, and returns e. func (e *{{ .Element }}) Set(t *{{ .Element }}) *{{ .Element }} { e.x = t.x return e }...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)