Skip to content

Commit 51ffe96

Browse files
committed
Spelling fixes in script generated files
1 parent 18032cd commit 51ffe96

13 files changed

Lines changed: 463 additions & 463 deletions

wolfcrypt/src/fe_448.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void fe448_sub(word8* r, const word8* a, const word8* b)
167167
}
168168
}
169169

170-
/* Mulitply a field element by 39081. r = (39081 * a) mod (2^448 - 2^224 - 1)
170+
/* Multiply a field element by 39081. r = (39081 * a) mod (2^448 - 2^224 - 1)
171171
*
172172
* r [in] Field element to hold result.
173173
* a [in] Field element to multiply.
@@ -192,7 +192,7 @@ void fe448_mul39081(word8* r, const word8* a)
192192
}
193193
}
194194

195-
/* Mulitply two field elements. r = (a * b) mod (2^448 - 2^224 - 1)
195+
/* Multiply two field elements. r = (a * b) mod (2^448 - 2^224 - 1)
196196
*
197197
* r [in] Field element to hold result.
198198
* a [in] Field element to multiply.
@@ -448,7 +448,7 @@ void fe448_neg(word8* r, const word8* a)
448448
}
449449

450450
/* Raise field element to (p-3) / 4: 2^446 - 2^222 - 1
451-
* Used for calcualting y-ordinate from x-ordinate for Ed448.
451+
* Used for calculating y-ordinate from x-ordinate for Ed448.
452452
*
453453
* r [in] Field element to hold result.
454454
* a [in] Field element to exponentiate.
@@ -788,7 +788,7 @@ void fe448_sub(sword64* r, const sword64* a, const sword64* b)
788788
r[7] = a[7] - b[7];
789789
}
790790

791-
/* Mulitply a field element by 39081. r = (39081 * a) mod (2^448 - 2^224 - 1)
791+
/* Multiply a field element by 39081. r = (39081 * a) mod (2^448 - 2^224 - 1)
792792
*
793793
* r [in] Field element to hold result.
794794
* a [in] Field element to multiply.
@@ -826,7 +826,7 @@ void fe448_mul39081(sword64* r, const sword64* a)
826826
r[7] = (sword64)t7;
827827
}
828828

829-
/* Mulitply two field elements. r = (a * b) mod (2^448 - 2^224 - 1)
829+
/* Multiply two field elements. r = (a * b) mod (2^448 - 2^224 - 1)
830830
*
831831
* r [in] Field element to hold result.
832832
* a [in] Field element to multiply.
@@ -1172,7 +1172,7 @@ void fe448_neg(sword64* r, const sword64* a)
11721172
}
11731173

11741174
/* Raise field element to (p-3) / 4: 2^446 - 2^222 - 1
1175-
* Used for calcualting y-ordinate from x-ordinate for Ed448.
1175+
* Used for calculating y-ordinate from x-ordinate for Ed448.
11761176
*
11771177
* r [in] Field element to hold result.
11781178
* a [in] Field element to exponentiate.
@@ -1699,7 +1699,7 @@ void fe448_reduce(sword32* a)
16991699
o = a[15] >> 28; a[0] += (sword32)o;
17001700
a[8] += (sword32)o; a[15] -= (sword32)(o << 28);
17011701
}
1702-
/* Mulitply a field element by 39081. r = (39081 * a) mod (2^448 - 2^224 - 1)
1702+
/* Multiply a field element by 39081. r = (39081 * a) mod (2^448 - 2^224 - 1)
17031703
*
17041704
* r [in] Field element to hold result.
17051705
* a [in] Field element to multiply.
@@ -1761,7 +1761,7 @@ void fe448_mul39081(sword32* r, const sword32* a)
17611761
r[15] = (sword32)t15;
17621762
}
17631763

1764-
/* Mulitply two field elements. r = a * b
1764+
/* Multiply two field elements. r = a * b
17651765
*
17661766
* r [in] Field element to hold result.
17671767
* a [in] Field element to multiply.
@@ -1891,7 +1891,7 @@ static WC_INLINE void fe448_mul_8(sword32* r, const sword32* a, const sword32* b
18911891
r[15] = (sword32)t15;
18921892
}
18931893

1894-
/* Mulitply two field elements. r = (a * b) mod (2^448 - 2^224 - 1)
1894+
/* Multiply two field elements. r = (a * b) mod (2^448 - 2^224 - 1)
18951895
*
18961896
* r [in] Field element to hold result.
18971897
* a [in] Field element to multiply.
@@ -2271,7 +2271,7 @@ void fe448_neg(sword32* r, const sword32* a)
22712271
}
22722272

22732273
/* Raise field element to (p-3) / 4: 2^446 - 2^222 - 1
2274-
* Used for calcualting y-ordinate from x-ordinate for Ed448.
2274+
* Used for calculating y-ordinate from x-ordinate for Ed448.
22752275
*
22762276
* r [in] Field element to hold result.
22772277
* a [in] Field element to exponentiate.

wolfcrypt/src/poly1305_asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ L_poly1305_avx_final_no_more:
324324
movq %rcx, %r8
325325
andq $3, %rcx
326326
shrq $2, %r8
327-
# Multily by 5
327+
# Multiply by 5
328328
leaq 0(%r8,%r8,4), %r8
329329
addq %r8, %rax
330330
adcq $0x00, %rdx

wolfcrypt/src/port/arm/armv8-sha512-asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ _Transform_Sha512_Len_crypto:
12171217
adrp x4, L_SHA512_transform_crypto_len_k@PAGE
12181218
add x4, x4, :lo12:L_SHA512_transform_crypto_len_k@PAGEOFF
12191219
#endif /* __APPLE__ */
1220-
# Load first 16 64-bit words of K permantly
1220+
# Load first 16 64-bit words of K permanently
12211221
ld1 {v8.2d, v9.2d, v10.2d, v11.2d}, [x4], #0x40
12221222
ld1 {v12.2d, v13.2d, v14.2d, v15.2d}, [x4], #0x40
12231223
# Load digest into working vars

wolfcrypt/src/port/arm/armv8-sha512-asm_c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ void Transform_Sha512_Len_crypto(wc_Sha512* sha512, const byte* data, word32 len
11491149
"adrp x4, %[L_SHA512_transform_crypto_len_k]@PAGE\n\t"
11501150
"add x4, x4, %[L_SHA512_transform_crypto_len_k]@PAGEOFF\n\t"
11511151
#endif /* __APPLE__ */
1152-
/* Load first 16 64-bit words of K permantly */
1152+
/* Load first 16 64-bit words of K permanently */
11531153
"ld1 {v8.2d, v9.2d, v10.2d, v11.2d}, [x4], #0x40\n\t"
11541154
"ld1 {v12.2d, v13.2d, v14.2d, v15.2d}, [x4], #0x40\n\t"
11551155
/* Load digest into working vars */

0 commit comments

Comments
 (0)