Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Apr 22, 2024
1 parent 60323b5 commit d4bcf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group/edwards25519/point.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func i2OSP(x int, xLen int) ([]byte, error) {

func byteXor(dst, b1, b2 []byte) ([]byte, error) {
if !(len(dst) == len(b1) && len(b2) == len(b1)) {
return nil, xerrors.New("incompatible lenghs")
return nil, xerrors.New("incompatible lengths")
}

for i := 0; i < len(dst); i++ {
Expand Down

0 comments on commit d4bcf7c

Please sign in to comment.