Skip to content

Commit

Permalink
addressing code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AnomalRoil committed Jun 6, 2024
1 parent c4aad01 commit f75fa16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion group/edwards25519/point.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package edwards25519 provides an optimized Go implementation of a
// Twisted Edwards curve that is isomorphic to var_ed25519. For details see:
// Twisted Edwards curve that is isomorphic to Curve25519. For details see:
// http://ed25519.cr.yp.to/.
//
// This code is based on Adam Langley's Go port of the public domain,
Expand Down
2 changes: 1 addition & 1 deletion group/var_ed25519/curve.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (c *curve) PointLen() int {
return (c.P.BitLen() + 7 + 1) / 8
}

// NewKey returns a formatted var_ed25519 key (avoiding subgroup attack by requiring
// NewKey returns a formatted, clamped scalar (avoiding subgroup attack by requiring
// it to be a multiple of 8). NewKey implements the kyber/util/key.Generator interface.
func (c *curve) NewKey(stream cipher.Stream) kyber.Scalar {
var buffer [32]byte
Expand Down

0 comments on commit f75fa16

Please sign in to comment.