Skip to content

Commit ea5e8a9

Browse files
Merge #1012: Fix typos
2332975 Fix typos (Dimitris Apostolou) Pull request description: ACKs for top commit: real-or-random: ACK 2332975 Tree-SHA512: c8b091d26ceb15518cc668e05ac56e205668e10c63ecc38c9b9b3edf01f4767e66891856bb931b16f32e34521913ebb3d06b57804063210e12a7aab9447249ca
2 parents 7006f1b + 2332975 commit ea5e8a9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ AC_PATH_TOOL(STRIP, strip)
2121

2222
# Save definition of AC_PROG_CC because AM_PROG_CC_C_O in automake<=1.13 will
2323
# redefine AC_PROG_CC to exit with an error, which avoids the user calling it
24-
# accidently and screwing up the effect of AM_PROG_CC_C_O. However, we'll need
24+
# accidentally and screwing up the effect of AM_PROG_CC_C_O. However, we'll need
2525
# AC_PROG_CC later on in AX_PROG_CC_FOR_BUILD, where its usage is fine, and
2626
# we'll carefully make sure not to call AC_PROG_CC anywhere else.
2727
m4_copy([AC_PROG_CC], [saved_AC_PROG_CC])

src/ecmult_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ struct secp256k1_strauss_state {
220220
static void secp256k1_ecmult_strauss_wnaf(const struct secp256k1_strauss_state *state, secp256k1_gej *r, size_t num, const secp256k1_gej *a, const secp256k1_scalar *na, const secp256k1_scalar *ng) {
221221
secp256k1_ge tmpa;
222222
secp256k1_fe Z;
223-
/* Splitted G factors. */
223+
/* Split G factors. */
224224
secp256k1_scalar ng_1, ng_128;
225225
int wnaf_ng_1[129];
226226
int bits_ng_1 = 0;

src/scalar_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static void secp256k1_scalar_split_lambda_verify(const secp256k1_scalar *r1, con
7474
* Both lambda and beta are primitive cube roots of unity. That is lamba^3 == 1 mod n and
7575
* beta^3 == 1 mod p, where n is the curve order and p is the field order.
7676
*
77-
* Futhermore, because (X^3 - 1) = (X - 1)(X^2 + X + 1), the primitive cube roots of unity are
77+
* Furthermore, because (X^3 - 1) = (X - 1)(X^2 + X + 1), the primitive cube roots of unity are
7878
* roots of X^2 + X + 1. Therefore lambda^2 + lamba == -1 mod n and beta^2 + beta == -1 mod p.
7979
* (The other primitive cube roots of unity are lambda^2 and beta^2 respectively.)
8080
*

src/tests.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3225,7 +3225,7 @@ void test_intialized_inf(void) {
32253225
secp256k1_gej pj, npj, infj1, infj2, infj3;
32263226
secp256k1_fe zinv;
32273227

3228-
/* Test that adding P+(-P) results in a fully initalized infinity*/
3228+
/* Test that adding P+(-P) results in a fully initialized infinity*/
32293229
random_group_element_test(&p);
32303230
secp256k1_gej_set_ge(&pj, &p);
32313231
secp256k1_gej_neg(&npj, &pj);

0 commit comments

Comments
 (0)