diff --git a/INSTALL b/INSTALL index 9dbe057c6..d40343233 100644 --- a/INSTALL +++ b/INSTALL @@ -129,7 +129,7 @@ popd - ARIA Ciper Suite. + ARIA Cipher Suite. The ARIA cipher needs a 3rd party source binary, typically called `MagicCrypto.tar.gz`. diff --git a/examples/async/README.md b/examples/async/README.md index 2dbde6c40..2f7e5f5a3 100644 --- a/examples/async/README.md +++ b/examples/async/README.md @@ -25,7 +25,7 @@ make ## Asynchronous Cryptography Design -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. +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. For further design details please see: https://github.com/wolfSSL/wolfAsyncCrypt#design diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 470a3ce45..fd0b2284c 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -3073,7 +3073,7 @@ static WARN_UNUSED_RESULT int wc_AesDecrypt( #ifdef DEBUG_WOLFSSL ESP_LOGW(TAG, "wc_AesSetKeyLocal ByteReverseWords"); #endif - /* When not ESP32 HW, we need to reverse endianess */ + /* When not ESP32 HW, we need to reverse endianness */ ByteReverseWords(rk, rk, keylen); } #endif @@ -12078,7 +12078,7 @@ int wc_AesEaxEncryptUpdate(AesEax* eax, byte* out, * Decrypts input ciphertext using AES EAX mode, adding optional auth data to * the authentication stream * - * Returns 0 on sucess + * Returns 0 on success * Returns error code on failure */ int wc_AesEaxDecryptUpdate(AesEax* eax, byte* out, diff --git a/wolfcrypt/src/sp_dsp32.c b/wolfcrypt/src/sp_dsp32.c index 191299540..fd7b88c42 100644 --- a/wolfcrypt/src/sp_dsp32.c +++ b/wolfcrypt/src/sp_dsp32.c @@ -1180,7 +1180,7 @@ SP_NOINLINE static void sp_256_mul_10(sp_digit* r, const sp_digit* a, * a First number to multiply in Montgomery form. * b Second number to multiply in Montgomery form. * m Modulus (prime). - * mp Montgomery mulitplier. + * mp Montgomery multiplier. */ static void sp_256_mont_mul_10(sp_digit* r, const sp_digit* a, const sp_digit* b, 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) * r Result of squaring. * a Number to square in Montgomery form. * m Modulus (prime). - * mp Montgomery mulitplier. + * mp Montgomery multiplier. */ static void sp_256_mont_sqr_10(sp_digit* r, const sp_digit* a, const sp_digit* m, 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 * a Number to square in Montgomery form. * n Number of times to square. * m Modulus (prime). - * mp Montgomery mulitplier. + * mp Montgomery multiplier. */ static void sp_256_mont_sqr_n_10(sp_digit* r, const sp_digit* a, int n, const sp_digit* m, sp_digit mp) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index 284407809..648c40e8b 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -19092,7 +19092,7 @@ int sp_prime_is_prime_ex(const sp_int* a, int trials, int* result, WC_RNG* rng) * * a and b are positive integers. * - * Euclidian Algorithm: + * Euclidean Algorithm: * 1. If a > b then a = b, b = a * 2. u = a * 3. v = b % a