Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	}
    	checkOnCurve(t, checkLhs, checkRhs, Bneg)
    }
    
    func TestComparable(t *testing.T) {
    	if reflect.TypeOf(Point{}).Comparable() {
    		t.Error("Point is unexpectedly comparable")
    	}
    }
    
    func TestInvalidEncodings(t *testing.T) {
    	// An invalid point, that also happens to have y > p.
    	invalid := "efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f"
    	p := NewGeneratorPoint()
    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