Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testX25519Failure (0.2 sec)

  1. src/crypto/ecdh/ecdh_test.go

    		}
    	})
    }
    
    func TestX25519Failure(t *testing.T) {
    	identity := hexDecode(t, "0000000000000000000000000000000000000000000000000000000000000000")
    	lowOrderPoint := hexDecode(t, "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800")
    	randomScalar := make([]byte, 32)
    	rand.Read(randomScalar)
    
    	t.Run("identity point", func(t *testing.T) { testX25519Failure(t, randomScalar, identity) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top