From ecba6dfd66c46b3944a317a0f8239b262c07f56e Mon Sep 17 00:00:00 2001 From: lauener Date: Wed, 12 Jun 2024 11:08:04 +0200 Subject: [PATCH] Typos --- group/p256/curve.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group/p256/curve.go b/group/p256/curve.go index b41c5d5b4..f6a698b48 100644 --- a/group/p256/curve.go +++ b/group/p256/curve.go @@ -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() @@ -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()