Skip to content

Commit

Permalink
Delete Point struct
Browse files Browse the repository at this point in the history
Signed-off-by: huraway <[email protected]>
  • Loading branch information
hurae committed Apr 25, 2020
1 parent f6473ca commit 0b4df33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion ecdh_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Copyright (c) 2016 Andreas Auernhammer. All rights reserved.
// Use of this source code is governed by a license that can be
// found in the LICENSE file.

Expand Down
6 changes: 0 additions & 6 deletions generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import (
"math/big"
)

// Point represents a generic elliptic curve Point with a
// X and a Y coordinate.
type Point struct {
X, Y *big.Int
}

// Generic creates a new ecdh.KeyExchange with
// generic elliptic.Curve implementations.
func Generic(c elliptic.Curve) KeyExchange {
Expand Down

0 comments on commit 0b4df33

Please sign in to comment.