Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Jun 12, 2024
1 parent 2dff70d commit ecba6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions group/p256/curve.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (P *curvePoint) Pick(rand cipher.Stream) kyber.Point {
return P.Embed(nil, rand)
}

// Embed pick a curve point containing a variable amount of embedded data.
// Embed picks a curve point containing a variable amount of embedded data.
// Remaining bits comprising the point are chosen randomly.
func (P *curvePoint) Embed(data []byte, rand cipher.Stream) kyber.Point {
l := P.c.coordLen()
Expand All @@ -119,7 +119,7 @@ func (P *curvePoint) Embed(data []byte, rand cipher.Stream) kyber.Point {
}
}

// Data extract embedded data from a curve point
// Data extracts embedded data from a curve point
func (P *curvePoint) Data() ([]byte, error) {
b := P.x.Bytes()
l := P.c.coordLen()
Expand Down

0 comments on commit ecba6df

Please sign in to comment.