Browse Source

More typos found by codespell

Dimitri Papadopoulos 7 months ago
parent
commit
f7d7006e87

+ 2 - 2
doc/dox_comments/header_files-ja/ssl.h

@@ -604,7 +604,7 @@ int wolfSSL_tls_import(WOLFSSL* ssl, const unsigned char* buf,
     _Example_
     \code
     int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx);
-    // body of send session (wc_dtls_export) that passses
+    // body of send session (wc_dtls_export) that passes
     // buf (serialized session) to destination
     WOLFSSL_CTX* ctx;
     int ret;
@@ -636,7 +636,7 @@ int wolfSSL_CTX_dtls_set_export(WOLFSSL_CTX* ctx, wc_dtls_export func);
     _Example_
     \code
     int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx);
-    // body of send session (wc_dtls_export) that passses
+    // body of send session (wc_dtls_export) that passes
     // buf (serialized session) to destination
     WOLFSSL* ssl;
     int ret;

+ 2 - 2
doc/dox_comments/header_files/ssl.h

@@ -762,7 +762,7 @@ int wolfSSL_tls_import(WOLFSSL* ssl, const unsigned char* buf,
     _Example_
     \code
     int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx);
-    // body of send session (wc_dtls_export) that passses
+    // body of send session (wc_dtls_export) that passes
     // buf (serialized session) to destination
     WOLFSSL_CTX* ctx;
     int ret;
@@ -799,7 +799,7 @@ int wolfSSL_CTX_dtls_set_export(WOLFSSL_CTX* ctx,
     _Example_
     \code
     int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx);
-    // body of send session (wc_dtls_export) that passses
+    // body of send session (wc_dtls_export) that passes
     // buf (serialized session) to destination
     WOLFSSL* ssl;
     int ret;

+ 1 - 1
scripts/aria-cmake-build-test.sh

@@ -2,7 +2,7 @@
 #
 # aria_cmake_build_test.sh
 #
-# This is a test script for building wolfSSL exaples with various settings
+# This is a test script for building wolfSSL examples with various settings
 # for the ARIA Magic Crypto ciphers.
 #
 # See https://github.com/wolfSSL/wolfssl/pull/6400 and

+ 1 - 1
wolfcrypt/src/port/Renesas/renesas_common.c

@@ -432,7 +432,7 @@ int Renesas_cmn_usable(const WOLFSSL* ssl, byte session_key_generated)
  * Get Callback ctx by devId
  *
  * devId   : devId to get its CTX
- * return  asocciated CTX when the method is succesfully called.
+ * return  asocciated CTX when the method is successfully called.
  *         otherwise, NULL
  */
 WOLFSSL_LOCAL void *Renesas_cmn_GetCbCtxBydevId(int devId)

+ 3 - 3
wolfcrypt/src/port/Renesas/renesas_fspsm_aes.c

@@ -71,7 +71,7 @@ typedef fsp_err_t (*aesGcmDecFinalFn)
         (FSPSM_AESGCM_HANDLE*, uint8_t*, uint32_t*, uint8_t*, uint32_t);
 
 #if defined(WOLFSSL_RENESAS_RSIP)
-/* wrapper for Gcm enrypt init */
+/* wrapper for Gcm encrypt init */
 static fsp_err_t _R_RSIP_AES_GCM_EncryptInit(FSPSM_AESGCM_HANDLE* h, 
                                         FSPSM_AES_PWKEY k, uint8_t* iv,
                                         uint32_t iv_l)
@@ -80,7 +80,7 @@ static fsp_err_t _R_RSIP_AES_GCM_EncryptInit(FSPSM_AESGCM_HANDLE* h,
     return R_RSIP_AES_GCM_EncryptInit(&gFSPSM_ctrl, (FSPSM_AES_PWKEY const)k,
                                             (uint8_t* const)iv, iv_l);
 }
-/* wrapper for Gcm enrypt update */
+/* wrapper for Gcm encrypt update */
 static fsp_err_t _R_RSIP_AES_GCM_EncryptUpdate(FSPSM_AESGCM_HANDLE* h, 
         uint8_t* p_plain, uint8_t* p_cipher, uint32_t plain_length, 
         uint8_t* p_add, uint32_t add_len)
@@ -92,7 +92,7 @@ static fsp_err_t _R_RSIP_AES_GCM_EncryptUpdate(FSPSM_AESGCM_HANDLE* h,
                                       (uint8_t* const) p_add,
                                       (uint32_t const) add_len);
 }
-/* wrapper for Gcm enrypt final */
+/* wrapper for Gcm encrypt final */
 static fsp_err_t _R_RSIP_AES_GCM_EncryptFinal(FSPSM_AESGCM_HANDLE* h, 
                                         uint8_t* p_cipher, uint32_t* c_len, 
                                         uint8_t* p_atag)