crypto/ecdh — validation proof

Go’s own crypto/ecdh test suite, converted to C# by go2cs, built against the converted standard library, run under the Go-semantics test host, and compared verdict for verdict against a clean go test -json baseline of the same sources. This page is generated by the converter from that comparison — it is the evidence behind the crypto/ecdh row in Validated Test Packages.

Validated 2026-08-09 · converter 023a6385c

47 matched · 0 disclosed — Go 1.23.1, windows/amd64, converted package src/core/crypto/ecdh.

Verdicts

Test go test go2cs
TestECDH pass pass
TestECDH/P256 pass pass
TestECDH/P384 pass pass
TestECDH/P521 pass pass
TestECDH/X25519 pass pass
TestGenerateKey pass pass
TestGenerateKey/P256 pass pass
TestGenerateKey/P384 pass pass
TestGenerateKey/P521 pass pass
TestGenerateKey/X25519 pass pass
TestLinker pass pass
TestMismatchedCurves pass pass
TestMismatchedCurves/P256/P384 pass pass
TestMismatchedCurves/P256/P521 pass pass
TestMismatchedCurves/P256/X25519 pass pass
TestMismatchedCurves/P384/P256 pass pass
TestMismatchedCurves/P384/P521 pass pass
TestMismatchedCurves/P384/X25519 pass pass
TestMismatchedCurves/P521/P256 pass pass
TestMismatchedCurves/P521/P384 pass pass
TestMismatchedCurves/P521/X25519 pass pass
TestMismatchedCurves/X25519/P256 pass pass
TestMismatchedCurves/X25519/P384 pass pass
TestMismatchedCurves/X25519/P521 pass pass
TestNewPrivateKey pass pass
TestNewPrivateKey/P256 pass pass
TestNewPrivateKey/P384 pass pass
TestNewPrivateKey/P521 pass pass
TestNewPrivateKey/X25519 pass pass
TestNewPublicKey pass pass
TestNewPublicKey/P256 pass pass
TestNewPublicKey/P384 pass pass
TestNewPublicKey/P521 pass pass
TestNewPublicKey/X25519 pass pass
TestString pass pass
TestString/P256 pass pass
TestString/P384 pass pass
TestString/P521 pass pass
TestString/X25519 pass pass
TestVectors pass pass
TestVectors/P256 pass pass
TestVectors/P384 pass pass
TestVectors/P521 pass pass
TestVectors/X25519 pass pass
TestX25519Failure pass pass
TestX25519Failure/identity_point pass pass
TestX25519Failure/low_order_point pass pass

Excluded declarations

Declarations filtered from both sides of the comparison, and therefore not claimed above: Benchmark, Fuzz and Example declarations the converted host does not execute, plus any test requiring a capability the managed runtime does not provide — a testing member the host has not implemented, or a platform behavior it provably cannot reproduce. Each is named with the capability it needs.