Skip to content

Commit

Permalink
secp256k1: Correct some comment typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Aug 24, 2024
1 parent 59ded0b commit f20a957
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dcrec/secp256k1/modnscalar_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func BenchmarkModNScalarMul(b *testing.B) {
}

// BenchmarkBigIntSquareModN benchmarks squaring an unsigned 256-bit big-endian
// integer modulo the group order is zero with stdlib big integers.
// integer modulo the group order with stdlib big integers.
func BenchmarkBigIntSquareModN(b *testing.B) {
v1 := new(big.Int).SetBytes(benchmarkVals()[0])

Expand All @@ -200,7 +200,7 @@ func BenchmarkBigIntSquareModN(b *testing.B) {
}

// BenchmarkModNScalarSquare benchmarks squaring an unsigned 256-bit big-endian
// integer modulo the group order is zero with the specialized type.
// integer modulo the group order with the specialized type.
func BenchmarkModNScalarSquare(b *testing.B) {
var s1 ModNScalar
s1.SetByteSlice(benchmarkVals()[0])
Expand All @@ -213,7 +213,7 @@ func BenchmarkModNScalarSquare(b *testing.B) {
}

// BenchmarkBigIntNegateModN benchmarks negating an unsigned 256-bit big-endian
// integer modulo the group order is zero with stdlib big integers.
// integer modulo the group order with stdlib big integers.
func BenchmarkBigIntNegateModN(b *testing.B) {
v1 := new(big.Int).SetBytes(benchmarkVals()[0])

Expand All @@ -226,7 +226,7 @@ func BenchmarkBigIntNegateModN(b *testing.B) {
}

// BenchmarkModNScalarNegate benchmarks negating an unsigned 256-bit big-endian
// integer modulo the group order is zero with the specialized type.
// integer modulo the group order with the specialized type.
func BenchmarkModNScalarNegate(b *testing.B) {
var s1 ModNScalar
s1.SetByteSlice(benchmarkVals()[0])
Expand All @@ -239,8 +239,8 @@ func BenchmarkModNScalarNegate(b *testing.B) {
}

// BenchmarkBigIntInverseModN benchmarks calculating the multiplicative inverse
// of an unsigned 256-bit big-endian integer modulo the group order is zero with
// stdlib big integers.
// of an unsigned 256-bit big-endian integer modulo the group order with stdlib
// big integers.
func BenchmarkBigIntInverseModN(b *testing.B) {
v1 := new(big.Int).SetBytes(benchmarkVals()[0])

Expand All @@ -252,8 +252,8 @@ func BenchmarkBigIntInverseModN(b *testing.B) {
}

// BenchmarkModNScalarInverse benchmarks calculating the multiplicative inverse
// of an unsigned 256-bit big-endian integer modulo the group order is zero with
// the specialized type.
// of an unsigned 256-bit big-endian integer modulo the group order with the
// specialized type.
func BenchmarkModNScalarInverse(b *testing.B) {
var s1 ModNScalar
s1.SetByteSlice(benchmarkVals()[0])
Expand Down

0 comments on commit f20a957

Please sign in to comment.