Home
last modified time | relevance | path

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

123

/openssl/crypto/evp/
H A 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()
41 rv = EVP_DigestFinal_ex(ctx, m, &m_len); in EVP_VerifyFinal_ex()
H A 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()
43 rv = EVP_DigestFinal_ex(ctx, m, &m_len); in EVP_SignFinal_ex()
H A 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()
H A Dbio_ok.c465 if (!EVP_DigestFinal_ex(md, &(ctx->buf[ctx->buf_len]), NULL)) in sig_out()
505 if (!EVP_DigestFinal_ex(md, tmp, NULL)) in sig_in()
549 if (!EVP_DigestFinal_ex(md, &(ctx->buf[ctx->buf_len]), NULL)) in block_out()
588 if (!EVP_DigestFinal_ex(md, tmp, NULL)) in block_in()
H A Dm_sigver.c538 r = EVP_DigestFinal_ex(ctx, md, &mdlen); in EVP_DigestSignFinal()
552 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestSignFinal()
661 r = EVP_DigestFinal_ex(ctx, md, &mdlen); in EVP_DigestVerifyFinal()
674 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestVerifyFinal()
H A Dbio_md.c218 if (EVP_DigestFinal_ex(ctx, (unsigned char *)buf, &ret) <= 0) in md_gets()
/openssl/test/
H A Dmdc2test.c72 || !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL)) in test_mdc2()
79 || !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL)) in test_mdc2()
/openssl/ssl/
H A Ds3_enc.c57 || !EVP_DigestFinal_ex(s1, smd, NULL) in ssl3_generate_key_block()
66 if (!EVP_DigestFinal_ex(m5, smd, NULL)) { in ssl3_generate_key_block()
72 if (!EVP_DigestFinal_ex(m5, km, NULL)) { in ssl3_generate_key_block()
362 || EVP_DigestFinal_ex(ctx, p, NULL) <= 0) { in ssl3_final_finish_mac()
408 || EVP_DigestFinal_ex(ctx, buf, &n) <= 0 in ssl3_generate_master_secret()
412 || EVP_DigestFinal_ex(ctx, out, &n) <= 0) { in ssl3_generate_master_secret()
H A Dtls13_enc.c560 || !EVP_DigestFinal_ex(mdctx, hashval, &hashlenui)) { in tls13_change_cipher_state()
853 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material()
855 || EVP_DigestFinal_ex(ctx, data, &datalen) <= 0 in tls13_export_keying_material()
915 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material_early()
917 || EVP_DigestFinal_ex(ctx, data, &datalen) <= 0 in tls13_export_keying_material_early()
/openssl/apps/
H A 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()
621 || !EVP_DigestFinal_ex(md2, buf, NULL)) in shacrypt()
639 if (!EVP_DigestFinal_ex(md, buf, NULL)) in shacrypt()
650 if (!EVP_DigestFinal_ex(md2, temp_buf, NULL)) in shacrypt()
667 if (!EVP_DigestFinal_ex(md2, temp_buf, NULL)) in shacrypt()
695 if (!EVP_DigestFinal_ex(md2, buf, NULL)) in shacrypt()
/openssl/crypto/hmac/
H A Dhmac.c69 || !EVP_DigestFinal_ex(ctx->md_ctx, keytmp, in HMAC_Init_ex()
142 if (!EVP_DigestFinal_ex(ctx->md_ctx, buf, &i)) in HMAC_Final()
148 if (!EVP_DigestFinal_ex(ctx->md_ctx, md, len)) in HMAC_Final()
/openssl/crypto/crmf/
H A Dcrmf_pbm.c175 if (!EVP_DigestFinal_ex(ctx, basekey, &bklen)) in OSSL_CRMF_pbm_new()
190 if (!EVP_DigestFinal_ex(ctx, basekey, &bklen)) in OSSL_CRMF_pbm_new()
/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c70 || !EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive()
85 if (!EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive()
H A Dpkcs12kdf.c97 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in pkcs12kdf_derive()
102 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in pkcs12kdf_derive()
H A Dsshkdf.c368 if (!EVP_DigestFinal_ex(md, digest, &dsize)) in SSHKDF()
393 if (!EVP_DigestFinal_ex(md, digest, &dsize)) in SSHKDF()
/openssl/ssl/record/methods/
H A Dssl3_meth.c295 || EVP_DigestFinal_ex(md_ctx, md, NULL) <= 0 in ssl3_mac()
300 || EVP_DigestFinal_ex(md_ctx, md, &md_size_u) <= 0) { in ssl3_mac()
/openssl/crypto/cms/
H A Dcms_dd.c78 if (EVP_DigestFinal_ex(mctx, md, &mdlen) <= 0) in ossl_cms_DigestedData_do_final()
/openssl/doc/man3/
H A DEVP_DigestInit.pod14 EVP_DigestUpdate, EVP_DigestFinal_ex, EVP_DigestFinalXOF, EVP_DigestFinal,
65 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);
147 length which is returned when EVP_DigestFinal_ex() is called.
296 =item EVP_DigestFinal_ex()
303 application. After calling EVP_DigestFinal_ex() no additional calls to
341 Similar to EVP_DigestFinal_ex() except after computing the digest
518 output length used by EVP_DigestFinal_ex() and EVP_DigestFinal().
525 EVP_DigestFinal_ex() and EVP_DigestFinal().
633 EVP_DigestFinal_ex(),
719 applications should use EVP_DigestInit_ex(), EVP_DigestFinal_ex() and
[all …]
H A DRIPEMD160_Init.pod27 and L<EVP_DigestFinal_ex(3)>.
H A DMDC2_Init.pod27 and L<EVP_DigestFinal_ex(3)>.
/openssl/crypto/rsa/
H A Drsa_oaep.c378 if (!EVP_DigestFinal_ex(c, mask + outlen, NULL)) in PKCS1_MGF1()
382 if (!EVP_DigestFinal_ex(c, md, NULL)) in PKCS1_MGF1()
H A Drsa_pss.c140 if (!EVP_DigestFinal_ex(ctx, H_, NULL)) in ossl_rsa_verify_PKCS1_PSS_mgf1()
256 if (!EVP_DigestFinal_ex(ctx, H, NULL)) in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
/openssl/crypto/srp/
H A 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()
/openssl/crypto/x509/
H A Dx509_cmp.c62 if (!EVP_DigestFinal_ex(ctx, &(md[0]), NULL)) in X509_issuer_and_serial_hash()
334 && EVP_DigestFinal_ex(md_ctx, md, NULL)) in X509_NAME_hash_old()
/openssl/providers/implementations/signature/
H A Dsm2_sig.c307 && EVP_DigestFinal_ex(psm2ctx->mdctx, digest, &dlen))) in sm2sig_digest_sign_final()
331 && EVP_DigestFinal_ex(psm2ctx->mdctx, digest, &dlen))) in sm2sig_digest_verify_final()

Completed in 42 milliseconds

123