diff --git a/README.md b/README.md index 270f3e54..f091b8ae 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ man wolfssl-genkey man wolfssl-encrypt ``` -For instuctions on how to build windows, see [here](ide/winvs/README.md). +For instructions on how to build windows, see [here](ide/winvs/README.md). ## Contributing to Documentation diff --git a/src/benchmark/clu_bench_setup.c b/src/benchmark/clu_bench_setup.c index aada45b3..6ca70ee1 100644 --- a/src/benchmark/clu_bench_setup.c +++ b/src/benchmark/clu_bench_setup.c @@ -93,7 +93,7 @@ int wolfCLU_benchSetup(int argc, char** argv) } } - /* pull as many of the algorithms out of the argv as posible */ + /* pull as many of the algorithms out of the argv as possible */ for (i = 0; i < (int)algsSz; ++i) { ret = wolfCLU_checkForArg(algs[i], (int)XSTRLEN(algs[i]), argc, argv); if (ret > 0) { diff --git a/src/benchmark/clu_benchmark.c b/src/benchmark/clu_benchmark.c index f1fef2b5..f651d8f9 100644 --- a/src/benchmark/clu_benchmark.c +++ b/src/benchmark/clu_benchmark.c @@ -29,7 +29,7 @@ #endif /* HAVE_BLAKE2 */ /* - * benchmarking funciton + * benchmarking function */ int wolfCLU_benchmark(int timer, int* option) { diff --git a/src/clu_main.c b/src/clu_main.c index 4f904c55..9847bf72 100644 --- a/src/clu_main.c +++ b/src/clu_main.c @@ -395,7 +395,7 @@ int clu_entry(const void* argument) WOLFCLU_LOG(WOLFCLU_L0, "Please enter a wolfCLU command (wolfssl -h for help)"); - /* Recieve the command from the UART console */ + /* Receive the command from the UART console */ do { halRet = HAL_UART_Receive(&HAL_CONSOLE_UART, buffer, (sizeof(buffer)-1), 100); } while (halRet != HAL_OK || buffer[0] == '\n' || buffer[0] == '\r'); diff --git a/src/crypto/clu_evp_crypto.c b/src/crypto/clu_evp_crypto.c index 745878eb..faa39b92 100644 --- a/src/crypto/clu_evp_crypto.c +++ b/src/crypto/clu_evp_crypto.c @@ -293,7 +293,7 @@ int wolfCLU_evp_crypto(const WOLFSSL_EVP_CIPHER* cphr, char* mode, byte* pwdKey, for (z = 0; z < ivSz; z++) printf("%02X", iv[z]); printf("\n"); - WOLFCLU_LOG(WOLFCLU_L0, "itterations = %d", iter); + WOLFCLU_LOG(WOLFCLU_L0, "iterations = %d", iter); WOLFCLU_LOG(WOLFCLU_L0, "PBKDF version = %d", pbkVersion); } diff --git a/src/genkey/clu_genkey.c b/src/genkey/clu_genkey.c index 7e27eef3..e129096d 100644 --- a/src/genkey/clu_genkey.c +++ b/src/genkey/clu_genkey.c @@ -1540,7 +1540,7 @@ int wolfCLU_genKey_ML_DSA(WC_RNG* rng, char* fName, int directive, int fmt, #endif /* HAVE_DILITHIUM */ } -/* The call back function of the writting xmss key */ +/* The call back function of the writing xmss key */ #ifdef WOLFSSL_HAVE_XMSS enum wc_XmssRc wolfCLU_XmssKey_WriteCb(const byte * priv, word32 privSz, void * context) diff --git a/src/sign-verify/clu_sign.c b/src/sign-verify/clu_sign.c index cfebc878..27201250 100644 --- a/src/sign-verify/clu_sign.c +++ b/src/sign-verify/clu_sign.c @@ -796,7 +796,7 @@ int wolfCLU_sign_data_dilithium (byte* data, char* out, word32 dataSz, char* pri " buffer.\nRET: %d", ret); } } - /* sign the message usign Dilithium private key. Note that the context is + /* sign the message using Dilithium private key. Note that the context is * empty. This is for interoperability. */ if (ret == 0) { ret = wc_dilithium_sign_ctx_msg(NULL, 0, data, dataSz, outBuf, diff --git a/src/sign-verify/clu_sign_verify_setup.c b/src/sign-verify/clu_sign_verify_setup.c index 12c257fe..126366bd 100644 --- a/src/sign-verify/clu_sign_verify_setup.c +++ b/src/sign-verify/clu_sign_verify_setup.c @@ -205,7 +205,7 @@ int wolfCLU_sign_verify_setup(int argc, char** argv) else { if (algCheck == RSA_SIG_VER) { WOLFCLU_LOG(WOLFCLU_L0, "Please specify an output file when " - "signing or verifing with RSA."); + "signing or verifying with RSA."); wolfCLU_signHelp(algCheck); wolfCLU_verifyHelp(algCheck); if (priv) diff --git a/src/sign-verify/clu_verify.c b/src/sign-verify/clu_verify.c index ae61024a..b2a86316 100644 --- a/src/sign-verify/clu_verify.c +++ b/src/sign-verify/clu_verify.c @@ -939,7 +939,7 @@ int wolfCLU_verify_signature_xmss(byte* sig, int sigSz, if (ret == 0) { ret = wc_XmssKey_Verify(key, sig, sigSz, msg, msgLen); if (ret != 0) { - WOLFCLU_LOG(WOLFCLU_L0, "Invaild Signature."); + WOLFCLU_LOG(WOLFCLU_L0, "Invalid Signature."); } else { WOLFCLU_LOG(WOLFCLU_L0, "Valid Signature."); @@ -1109,7 +1109,7 @@ int wolfCLU_verify_signature_xmssmt(byte* sig, int sigSz, if (ret == 0) { ret = wc_XmssKey_Verify(key, sig, sigSz, msg, msgLen); if (ret != 0) { - WOLFCLU_LOG(WOLFCLU_L0, "Invaild Signature."); + WOLFCLU_LOG(WOLFCLU_L0, "Invalid Signature."); } else { WOLFCLU_LOG(WOLFCLU_L0, "Valid Signature."); diff --git a/src/tools/clu_funcs.c b/src/tools/clu_funcs.c index 90d56331..2ffb7d61 100644 --- a/src/tools/clu_funcs.c +++ b/src/tools/clu_funcs.c @@ -443,7 +443,7 @@ void wolfCLU_certHelp(void) WOLFCLU_LOG(WOLFCLU_L0, "-outform pem or der out format"); WOLFCLU_LOG(WOLFCLU_L0, "-out output file to write to"); WOLFCLU_LOG(WOLFCLU_L0, "-req input file is a CSR file"); - WOLFCLU_LOG(WOLFCLU_L0, "-singkey a key for signing"); + WOLFCLU_LOG(WOLFCLU_L0, "-signkey a key for signing"); WOLFCLU_LOG(WOLFCLU_L0, "-* supported digests for signing"); WOLFCLU_LOG(WOLFCLU_L0, "-extfile config file"); WOLFCLU_LOG(WOLFCLU_L0, "-extensions section of the config file to use"); @@ -670,12 +670,12 @@ void wolfCLU_verifyHelp(int keyType) { #endif #ifdef HAVE_ED25519 case ED25519_SIG_VER: - WOLFCLU_LOG(WOLFCLU_L0, "ED25519 Verifiy with Private Key" + WOLFCLU_LOG(WOLFCLU_L0, "ED25519 Verify with Private Key" "wolfssl -ed25519 -verify -inkey " " -sigfile -in " "\n"); WOLFCLU_LOG(WOLFCLU_L0, "***************************************************************"); - WOLFCLU_LOG(WOLFCLU_L0, "ED25519 Verifiy with Public Key" + WOLFCLU_LOG(WOLFCLU_L0, "ED25519 Verify with Public Key" "wolfssl -ed25519 -verify -inkey " " -sigfile -in -pubin" "\n"); @@ -1115,7 +1115,7 @@ int wolfCLU_getAlgo(int argc, char** argv, int* alg, char** mode, int* size) } /* - * gets current time durring program execution + * gets current time during program execution */ double wolfCLU_getTime(void) { diff --git a/src/x509/clu_config.c b/src/x509/clu_config.c index 49ee8c0d..6688e887 100644 --- a/src/x509/clu_config.c +++ b/src/x509/clu_config.c @@ -322,7 +322,7 @@ static int wolfCLU_parseExtension(WOLFSSL_X509* x509, char* str, int nid, if (ext != NULL) { ret = wolfSSL_X509_add_ext(x509, ext, -1); if (ret != WOLFSSL_SUCCESS) { - wolfCLU_LogError("error %d adding extesion", ret); + wolfCLU_LogError("error %d adding extension", ret); } *idx = *idx + 1; wolfSSL_X509_EXTENSION_free(ext); diff --git a/src/x509/clu_request_setup.c b/src/x509/clu_request_setup.c index 69939cb1..d88cf687 100644 --- a/src/x509/clu_request_setup.c +++ b/src/x509/clu_request_setup.c @@ -938,7 +938,7 @@ int wolfCLU_requestSetup(int argc, char** argv) ret = wolfSSL_X509_add_ext(x509, newExt, -1); if (ret != WOLFSSL_SUCCESS) { WOLFCLU_LOG(WOLFCLU_E0, - "error %d adding Basic Constraints extesion", ret); + "error %d adding Basic Constraints extension", ret); } wolfSSL_X509_EXTENSION_free(newExt); }