Home
last modified time | relevance | path

Searched refs:EVP_sha1 (Results 1 – 25 of 62) sorted by relevance

123

/third_party/openssl/test/
Dhmactest.c118 || !TEST_false(HMAC_Init_ex(ctx, NULL, 0, EVP_sha1(), NULL)) in test_hmac_bad()
143 || !TEST_false(HMAC_Init_ex(ctx, test[4].key, -1, EVP_sha1(), NULL))) in test_hmac_run()
146 if (!TEST_true(HMAC_Init_ex(ctx, test[4].key, test[4].key_len, EVP_sha1(), NULL)) in test_hmac_run()
209 p = pt(HMAC(EVP_sha1(), NULL, 0, test[4].data, test[4].data_len, in test_hmac_single_shot()
231 if (!TEST_true(HMAC_Init_ex(ctx, test[7].key, test[7].key_len, EVP_sha1(), NULL)) in test_hmac_copy()
Docspapitest.c126 || !TEST_true(OCSP_basic_sign(bs, signer, key, EVP_sha1(), in test_resp_signer()
138 || !TEST_true(OCSP_basic_sign(bs, signer, key, EVP_sha1(), in test_resp_signer()
/third_party/openssl/doc/man3/
DEVP_sha1.pod5 EVP_sha1
12 const EVP_MD *EVP_sha1(void);
22 =item EVP_sha1()
DX509_digest.pod45 be used, such as EVP_sha1(). The B<md> is a pointer to the buffer where the
56 L<EVP_sha1(3)>
DEVP_DigestInit.pod112 B<type> will typically be supplied by a function such as EVP_sha1(). If
174 when passed an B<EVP_MD> structure. For example, C<EVP_MD_type(EVP_sha1())>
205 digest. For example EVP_sha1() is associated with RSA so this will return
426 L<EVP_sha1(3)>,
438 later, so now EVP_sha1() can be used with RSA and DSA.
DBIO_f_md.pod85 BIO_set_md(mdtmp, EVP_sha1());
105 BIO_set_md(mdtmp, EVP_sha1());
DPKCS5_PBKDF2_HMAC.pod40 PKCS5_PBKDF2_HMAC() with EVP_sha1().
/third_party/openssl/crypto/srp/
Dsrp_lib.c38 || !EVP_Digest(tmp, numN * 2, digest, NULL, EVP_sha1(), NULL)) in srp_Calc_xy()
136 if (!EVP_DigestInit_ex(ctxt, EVP_sha1(), NULL) in SRP_Calc_x()
141 || !EVP_DigestInit_ex(ctxt, EVP_sha1(), NULL)) in SRP_Calc_x()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-gencrypto.c75 h = EVP_sha1(); in lws_gencrypto_openssl_hash_to_EVP_MD()
Dlws-genhash.c48 ctx->evp_type = EVP_sha1(); in lws_genhash_init()
/third_party/openssl/crypto/dsa/
Ddsa_depr.c20 #define xxxHASH EVP_sha1()
Ddsa_gen.c15 #define xxxHASH EVP_sha1()
35 const EVP_MD *evpmd = bits >= 2048 ? EVP_sha256() : EVP_sha1(); in DSA_generate_parameters_ex()
69 evpmd = EVP_sha1(); in dsa_builtin_paramgen()
337 evpmd = EVP_sha1(); in dsa_builtin_paramgen2()
/third_party/openssl/crypto/evp/
Dc_alld.c27 EVP_add_digest(EVP_sha1()); in openssl_add_all_digests_int()
Dm_sha1.c109 const EVP_MD *EVP_sha1(void) in EVP_sha1() function
Dp5_crpt2.c128 return PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, EVP_sha1(), in PKCS5_PBKDF2_HMAC_SHA1()
/third_party/openssl/crypto/ocsp/
Docsp_srv.c268 if (!X509_pubkey_digest(cert, EVP_sha1(), md, NULL)) in OCSP_RESPID_set_by_key()
295 if (!X509_pubkey_digest(cert, EVP_sha1(), md, NULL)) in OCSP_RESPID_match()
Docsp_lib.c29 dgst = EVP_sha1(); in OCSP_cert_to_id()
/third_party/openssl/crypto/rsa/
Drsa_oaep.c54 md = EVP_sha1(); in RSA_padding_add_PKCS1_OAEP_mgf1()
134 md = EVP_sha1(); in RSA_padding_check_PKCS1_OAEP_mgf1()
/third_party/openssl/crypto/x509v3/
Dv3_skey.c93 if (!EVP_Digest(pk, pklen, pkey_dig, &diglen, EVP_sha1(), NULL)) in s2i_skey_id()
/third_party/openssl/ssl/
Dssl_init.c83 EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ in DEFINE_RUN_ONCE_STATIC()
/third_party/openssl/crypto/x509/
Dt_x509.c242 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
263 ASN1_STRING_length(keybstr), SHA1md, NULL, EVP_sha1(), in X509_ocspid_print()
Dx_all.c365 if (type == EVP_sha1() && (data->ex_flags & EXFLAG_SET) != 0 in X509_digest()
380 if (type == EVP_sha1() && (data->flags & EXFLAG_SET) != 0 in X509_CRL_digest()
/third_party/openssl/crypto/pkcs12/
Dp12_crt.c65 if (!X509_digest(cert, EVP_sha1(), keyid, &keyidlen)) in PKCS12_create()
Dp12_mutl.c184 md_type = EVP_sha1(); in PKCS12_set_mac()
/third_party/openssl/crypto/kdf/
Dtls1_prf.c264 if (!tls1_prf_P_hash(EVP_sha1(), sec + slen/2, slen/2 + (slen & 1), in tls1_prf_alg()

123