- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestAllocations (0.11 sec)
-
src/crypto/internal/edwards25519/edwards25519_test.go
t.Errorf("re-encoding does not match canonical; got %q, expected %q", encoding, tt.canonical) } checkOnCurve(t, p1, p2) }) } } var testAllocationsSink byte func TestAllocations(t *testing.T) { testenv.SkipIfOptimizationOff(t) if allocs := testing.AllocsPerRun(100, func() { p := NewIdentityPoint() p.Add(p, NewGeneratorPoint()) s := NewScalar()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 18:45:00 UTC 2022 - 9.3K bytes - Viewed (0) -
src/crypto/internal/nistec/nistec_test.go
package nistec_test import ( "bytes" "crypto/elliptic" "crypto/internal/nistec" "fmt" "internal/testenv" "math/big" "math/rand" "testing" ) func TestAllocations(t *testing.T) { testenv.SkipIfOptimizationOff(t) t.Run("P224", func(t *testing.T) { if allocs := testing.AllocsPerRun(10, func() { p := nistec.NewP224Point().SetGenerator() scalar := make([]byte, 28)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 12 18:48:23 UTC 2023 - 8.4K bytes - Viewed (0)