Home
last modified time | relevance | path

Searched refs:EVP_DigestInit_ex (Results 1 – 25 of 60) sorted by relevance

123

/openssl/test/
H A Dmdc2test.c70 || !TEST_true(EVP_DigestInit_ex(c, EVP_mdc2(), NULL)) in test_mdc2()
74 || !TEST_true(EVP_DigestInit_ex(c, EVP_mdc2(), NULL))) in test_mdc2()
H A Dcurve448_internal_test.c590 if (!EVP_DigestInit_ex(hashctx, EVP_shake256(), NULL) in dohash()
H A Dp_test.c184 if (EVP_DigestInit_ex(mdctx, md4, NULL) in p_get_params()
/openssl/apps/
H A Dpasswd.c377 || !EVP_DigestInit_ex(md, EVP_md5(), NULL) in md5crypt()
392 || !EVP_DigestInit_ex(md2, EVP_md5(), NULL) in md5crypt()
416 if (!EVP_DigestInit_ex(md2, EVP_md5(), NULL)) in md5crypt()
610 || !EVP_DigestInit_ex(md, sha, NULL) in shacrypt()
617 || !EVP_DigestInit_ex(md2, sha, NULL) in shacrypt()
643 if (!EVP_DigestInit_ex(md2, sha, NULL)) in shacrypt()
660 if (!EVP_DigestInit_ex(md2, sha, NULL)) in shacrypt()
677 if (!EVP_DigestInit_ex(md2, sha, NULL)) in shacrypt()
/openssl/crypto/evp/
H A Devp_key.c100 if (!EVP_DigestInit_ex(c, md, NULL)) in EVP_BytesToKey()
114 if (!EVP_DigestInit_ex(c, md, NULL)) in EVP_BytesToKey()
H A Dbio_md.c146 ret = EVP_DigestInit_ex(ctx, EVP_MD_CTX_get0_md(ctx), NULL); in md_ctrl()
178 ret = EVP_DigestInit_ex(ctx, md, NULL); in md_ctrl()
H A Dbio_ok.c387 if (!EVP_DigestInit_ex(ctx->md, md, NULL)) in ok_ctrl()
451 if (!EVP_DigestInit_ex(md, digest, NULL)) in sig_out()
497 if (!EVP_DigestInit_ex(md, digest, NULL)) in sig_in()
/openssl/crypto/hmac/
H A Dhmac.c67 if (!EVP_DigestInit_ex(ctx->md_ctx, md, impl) in HMAC_Init_ex()
84 if (!EVP_DigestInit_ex(ctx->i_ctx, md, impl) in HMAC_Init_ex()
91 if (!EVP_DigestInit_ex(ctx->o_ctx, md, impl) in HMAC_Init_ex()
/openssl/ssl/
H A Ds3_enc.c51 if (!EVP_DigestInit_ex(s1, sha1, NULL) in ssl3_generate_key_block()
58 || !EVP_DigestInit_ex(m5, md5, NULL) in ssl3_generate_key_block()
297 if (!EVP_DigestInit_ex(s->s3.handshake_dgst, md, NULL) in ssl3_digest_cached_records()
400 if (EVP_DigestInit_ex(ctx, SSL_CONNECTION_GET_CTX(s)->sha1, NULL) <= 0 in ssl3_generate_master_secret()
409 || EVP_DigestInit_ex(ctx, SSL_CONNECTION_GET_CTX(s)->md5, NULL) <= 0 in ssl3_generate_master_secret()
H A Dtls13_enc.c558 if (md == NULL || !EVP_DigestInit_ex(mdctx, md, NULL) in tls13_change_cipher_state()
851 if (EVP_DigestInit_ex(ctx, md, NULL) <= 0 in tls13_export_keying_material()
854 || EVP_DigestInit_ex(ctx, md, NULL) <= 0 in tls13_export_keying_material()
913 || EVP_DigestInit_ex(ctx, md, NULL) <= 0 in tls13_export_keying_material_early()
916 || EVP_DigestInit_ex(ctx, md, NULL) <= 0 in tls13_export_keying_material_early()
/openssl/crypto/crmf/
H A Dcrmf_pbm.c167 if (!EVP_DigestInit_ex(ctx, owf, NULL)) in OSSL_CRMF_pbm_new()
186 if (!EVP_DigestInit_ex(ctx, owf, NULL)) in OSSL_CRMF_pbm_new()
/openssl/crypto/pem/
H A Dpem_sign.c19 return EVP_DigestInit_ex(ctx, type, NULL); in PEM_SignInit()
/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c67 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in kdf_pbkdf1_do_derive()
81 if (!EVP_DigestInit_ex(ctx, md_type, NULL)) in kdf_pbkdf1_do_derive()
H A Dpkcs12kdf.c94 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in pkcs12kdf_derive()
100 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in pkcs12kdf_derive()
H A Dsshkdf.c353 if (!EVP_DigestInit_ex(md, evp_md, NULL)) in SSHKDF()
381 if (!EVP_DigestInit_ex(md, evp_md, NULL)) in SSHKDF()
H A Dpvkkdf.c171 && EVP_DigestInit_ex(mctx, md, NULL) in kdf_pvk_derive()
/openssl/crypto/rsa/
H A Drsa_pss.c132 if (!EVP_DigestInit_ex(ctx, Hash, NULL) in ossl_rsa_verify_PKCS1_PSS_mgf1()
250 if (!EVP_DigestInit_ex(ctx, Hash, NULL) in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
/openssl/providers/implementations/rands/
H A Ddrbg_hash.c105 if (!(EVP_DigestInit_ex(ctx, ossl_prov_digest_md(&hash->digest), NULL) in hash_df()
183 return EVP_DigestInit_ex(ctx, ossl_prov_digest_md(&hash->digest), NULL) in add_hash_to_v()
218 if (!EVP_DigestInit_ex(hash->ctx, ossl_prov_digest_md(&hash->digest), in hash_gen()
/openssl/crypto/ec/curve448/
H A Deddsa.c38 if (!EVP_DigestInit_ex(hashctx, shake256, NULL) in oneshot_hash()
80 if (!EVP_DigestInit_ex(hashctx, shake256, NULL) in hash_init_with_dom()
/openssl/doc/man3/
H A DEVP_DigestInit.pod13 EVP_Q_digest, EVP_Digest, EVP_DigestInit_ex2, EVP_DigestInit_ex, EVP_DigestInit,
63 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl);
274 with another EVP_DigestInit_ex() call and has not been reset with
277 =item EVP_DigestInit_ex()
287 with another EVP_DigestInit_ex() call and has not been reset with
471 to EVP_DigestInit_ex()) an implementation of the digest will be implicitly
630 EVP_DigestInit_ex(),
707 For most applications the I<impl> parameter to EVP_DigestInit_ex() will be
710 Ignoring failure returns of EVP_DigestInit_ex(), EVP_DigestInit_ex2(), or
719 applications should use EVP_DigestInit_ex(), EVP_DigestFinal_ex() and
H A DRIPEMD160_Init.pod26 Applications should instead use L<EVP_DigestInit_ex(3)>, L<EVP_DigestUpdate(3)>
H A DMDC2_Init.pod26 Applications should instead use L<EVP_DigestInit_ex(3)>, L<EVP_DigestUpdate(3)>
/openssl/crypto/srp/
H A Dsrp_lib.c166 if (!EVP_DigestInit_ex(ctxt, sha1, NULL) in SRP_Calc_x_ex()
171 || !EVP_DigestInit_ex(ctxt, sha1, NULL)) in SRP_Calc_x_ex()
/openssl/crypto/x509/
H A Dx509_cmp.c54 if (!EVP_DigestInit_ex(ctx, digest, NULL)) in X509_issuer_and_serial_hash()
332 if (EVP_DigestInit_ex(md_ctx, md5, NULL) in X509_NAME_hash_old()
/openssl/doc/man7/
H A Dossl-guide-libcrypto-introduction.pod104 functions that use them. For example the L<EVP_DigestInit_ex(3)> function takes
116 When they are used with functions like L<EVP_DigestInit_ex(3)> or
320 * be used for multiple calls to other operations such as EVP_DigestInit_ex().
327 if (!EVP_DigestInit_ex(ctx, sha256, NULL))

Completed in 45 milliseconds

123