More typos found by codespell

This commit is contained in:
Dimitri Papadopoulos
2023-09-22 11:38:24 +02:00
parent 9442ec4b06
commit f7d7006e87
5 changed files with 9 additions and 9 deletions

View File

@@ -604,7 +604,7 @@ int wolfSSL_tls_import(WOLFSSL* ssl, const unsigned char* buf,
_Example_ _Example_
\code \code
int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx); 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 // buf (serialized session) to destination
WOLFSSL_CTX* ctx; WOLFSSL_CTX* ctx;
int ret; int ret;
@@ -636,7 +636,7 @@ int wolfSSL_CTX_dtls_set_export(WOLFSSL_CTX* ctx, wc_dtls_export func);
_Example_ _Example_
\code \code
int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx); 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 // buf (serialized session) to destination
WOLFSSL* ssl; WOLFSSL* ssl;
int ret; int ret;

View File

@@ -762,7 +762,7 @@ int wolfSSL_tls_import(WOLFSSL* ssl, const unsigned char* buf,
_Example_ _Example_
\code \code
int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx); 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 // buf (serialized session) to destination
WOLFSSL_CTX* ctx; WOLFSSL_CTX* ctx;
int ret; int ret;
@@ -799,7 +799,7 @@ int wolfSSL_CTX_dtls_set_export(WOLFSSL_CTX* ctx,
_Example_ _Example_
\code \code
int send_session(WOLFSSL* ssl, byte* buf, word32 sz, void* userCtx); 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 // buf (serialized session) to destination
WOLFSSL* ssl; WOLFSSL* ssl;
int ret; int ret;

View File

@@ -2,7 +2,7 @@
# #
# aria_cmake_build_test.sh # 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. # for the ARIA Magic Crypto ciphers.
# #
# See https://github.com/wolfSSL/wolfssl/pull/6400 and # See https://github.com/wolfSSL/wolfssl/pull/6400 and

View File

@@ -432,7 +432,7 @@ int Renesas_cmn_usable(const WOLFSSL* ssl, byte session_key_generated)
* Get Callback ctx by devId * Get Callback ctx by devId
* *
* devId : devId to get its CTX * 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 * otherwise, NULL
*/ */
WOLFSSL_LOCAL void *Renesas_cmn_GetCbCtxBydevId(int devId) WOLFSSL_LOCAL void *Renesas_cmn_GetCbCtxBydevId(int devId)

View File

@@ -71,7 +71,7 @@ typedef fsp_err_t (*aesGcmDecFinalFn)
(FSPSM_AESGCM_HANDLE*, uint8_t*, uint32_t*, uint8_t*, uint32_t); (FSPSM_AESGCM_HANDLE*, uint8_t*, uint32_t*, uint8_t*, uint32_t);
#if defined(WOLFSSL_RENESAS_RSIP) #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, static fsp_err_t _R_RSIP_AES_GCM_EncryptInit(FSPSM_AESGCM_HANDLE* h,
FSPSM_AES_PWKEY k, uint8_t* iv, FSPSM_AES_PWKEY k, uint8_t* iv,
uint32_t iv_l) 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, return R_RSIP_AES_GCM_EncryptInit(&gFSPSM_ctrl, (FSPSM_AES_PWKEY const)k,
(uint8_t* const)iv, iv_l); (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, 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_plain, uint8_t* p_cipher, uint32_t plain_length,
uint8_t* p_add, uint32_t add_len) 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, (uint8_t* const) p_add,
(uint32_t const) add_len); (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, static fsp_err_t _R_RSIP_AES_GCM_EncryptFinal(FSPSM_AESGCM_HANDLE* h,
uint8_t* p_cipher, uint32_t* c_len, uint8_t* p_cipher, uint32_t* c_len,
uint8_t* p_atag) uint8_t* p_atag)