Skip to content

Commit

Permalink
ignore / fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Jun 11, 2024
1 parent b1997b0 commit f71a11f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions group/var_ed25519/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ func (s *SuiteEd25519) XOF(seed []byte) kyber.XOF {
}

func (s *SuiteEd25519) Read(r io.Reader, objs ...interface{}) error {
return fixbuf.Read(r, s, objs)
return fixbuf.Read(r, s, objs...)
}

func (s *SuiteEd25519) Write(w io.Writer, objs ...interface{}) error {
return fixbuf.Write(w, objs)
return fixbuf.Write(w, objs...)
}

// New implements the kyber.encoding interface
Expand Down
1 change: 1 addition & 0 deletions pairing/bn256/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ func HashG1(msg, dst []byte) kyber.Point {
return mapToCurve(hashToBase(msg, dst))
}

//nolint:funlen
func mapToCurve(t *gfP) kyber.Point {
one := *newGFp(1)

Expand Down

0 comments on commit f71a11f

Please sign in to comment.