Skip to content

Commit 59e947d

Browse files
Merge pull request #6936 from philljj/codespell_cleanup
Used codespell and fixed obvious typos.
2 parents 7435d23 + 34f349e commit 59e947d

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
popd
130130

131131

132-
ARIA Ciper Suite.
132+
ARIA Cipher Suite.
133133

134134
The ARIA cipher needs a 3rd party source binary, typically called
135135
`MagicCrypto.tar.gz`.

examples/async/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ make
2525

2626
## Asynchronous Cryptography Design
2727

28-
When a cryptogaphic call is handed off to harware it return `WC_PENDING_E` up to caller. Then it can keep calling until the operation completes. For some platforms it is required to call `wolfSSL_AsyncPoll`. At the TLS layer a "devId" (Device ID) must be set using `wolfSSL_CTX_SetDevId` to indicate desire to offload cryptography.
28+
When a cryptogaphic call is handed off to hardware it return `WC_PENDING_E` up to caller. Then it can keep calling until the operation completes. For some platforms it is required to call `wolfSSL_AsyncPoll`. At the TLS layer a "devId" (Device ID) must be set using `wolfSSL_CTX_SetDevId` to indicate desire to offload cryptography.
2929

3030
For further design details please see: https://github.com/wolfSSL/wolfAsyncCrypt#design
3131

wolfcrypt/src/aes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3073,7 +3073,7 @@ static WARN_UNUSED_RESULT int wc_AesDecrypt(
30733073
#ifdef DEBUG_WOLFSSL
30743074
ESP_LOGW(TAG, "wc_AesSetKeyLocal ByteReverseWords");
30753075
#endif
3076-
/* When not ESP32 HW, we need to reverse endianess */
3076+
/* When not ESP32 HW, we need to reverse endianness */
30773077
ByteReverseWords(rk, rk, keylen);
30783078
}
30793079
#endif
@@ -12078,7 +12078,7 @@ int wc_AesEaxEncryptUpdate(AesEax* eax, byte* out,
1207812078
* Decrypts input ciphertext using AES EAX mode, adding optional auth data to
1207912079
* the authentication stream
1208012080
*
12081-
* Returns 0 on sucess
12081+
* Returns 0 on success
1208212082
* Returns error code on failure
1208312083
*/
1208412084
int wc_AesEaxDecryptUpdate(AesEax* eax, byte* out,

wolfcrypt/src/sp_dsp32.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ SP_NOINLINE static void sp_256_mul_10(sp_digit* r, const sp_digit* a,
11801180
* a First number to multiply in Montgomery form.
11811181
* b Second number to multiply in Montgomery form.
11821182
* m Modulus (prime).
1183-
* mp Montgomery mulitplier.
1183+
* mp Montgomery multiplier.
11841184
*/
11851185
static void sp_256_mont_mul_10(sp_digit* r, const sp_digit* a, const sp_digit* b,
11861186
const sp_digit* m, sp_digit mp)
@@ -1281,7 +1281,7 @@ SP_NOINLINE static void sp_256_sqr_10(sp_digit* r, const sp_digit* a)
12811281
* r Result of squaring.
12821282
* a Number to square in Montgomery form.
12831283
* m Modulus (prime).
1284-
* mp Montgomery mulitplier.
1284+
* mp Montgomery multiplier.
12851285
*/
12861286
static void sp_256_mont_sqr_10(sp_digit* r, const sp_digit* a, const sp_digit* m,
12871287
sp_digit mp)
@@ -1297,7 +1297,7 @@ static void sp_256_mont_sqr_10(sp_digit* r, const sp_digit* a, const sp_digit* m
12971297
* a Number to square in Montgomery form.
12981298
* n Number of times to square.
12991299
* m Modulus (prime).
1300-
* mp Montgomery mulitplier.
1300+
* mp Montgomery multiplier.
13011301
*/
13021302
static void sp_256_mont_sqr_n_10(sp_digit* r, const sp_digit* a, int n,
13031303
const sp_digit* m, sp_digit mp)

wolfcrypt/src/sp_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19092,7 +19092,7 @@ int sp_prime_is_prime_ex(const sp_int* a, int trials, int* result, WC_RNG* rng)
1909219092
*
1909319093
* a and b are positive integers.
1909419094
*
19095-
* Euclidian Algorithm:
19095+
* Euclidean Algorithm:
1909619096
* 1. If a > b then a = b, b = a
1909719097
* 2. u = a
1909819098
* 3. v = b % a

0 commit comments

Comments
 (0)