Lines Matching refs:sz
178 int sz; in kdf_hkdf_size() local
188 sz = EVP_MD_get_size(md); in kdf_hkdf_size()
189 if (sz <= 0) in kdf_hkdf_size()
192 return sz; in kdf_hkdf_size()
370 size_t sz = kdf_hkdf_size(ctx); in hkdf_common_get_ctx_params() local
372 if (sz == 0) in hkdf_common_get_ctx_params()
374 if (!OSSL_PARAM_set_size_t(p, sz)) in hkdf_common_get_ctx_params()
462 int ret, sz; in HKDF() local
465 sz = EVP_MD_get_size(evp_md); in HKDF()
466 if (sz <= 0) in HKDF()
468 prk_len = (size_t)sz; in HKDF()
511 int sz = EVP_MD_get_size(evp_md); in HKDF_Extract() local
513 if (sz <= 0) in HKDF_Extract()
515 if (prk_len != (size_t)sz) { in HKDF_Extract()
571 int ret = 0, sz; in HKDF_Expand() local
576 sz = EVP_MD_get_size(evp_md); in HKDF_Expand()
577 if (sz <= 0) in HKDF_Expand()
579 dig_len = (size_t)sz; in HKDF_Expand()