Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/benchmark/clu_bench_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/benchmark/clu_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#endif /* HAVE_BLAKE2 */

/*
* benchmarking funciton
* benchmarking function
*/
int wolfCLU_benchmark(int timer, int* option)
{
Expand Down
2 changes: 1 addition & 1 deletion src/clu_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/clu_evp_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/genkey/clu_genkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/sign-verify/clu_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/sign-verify/clu_sign_verify_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/sign-verify/clu_verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down Expand Up @@ -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.");
Expand Down
8 changes: 4 additions & 4 deletions src/tools/clu_funcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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 "
"<priv_key> -sigfile <filename> -in <original>"
"\n");
Comment thread
philljj marked this conversation as resolved.
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 "
"<pub_key> -sigfile <filename> -in <original> -pubin"
"\n");
Comment thread
philljj marked this conversation as resolved.
Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/x509/clu_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/x509/clu_request_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading