Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestScalarAliasing (0.15 sec)

  1. src/crypto/internal/edwards25519/scalar_alias_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package edwards25519
    
    import (
    	"testing"
    	"testing/quick"
    )
    
    func TestScalarAliasing(t *testing.T) {
    	checkAliasingOneArg := func(f func(v, x *Scalar) *Scalar, v, x Scalar) bool {
    		x1, v1 := x, x
    
    		// Calculate a reference f(x) without aliasing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top