Skip to content

Commit

Permalink
move testvectors link
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal authored Nov 29, 2022
1 parent 1ddc890 commit 509c11b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openssl/ecdh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import (
"github.com/microsoft/go-crypto-openssl/openssl"
)

// The following tests has been copied from
// https://github.com/golang/go/blob/bb0d8297d76cb578baad8fa1485565d9acf44cc5/src/crypto/ecdh/ecdh_test.go.

func TestECDH(t *testing.T) {
for _, tt := range []string{"P-256", "P-384", "P-521"} {
t.Run(tt, func(t *testing.T) {
Expand Down Expand Up @@ -75,6 +72,9 @@ func TestECDH(t *testing.T) {
}
}

// The following vectors have been copied from
// https://github.com/golang/go/blob/bb0d8297d76cb578baad8fa1485565d9acf44cc5/src/crypto/ecdh/ecdh_test.go.

var ecdhvectors = []struct {
Name string
PrivateKey, PublicKey string
Expand Down

0 comments on commit 509c11b

Please sign in to comment.