File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1722,7 +1722,7 @@ int wc_ecc_ctx_set_peer_salt(ecEncCtx* ctx, const byte* salt);
17221722
17231723 \param ctx pointer to the ecEncCtx for which to set the salt
17241724 \param salt pointer to salt buffer
1725- \param len length salt in bytes
1725+ \param sz length salt in bytes
17261726
17271727 _Example_
17281728 \code
@@ -1742,7 +1742,7 @@ int wc_ecc_ctx_set_peer_salt(ecEncCtx* ctx, const byte* salt);
17421742 \sa wc_ecc_ctx_get_peer_salt
17431743*/
17441744
1745- int wc_ecc_ctx_set_kdf_salt (ecEncCtx * ctx , const byte * salt , word32 len );
1745+ int wc_ecc_ctx_set_kdf_salt (ecEncCtx * ctx , const byte * salt , word32 sz );
17461746
17471747/*!
17481748 \ingroup ECC
Original file line number Diff line number Diff line change @@ -13834,13 +13834,13 @@ int wc_ecc_ctx_set_peer_salt(ecEncCtx* ctx, const byte* salt)
1383413834 * @return 0 on success.
1383513835 * @return BAD_FUNC_ARG when ctx is NULL or salt is NULL and len is not 0.
1383613836 */
13837- int wc_ecc_ctx_set_kdf_salt(ecEncCtx* ctx, const byte* salt, word32 len )
13837+ int wc_ecc_ctx_set_kdf_salt(ecEncCtx* ctx, const byte* salt, word32 sz )
1383813838{
13839- if (ctx == NULL || (salt == NULL && len != 0))
13839+ if (ctx == NULL || (salt == NULL && sz != 0))
1384013840 return BAD_FUNC_ARG;
1384113841
1384213842 ctx->kdfSalt = salt;
13843- ctx->kdfSaltSz = len ;
13843+ ctx->kdfSaltSz = sz ;
1384413844
1384513845 if (ctx->protocol == REQ_RESP_CLIENT) {
1384613846 ctx->cliSt = ecCLI_SALT_SET;
You can’t perform that action at this time.
0 commit comments