Home
last modified time | relevance | path

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

123

/external/openssl/crypto/rand/
Drand_lcl.h143 #define MD_Init(a) EVP_DigestInit_ex(a,EVP_sha1(), NULL)
144 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_sha1(), NULL)
/external/openssl/crypto/sha/
Dsha1test.c126 EVP_Digest(*P,strlen((char *)*P),md,NULL,EVP_sha1(), NULL); in main()
145 EVP_DigestInit_ex(&c,EVP_sha1(), NULL); in main()
/external/openssl/crypto/pkcs7/
Dsign.c86 EVP_add_digest(EVP_sha1());
117 si=PKCS7_add_signature(p7,x509,pkey,EVP_sha1());
Denc.c124 if (PKCS7_add_signature(p7,x509,pkey,EVP_sha1()) == NULL) goto err;
Dverify.c95 EVP_add_digest(EVP_sha1());
/external/openssl/crypto/rsa/
Drsa_oaep.c59 if (!EVP_Digest((void *)param, plen, db, NULL, EVP_sha1(), NULL)) in RSA_padding_add_PKCS1_OAEP()
149 if (!EVP_Digest((void *)param, plen, phash, NULL, EVP_sha1(), NULL)) in RSA_padding_check_PKCS1_OAEP()
233 return PKCS1_MGF1(mask, len, seed, seedlen, EVP_sha1()); in MGF1()
/external/openssl/crypto/srp/
Dsrp_lib.c93 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in srp_Calc_k()
128 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in SRP_Calc_u()
218 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in SRP_Calc_x()
224 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in SRP_Calc_x()
/external/openssl/crypto/dsa/
Ddsa_gen.c69 #define HASH EVP_sha1()
124 evpmd = EVP_sha1(); in DSA_generate_parameters_ex()
157 evpmd = EVP_sha1(); in dsa_builtin_paramgen()
Ddsa_depr.c69 #define HASH EVP_sha1()
/external/openssh/
Dmac.c58 { "hmac-sha1", SSH_EVP, EVP_sha1, 0, -1, -1 },
59 { "hmac-sha1-96", SSH_EVP, EVP_sha1, 96, -1, -1 },
Dssh-dss.c50 const EVP_MD *evp_md = EVP_sha1(); in ssh_dss_sign()
113 const EVP_MD *evp_md = EVP_sha1(); in ssh_dss_verify()
Dkexdh.c54 const EVP_MD *evp_md = EVP_sha1(); in kex_dh_hash()
Dkex.c345 k->evp_md = EVP_sha1(); in choose_kex()
348 k->evp_md = EVP_sha1(); in choose_kex()
351 k->evp_md = EVP_sha1(); in choose_kex()
Droaming_client.c96 const EVP_MD *evp_md = EVP_sha1(); in roaming_auth_required()
/external/openssl/crypto/evp/
Dc_alld.c82 EVP_add_digest(EVP_sha1()); in OpenSSL_add_all_digests()
Dm_sha1.c99 const EVP_MD *EVP_sha1(void) in EVP_sha1() function
/external/chromium/crypto/
Dsignature_creator_openssl.cc21 if (!EVP_SignInit_ex(result->sign_context_, EVP_sha1(), NULL)) in Create()
Dhmac_openssl.cc50 return ::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), in Sign()
/external/openssl/ssl/
Dssl_cert.c167 cert->pkeys[SSL_PKEY_DSA_SIGN].digest = EVP_sha1(); in ssl_cert_set_default_md()
170 cert->pkeys[SSL_PKEY_RSA_SIGN].digest = EVP_sha1(); in ssl_cert_set_default_md()
171 cert->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1(); in ssl_cert_set_default_md()
174 cert->pkeys[SSL_PKEY_ECC].digest = EVP_sha1(); in ssl_cert_set_default_md()
Dssl_algs.c114 EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ in SSL_library_init()
/external/openssl/crypto/x509v3/
Dv3_skey.c132 if (!EVP_Digest(pk->data, pk->length, pkey_dig, &diglen, EVP_sha1(), NULL)) in s2i_skey_id()
/external/openssl/crypto/pkcs12/
Dp12_mutl.c138 if (!md_type) md_type = EVP_sha1(); in PKCS12_set_mac()
/external/openssl/apps/
Ds_cb.c841 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in generate_cookie_callback()
922 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in verify_cookie_callback()
/external/openssl/crypto/asn1/
Dt_x509.c263 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
279 SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
/external/openssl/crypto/ocsp/
Docsp_lib.c82 if(!dgst) dgst = EVP_sha1(); in OCSP_cert_to_id()

123