Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGenerator (0.38 sec)

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

    		}
    		// xy = T/Z
    		lhs.Multiply(&p.x, &p.y)
    		rhs.Multiply(&p.z, &p.t)
    		if lhs.Equal(&rhs) != 1 {
    			t.Errorf("point %d is not valid\nX = %v\nY = %v\nZ = %v", i, p.x, p.y, p.z)
    		}
    	}
    }
    
    func TestGenerator(t *testing.T) {
    	// These are the coordinates of B from RFC 8032, Section 5.1, converted to
    	// little endian hex.
    	x := "1ad5258f602d56c9b2a7259560c72c695cdcd6fd31e2a4c0fe536ecdd3366921"
    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