Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAddSubNegOnBasePoint (0.22 sec)

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

    		t.Errorf("wrong B.y: got %s, expected %s", got, y)
    	}
    	if B.z.Equal(feOne) != 1 {
    		t.Errorf("wrong B.z: got %v, expected 1", B.z)
    	}
    	// Check that t is correct.
    	checkOnCurve(t, B)
    }
    
    func TestAddSubNegOnBasePoint(t *testing.T) {
    	checkLhs, checkRhs := &Point{}, &Point{}
    
    	checkLhs.Add(B, B)
    	tmpP2 := new(projP2).FromP3(B)
    	tmpP1xP1 := new(projP1xP1).Double(tmpP2)
    	checkRhs.fromP1xP1(tmpP1xP1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
Back to top