Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/evp/
Dp_verify.c26 if (!EVP_DigestFinal_ex(ctx, m, &m_len)) in EVP_VerifyFinal()
37 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_VerifyFinal()
Dp_sign.c28 if (!EVP_DigestFinal_ex(ctx, m, &m_len)) in EVP_SignFinal()
39 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_SignFinal()
Dm_sigver.c130 r = EVP_DigestFinal_ex(ctx, md, &mdlen); in EVP_DigestSignFinal()
143 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestSignFinal()
189 r = EVP_DigestFinal_ex(ctx, md, &mdlen); in EVP_DigestVerifyFinal()
202 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestVerifyFinal()
Dp5_crpt.c90 if (!EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in PKCS5_PBE_keyivgen()
100 if (!EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in PKCS5_PBE_keyivgen()
Devp_key.c106 if (!EVP_DigestFinal_ex(c, &(md_buf[0]), &mds)) in EVP_BytesToKey()
114 if (!EVP_DigestFinal_ex(c, &(md_buf[0]), &mds)) in EVP_BytesToKey()
Ddigest.c173 ret = EVP_DigestFinal_ex(ctx, md, size); in EVP_DigestFinal()
179 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in EVP_DigestFinal_ex() function
296 && EVP_DigestFinal_ex(ctx, md, size); in EVP_Digest()
Dbio_ok.c477 if (!EVP_DigestFinal_ex(md, &(ctx->buf[ctx->buf_len]), NULL)) in sig_out()
515 if (!EVP_DigestFinal_ex(md, tmp, NULL)) in sig_in()
557 if (!EVP_DigestFinal_ex(md, &(ctx->buf[ctx->buf_len]), NULL)) in block_out()
594 if (!EVP_DigestFinal_ex(md, tmp, NULL)) in block_in()
Dbio_md.c229 if (EVP_DigestFinal_ex(ctx, (unsigned char *)buf, &ret) <= 0) in md_gets()
/third_party/openssl/test/
Dmdc2test.c53 || !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL)) in test_mdc2()
61 || !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL)) in test_mdc2()
Decdsatest.c126 || !TEST_true(EVP_DigestFinal_ex(mctx, digest, &dgst_len)) in x9_62_tests()
Dbad_dtls_test.c365 if (!EVP_DigestFinal_ex(handshake_md, handshake_hash, NULL)) in send_finished()
/third_party/openssl/apps/
Dpasswd.c393 || !EVP_DigestFinal_ex(md2, buf, NULL)) in md5crypt()
409 if (!EVP_DigestFinal_ex(md, buf, NULL)) in md5crypt()
431 if (!EVP_DigestFinal_ex(md2, buf, NULL)) in md5crypt()
617 || !EVP_DigestFinal_ex(md2, buf, NULL)) in shacrypt()
635 if (!EVP_DigestFinal_ex(md, buf, NULL)) in shacrypt()
646 if (!EVP_DigestFinal_ex(md2, temp_buf, NULL)) in shacrypt()
663 if (!EVP_DigestFinal_ex(md2, temp_buf, NULL)) in shacrypt()
691 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()
66 if (!EVP_DigestFinal_ex(m5, smd, NULL)) { in ssl3_generate_key_block()
73 if (!EVP_DigestFinal_ex(m5, km, NULL)) { in ssl3_generate_key_block()
455 || 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.c211 || EVP_DigestFinal_ex(mctx, hash, NULL) <= 0) { in tls13_generate_secret()
567 || !EVP_DigestFinal_ex(mdctx, hashval, &hashlenui)) { in tls13_change_cipher_state()
805 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material()
807 || EVP_DigestFinal_ex(ctx, data, &datalen) <= 0 in tls13_export_keying_material()
868 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material_early()
870 || EVP_DigestFinal_ex(ctx, data, &datalen) <= 0 in tls13_export_keying_material_early()
/third_party/openssl/crypto/hmac/
Dhmac.c55 || !EVP_DigestFinal_ex(ctx->md_ctx, keytmp, in HMAC_Init_ex()
115 if (!EVP_DigestFinal_ex(ctx->md_ctx, buf, &i)) in HMAC_Final()
121 if (!EVP_DigestFinal_ex(ctx->md_ctx, md, len)) in HMAC_Final()
/third_party/openssl/doc/man3/
DEVP_DigestInit.pod9 EVP_DigestFinal_ex, EVP_DigestFinalXOF, EVP_DigestFinal,
33 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);
121 =item EVP_DigestFinal_ex()
126 B<EVP_MAX_MD_SIZE> bytes will be written. After calling EVP_DigestFinal_ex()
150 Similar to EVP_DigestFinal_ex() except the digest context B<ctx> is
296 EVP_DigestFinal_ex()
353 applications should use EVP_DigestInit_ex(), EVP_DigestFinal_ex() and
401 EVP_DigestFinal_ex(mdctx, md_value, &md_len);
/third_party/openssl/crypto/pkcs12/
Dp12_key.c129 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in PKCS12_key_gen_uni()
134 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in PKCS12_key_gen_uni()
/third_party/openssl/crypto/rsa/
Drsa_pss.c121 if (!EVP_DigestFinal_ex(ctx, H_, NULL)) in RSA_verify_PKCS1_PSS_mgf1()
217 if (!EVP_DigestFinal_ex(ctx, H, NULL)) in RSA_padding_add_PKCS1_PSS_mgf1()
Drsa_oaep.c298 if (!EVP_DigestFinal_ex(c, mask + outlen, NULL)) in PKCS1_MGF1()
302 if (!EVP_DigestFinal_ex(c, md, NULL)) in PKCS1_MGF1()
/third_party/openssl/crypto/cms/
Dcms_dd.c73 if (EVP_DigestFinal_ex(mctx, md, &mdlen) <= 0) in cms_DigestedData_do_final()
Dcms_sd.c586 if (!EVP_DigestFinal_ex(mctx, md, &mdlen)) in cms_SignerInfo_content_sign()
603 if (!EVP_DigestFinal_ex(mctx, md, &mdlen)) in cms_SignerInfo_content_sign()
831 if (EVP_DigestFinal_ex(mctx, mval, &mlen) <= 0) { in CMS_SignerInfo_verify_content()
/third_party/openssl/crypto/srp/
Dsrp_lib.c140 || !EVP_DigestFinal_ex(ctxt, dig, NULL) in SRP_Calc_x()
149 || !EVP_DigestFinal_ex(ctxt, dig, NULL)) in SRP_Calc_x()
/third_party/openssl/crypto/x509/
Dx509_cmp.c53 if (!EVP_DigestFinal_ex(ctx, &(md[0]), NULL)) in X509_issuer_and_serial_hash()
229 && EVP_DigestFinal_ex(md_ctx, md, NULL)) in X509_NAME_hash_old()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genhash.c91 ret = EVP_DigestFinal_ex(ctx->mdctx, result, &len) != 1; in lws_genhash_destroy()
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c629 if (!EVP_DigestFinal_ex(mctx, md_data, &md_len)) { in do_pkcs7_signed_attrib()
782 if (!EVP_DigestFinal_ex(mdc, md_data, &md_len)) in PKCS7_dataFinal()
1001 if (!EVP_DigestFinal_ex(mdc_tmp, md_dat, &md_len)) in PKCS7_signatureVerify()

12