Home
last modified time | relevance | path

Searched refs:EVP_MD_get_size (Results 1 – 25 of 59) sorted by relevance

123

/openssl/ssl/
H A Dtls13_enc.c64 if ((ret = EVP_MD_get_size(md)) <= 0) { in tls13_hkdf_expand_ex()
189 mdleni = EVP_MD_get_size(md); in tls13_generate_secret()
252 md_size = EVP_MD_get_size(md); in tls13_generate_master_secret()
359 int hashleni = EVP_MD_get_size(md); in derive_secret_key_and_iv()
380 mac_mdleni = EVP_MD_get_size(mac_md); in derive_secret_key_and_iv()
586 finsecretlen = EVP_MD_get_size(ssl_handshake_md(s)); in tls13_change_cipher_state()
622 finsecretlen = EVP_MD_get_size(ssl_handshake_md(s)); in tls13_change_cipher_state()
772 if ((l = EVP_MD_get_size(md)) <= 0) { in tls13_update_key()
H A Ds3_enc.c115 mdi = EVP_MD_get_size(md); in ssl3_change_cipher_state()
190 num = EVP_MD_get_size(hash); in ssl3_setup_key_block()
/openssl/crypto/rsa/
H A Drsa_oaep.c91 mdlen = EVP_MD_get_size(md); in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
209 mdlen = EVP_MD_get_size(md); in RSA_padding_check_PKCS1_OAEP_mgf1()
362 mdlen = EVP_MD_get_size(dgst); in PKCS1_MGF1()
H A Drsa_pmeth.c150 md_size = EVP_MD_get_size(rctx->md); in pkey_rsa_sign()
238 if (ret != EVP_MD_get_size(rctx->md)) { in pkey_rsa_verifyrecover()
282 md_size = EVP_MD_get_size(rctx->md); in pkey_rsa_verify()
502 md_size = EVP_MD_get_size(rctx->md); in pkey_rsa_ctrl()
886 md_size = EVP_MD_get_size(md); in pkey_pss_init()
H A Drsa_pss.c64 hLen = EVP_MD_get_size(Hash); in ossl_rsa_verify_PKCS1_PSS_mgf1()
189 hLen = EVP_MD_get_size(Hash); in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
/openssl/providers/implementations/kdfs/
H A Dhkdf.c188 sz = EVP_MD_get_size(md); in kdf_hkdf_size()
465 sz = EVP_MD_get_size(evp_md); in HKDF()
511 int sz = EVP_MD_get_size(evp_md); in HKDF_Extract()
522 salt_len, ikm, ikm_len, prk, EVP_MD_get_size(evp_md), NULL) in HKDF_Extract()
576 sz = EVP_MD_get_size(evp_md); in HKDF_Expand()
697 ret = EVP_MD_get_size(md); in prov_tls13_hkdf_generate_secret()
H A Dsskdf.c135 hlen = EVP_MD_get_size(kdf_md); in SSKDF_hash_kdm()
391 len = EVP_MD_get_size(md); in sskdf_size()
442 default_salt_len = EVP_MD_get_size(md); in sskdf_derive()
H A Dpvkkdf.c159 res = EVP_MD_get_size(md); in kdf_pvk_derive()
H A Dx942kdf.c288 hlen = EVP_MD_get_size(kdf_md); in x942kdf_hash_kdm()
434 len = EVP_MD_get_size(md); in x942kdf_size()
H A Dhmacdrbg_kdf.c224 md_size = EVP_MD_get_size(md); in hmac_drbg_kdf_set_ctx_params()
/openssl/crypto/evp/
H A Dbio_ok.c443 md_size = EVP_MD_get_size(digest); in sig_out()
490 if ((md_size = EVP_MD_get_size(digest)) <= 0) in sig_in()
537 md_size = EVP_MD_get_size(digest); in block_out()
569 md_size = EVP_MD_get_size(EVP_MD_CTX_get0_md(md)); in block_in()
H A Dp5_crpt.c80 mdsize = EVP_MD_get_size(md); in PKCS5_PBE_keyivgen_ex()
/openssl/providers/implementations/signature/
H A Drsa_sig.c168 md_size = EVP_MD_get_size(prsactx->md); in rsa_get_md_size()
215 max_saltlen = RSA_size(prsactx->rsa) - EVP_MD_get_size(prsactx->md); in rsa_check_parameters()
268 if ((saltlen = EVP_MD_get_size(ctx->md)) <= 0) { in rsa_pss_compute_saltlen()
274 if ((saltlenMax = EVP_MD_get_size(ctx->md)) <= 0) { in rsa_pss_compute_saltlen()
282 if ((mdsize = EVP_MD_get_size(ctx->md)) <= 0) { in rsa_pss_compute_saltlen()
764 if (prsactx->min_saltlen > EVP_MD_get_size(prsactx->md)) { in rsa_sign_directly()
770 EVP_MD_get_size(prsactx->md)); in rsa_sign_directly()
964 if (ret != EVP_MD_get_size(prsactx->md)) { in rsa_verify_recover()
967 EVP_MD_get_size(prsactx->md), ret); in rsa_verify_recover()
1718 if (prsactx->min_saltlen > EVP_MD_get_size(prsactx->md)) { in rsa_set_ctx_params()
[all …]
/openssl/crypto/hmac/
H A Dhmac.c157 int size = EVP_MD_get_size((ctx)->md); in HMAC_size()
253 int size = EVP_MD_get_size(evp_md); in HMAC()
/openssl/crypto/dsa/
H A Ddsa_pmeth.c92 md_size = EVP_MD_get_size(dctx->md); in pkey_dsa_sign()
121 md_size = EVP_MD_get_size(dctx->md); in pkey_dsa_verify()
/openssl/crypto/sm2/
H A Dsm2_crypt.c91 const int md_size = EVP_MD_get_size(digest); in ossl_sm2_ciphertext_size()
131 const int C3_size = EVP_MD_get_size(digest); in ossl_sm2_encrypt()
291 const int hash_size = EVP_MD_get_size(digest); in ossl_sm2_decrypt()
/openssl/demos/digest/
H A DBIO_f_md.c70 digest_size = EVP_MD_get_size(md); in main()
H A DEVP_MD_demo.c108 digest_length = EVP_MD_get_size(message_digest); in demonstrate_digest()
H A DEVP_MD_stdin.c66 digest_length = EVP_MD_get_size(message_digest); in demonstrate_digest()
/openssl/crypto/ffc/
H A Dffc_params_generate.c143 mdsize = EVP_MD_get_size(evpmd); in generate_canonical_g()
214 mdsize = EVP_MD_get_size(evpmd); in generate_p()
321 int mdsize = EVP_MD_get_size(evpmd); in generate_q_fips186_4()
553 mdsize = EVP_MD_get_size(md); in ossl_ffc_params_FIPS186_4_gen_verify()
849 md_size = EVP_MD_get_size(md); in ossl_ffc_params_FIPS186_2_gen_verify()
/openssl/doc/man7/
H A DEVP_MD-common.pod28 This value can also be retrieved with L<EVP_MD_get_size(3)>.
/openssl/doc/man3/
H A DEVP_DigestInit.pod18 EVP_MD_get_pkey_type, EVP_MD_get_size, EVP_MD_get_block_size, EVP_MD_get_flags,
86 int EVP_MD_get_size(const EVP_MD *md);
116 #define EVP_MD_size EVP_MD_get_size
152 Note that EVP_MD_get_size() and EVP_MD_CTX_get_size_ex() behave differently for
387 =item EVP_MD_get_size()
395 For a normal digest this is the same as EVP_MD_get_size().
669 =item EVP_MD_get_size(),
862 EVP_MD_get_size which returned a constant value. This is required for XOF
/openssl/crypto/pkcs12/
H A Dp12_mutl.c215 keylen = EVP_MD_get_size(md); in pkcs12_gen_mac()
463 keylen = EVP_MD_get_size(md_type); in PKCS12_set_pbmac1_pbkdf2()
/openssl/test/
H A Dtls13secretstest.c330 hashsize = EVP_MD_get_size(ssl_handshake_md(s)); in test_handshake_secrets()
/openssl/crypto/x509/
H A Dx509_set.c282 md_size = EVP_MD_get_size(md); in x509_sig_info_init()

Completed in 72 milliseconds

123