Home
last modified time | relevance | path

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

12

/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/rsa/
Drsa_oaep.c59 EVP_Digest((void *)param, plen, db, NULL, EVP_sha1(), NULL); in RSA_padding_add_PKCS1_OAEP()
148 EVP_Digest((void *)param, plen, phash, NULL, EVP_sha1(), NULL); in RSA_padding_check_PKCS1_OAEP()
231 return PKCS1_MGF1(mask, len, seed, seedlen, EVP_sha1()); in MGF1()
Drsa_pmeth.c389 rctx->md = EVP_sha1(); in pkey_rsa_ctrl()
396 rctx->md = EVP_sha1(); in pkey_rsa_ctrl()
/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/dsa/
Ddsa_gen.c69 #define HASH EVP_sha1()
104 evpmd = EVP_sha1(); in DSA_generate_parameters_ex()
136 evpmd = EVP_sha1(); in dsa_builtin_paramgen()
Ddsa_depr.c69 #define HASH EVP_sha1()
/external/openssl/crypto/evp/
Dc_alld.c82 EVP_add_digest(EVP_sha1()); in OpenSSL_add_all_digests()
Dm_sha1.c96 const EVP_MD *EVP_sha1(void) in EVP_sha1() function
Dp5_crpt2.c146 return PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, EVP_sha1(), in PKCS5_PBKDF2_HMAC_SHA1()
/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_algs.c104 EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ in SSL_library_init()
/external/openssl/crypto/x509v3/
Dv3_skey.c132 EVP_Digest(pk->data, pk->length, pkey_dig, &diglen, EVP_sha1(), NULL); in s2i_skey_id()
/external/openssl/crypto/asn1/
Dt_x509.c258 EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL); in X509_ocspid_print()
272 x->cert_info->key->public_key->length, SHA1md, NULL, EVP_sha1(), NULL); in X509_ocspid_print()
/external/openssl/apps/
Ds_cb.c773 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in generate_cookie_callback()
854 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in verify_cookie_callback()
/external/openssl/crypto/pkcs12/
Dp12_mutl.c134 if (!md_type) md_type = EVP_sha1(); in PKCS12_set_mac()
Dp12_crt.c111 X509_digest(cert, EVP_sha1(), keyid, &keyidlen); in PKCS12_create()
/external/openssl/crypto/ocsp/
Docsp_lib.c82 if(!dgst) dgst = EVP_sha1(); in OCSP_cert_to_id()
Docsp_srv.c237 X509_pubkey_digest(signer, EVP_sha1(), md, NULL); in OCSP_basic_sign()
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.cc131 if (!X509_sign(x509, pkey, EVP_sha1())) in MakeCertificate()
/external/openssl/crypto/x509/
Dx509_cmp.c222 EVP_Digest(x->canon_enc, x->canon_enclen, md, NULL, EVP_sha1(), NULL); in X509_NAME_hash()
/external/chromium/chrome/common/net/
Dx509_certificate_model_openssl.cc208 int ret = X509_digest(cert_handle, EVP_sha1(), sha1_data, &sha1_size); in HashCertSHA1()

12