Home
last modified time | relevance | path

Searched refs:EVP_DigestFinal_ex (Results 1 – 25 of 64) sorted by relevance

123

/third_party/openssl/crypto/evp/
Dp_verify.c27 if (!EVP_DigestFinal_ex(ctx, m, &m_len)) in EVP_VerifyFinal_ex()
39 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_VerifyFinal_ex()
Dp_sign.c29 if (!EVP_DigestFinal_ex(ctx, m, &m_len)) in EVP_SignFinal_ex()
41 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_SignFinal_ex()
Devp_key.c110 if (!EVP_DigestFinal_ex(c, &(md_buf[0]), &mds)) in EVP_BytesToKey()
118 if (!EVP_DigestFinal_ex(c, &(md_buf[0]), &mds)) in EVP_BytesToKey()
Dbio_ok.c464 if (!EVP_DigestFinal_ex(md, &(ctx->buf[ctx->buf_len]), NULL)) in sig_out()
504 if (!EVP_DigestFinal_ex(md, tmp, NULL)) in sig_in()
546 if (!EVP_DigestFinal_ex(md, &(ctx->buf[ctx->buf_len]), NULL)) in block_out()
585 if (!EVP_DigestFinal_ex(md, tmp, NULL)) in block_in()
Dm_sigver.c532 r = EVP_DigestFinal_ex(ctx, md, &mdlen); in EVP_DigestSignFinal()
546 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestSignFinal()
639 r = EVP_DigestFinal_ex(ctx, md, &mdlen); in EVP_DigestVerifyFinal()
652 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestVerifyFinal()
Dbio_md.c218 if (EVP_DigestFinal_ex(ctx, (unsigned char *)buf, &ret) <= 0) in md_gets()
/third_party/openssl/test/
Dmdc2test.c70 || !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL)) in test_mdc2()
77 || !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL)) in test_mdc2()
/third_party/openssl/apps/
Dpasswd.c396 || !EVP_DigestFinal_ex(md2, buf, NULL)) in md5crypt()
412 if (!EVP_DigestFinal_ex(md, buf, NULL)) in md5crypt()
434 if (!EVP_DigestFinal_ex(md2, buf, NULL)) in md5crypt()
620 || !EVP_DigestFinal_ex(md2, buf, NULL)) in shacrypt()
638 if (!EVP_DigestFinal_ex(md, buf, NULL)) in shacrypt()
649 if (!EVP_DigestFinal_ex(md2, temp_buf, NULL)) in shacrypt()
666 if (!EVP_DigestFinal_ex(md2, temp_buf, NULL)) in shacrypt()
694 if (!EVP_DigestFinal_ex(md2, buf, NULL)) in shacrypt()
/third_party/openssl/ssl/
Ds3_enc.c56 || !EVP_DigestFinal_ex(s1, smd, NULL) in ssl3_generate_key_block()
65 if (!EVP_DigestFinal_ex(m5, smd, NULL)) { in ssl3_generate_key_block()
71 if (!EVP_DigestFinal_ex(m5, km, NULL)) { in ssl3_generate_key_block()
457 || EVP_DigestFinal_ex(ctx, p, NULL) <= 0) { in ssl3_final_finish_mac()
502 || EVP_DigestFinal_ex(ctx, buf, &n) <= 0 in ssl3_generate_master_secret()
506 || EVP_DigestFinal_ex(ctx, out, &n) <= 0) { in ssl3_generate_master_secret()
Dtls13_enc.c541 || !EVP_DigestFinal_ex(mdctx, hashval, &hashlenui)) { in tls13_change_cipher_state()
844 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material()
846 || EVP_DigestFinal_ex(ctx, data, &datalen) <= 0 in tls13_export_keying_material()
908 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material_early()
910 || EVP_DigestFinal_ex(ctx, data, &datalen) <= 0 in tls13_export_keying_material_early()
/third_party/openssl/crypto/hmac/
Dhmac.c63 || !EVP_DigestFinal_ex(ctx->md_ctx, keytmp, in HMAC_Init_ex()
125 if (!EVP_DigestFinal_ex(ctx->md_ctx, buf, &i)) in HMAC_Final()
131 if (!EVP_DigestFinal_ex(ctx->md_ctx, md, len)) in HMAC_Final()
/third_party/openssl/crypto/crmf/
Dcrmf_pbm.c176 if (!EVP_DigestFinal_ex(ctx, basekey, &bklen)) in OSSL_CRMF_pbm_new()
191 if (!EVP_DigestFinal_ex(ctx, basekey, &bklen)) in OSSL_CRMF_pbm_new()
/third_party/openssl/providers/implementations/kdfs/
Dpbkdf1.c69 || !EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive()
79 if (!EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive()
Dsshkdf.c258 if (!EVP_DigestFinal_ex(md, digest, &dsize)) in SSHKDF()
283 if (!EVP_DigestFinal_ex(md, digest, &dsize)) in SSHKDF()
Dpkcs12kdf.c98 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in pkcs12kdf_derive()
103 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in pkcs12kdf_derive()
Dsskdf.c137 if (!EVP_DigestFinal_ex(ctx, out, NULL)) in SSKDF_hash_kdm()
144 if (!EVP_DigestFinal_ex(ctx, mac, NULL)) in SSKDF_hash_kdm()
/third_party/openssl/crypto/rsa/
Drsa_oaep.c360 if (!EVP_DigestFinal_ex(c, mask + outlen, NULL)) in PKCS1_MGF1()
364 if (!EVP_DigestFinal_ex(c, md, NULL)) in PKCS1_MGF1()
Drsa_pss.c129 if (!EVP_DigestFinal_ex(ctx, H_, NULL)) in RSA_verify_PKCS1_PSS_mgf1()
222 if (!EVP_DigestFinal_ex(ctx, H, NULL)) in RSA_padding_add_PKCS1_PSS_mgf1()
/third_party/openssl/crypto/cms/
Dcms_dd.c78 if (EVP_DigestFinal_ex(mctx, md, &mdlen) <= 0) in ossl_cms_DigestedData_do_final()
/third_party/openssl/doc/man3/
DEVP_DigestInit.pod14 EVP_DigestUpdate, EVP_DigestFinal_ex, EVP_DigestFinalXOF, EVP_DigestFinal,
63 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);
282 =item EVP_DigestFinal_ex()
287 B<EVP_MAX_MD_SIZE> bytes will be written. After calling EVP_DigestFinal_ex()
312 Similar to EVP_DigestFinal_ex() except after computing the digest
573 EVP_DigestFinal_ex(),
648 applications should use EVP_DigestInit_ex(), EVP_DigestFinal_ex() and
696 EVP_DigestFinal_ex(mdctx, md_value, &md_len);
/third_party/openssl/crypto/srp/
Dsrp_lib.c170 || !EVP_DigestFinal_ex(ctxt, dig, NULL) in SRP_Calc_x_ex()
179 || !EVP_DigestFinal_ex(ctxt, dig, NULL)) in SRP_Calc_x_ex()
/third_party/fsverity-utils/lib/
Dhash_algs.c50 ret = EVP_DigestFinal_ex(ctx->md_ctx, digest, NULL); in openssl_digest_final()
/third_party/openssl/providers/implementations/signature/
Dsm2_sig.c300 && EVP_DigestFinal_ex(psm2ctx->mdctx, digest, &dlen))) in sm2sig_digest_sign_final()
321 && EVP_DigestFinal_ex(psm2ctx->mdctx, digest, &dlen))) in sm2sig_digest_verify_final()
Ddsa_sig.c353 if (!EVP_DigestFinal_ex(pdsactx->mdctx, digest, &dlen)) in dsa_digest_sign_final()
378 if (!EVP_DigestFinal_ex(pdsactx->mdctx, digest, &dlen)) in dsa_digest_verify_final()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genhash.c91 ret = EVP_DigestFinal_ex(ctx->mdctx, result, &len) != 1; in lws_genhash_destroy()

123