Skip to content

Commit 8097ed7

Browse files
authored
Merge pull request #7012 from philljj/spelling_cleanup
Used codespell and fixed obvious typos.
2 parents cbe8309 + 9265142 commit 8097ed7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12091,7 +12091,7 @@ void TLSX_FreeAll(TLSX* list, void* heap)
1209112091

1209212092
#ifdef WOLFSSL_SEND_HRR_COOKIE
1209312093
case TLSX_COOKIE:
12094-
WOLFSSL_MSG("Cookie extension freee");
12094+
WOLFSSL_MSG("Cookie extension free");
1209512095
CKE_FREE_ALL((Cookie*)extension->data, heap);
1209612096
break;
1209712097
#endif

wolfcrypt/src/rsa.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,8 +2628,8 @@ static int RsaFunctionPrivate(mp_int* tmp, RsaKey* key, WC_RNG* rng)
26282628
#endif /* RSA_LOW_MEM */
26292629

26302630
#if defined(WC_RSA_BLINDING) && !defined(WC_NO_RNG)
2631-
/* Multiply result (tmp) by bliding invertor (rndi).
2632-
* Use Montogemery form to make operation more constant time.
2631+
/* Multiply result (tmp) by blinding invertor (rndi).
2632+
* Use Montgomery form to make operation more constant time.
26332633
*/
26342634
if ((ret == 0) && (mp_montgomery_setup(&key->n, &mp) != MP_OKAY)) {
26352635
ret = MP_MULMOD_E;
@@ -2638,7 +2638,7 @@ static int RsaFunctionPrivate(mp_int* tmp, RsaKey* key, WC_RNG* rng)
26382638
MP_OKAY)) {
26392639
ret = MP_MULMOD_E;
26402640
}
2641-
/* Convert blinding invert to Montogmery form. */
2641+
/* Convert blinding invert to Montgomery form. */
26422642
if ((ret == 0) && (mp_mul(rndi, rnd, rndi) != MP_OKAY)) {
26432643
ret = MP_MULMOD_E;
26442644
}

0 commit comments

Comments
 (0)