/external/openssl/apps/ |
dgst.c | 408 EVP_MD_CTX *mctx = NULL; local 411 if (!BIO_get_md_ctx(bmd, &mctx)) 418 r = EVP_DigestVerifyInit(mctx, &pctx, md, e, sigkey); 420 r = EVP_DigestSignInit(mctx, &pctx, md, e, sigkey);
|
/external/openssl/crypto/pem/ |
pvkfmt.c | 711 EVP_MD_CTX mctx; local 712 EVP_MD_CTX_init(&mctx); 713 EVP_DigestInit_ex(&mctx, EVP_sha1(), NULL); 714 EVP_DigestUpdate(&mctx, salt, saltlen); 715 EVP_DigestUpdate(&mctx, pass, passlen); 716 EVP_DigestFinal_ex(&mctx, key, NULL); 717 EVP_MD_CTX_cleanup(&mctx);
|
/external/openssl/crypto/pkcs7/ |
pk7_doit.c | 662 static int do_pkcs7_signed_attrib(PKCS7_SIGNER_INFO *si, EVP_MD_CTX *mctx) 679 EVP_DigestFinal_ex(mctx, md_data,&md_len); 855 EVP_MD_CTX mctx; local 866 EVP_MD_CTX_init(&mctx); 867 if (EVP_DigestSignInit(&mctx, &pctx, md,NULL, si->pkey) <= 0) 881 if (EVP_DigestSignUpdate(&mctx,abuf,alen) <= 0) 884 if (EVP_DigestSignFinal(&mctx, NULL, &siglen) <= 0) 889 if (EVP_DigestSignFinal(&mctx, abuf, &siglen) <= 0) 899 EVP_MD_CTX_cleanup(&mctx); 908 EVP_MD_CTX_cleanup(&mctx); [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regexec.c | 25 static void match_ctx_clean (re_match_context_t *mctx) internal_function; 30 static Idx search_cur_bkref_entry (const re_match_context_t *mctx, Idx str_idx) 32 static reg_errcode_t match_ctx_add_subtop (re_match_context_t *mctx, Idx node, 60 static reg_errcode_t prune_impossible_nodes (re_match_context_t *mctx) 62 static Idx check_matching (re_match_context_t *mctx, bool fl_longest_match, 64 static Idx check_halt_state_context (const re_match_context_t *mctx, 76 const re_match_context_t *mctx, 83 static int sift_states_iter_mb (const re_match_context_t *mctx, 88 static reg_errcode_t sift_states_backward (const re_match_context_t *mctx, 91 static reg_errcode_t build_sifted_states (const re_match_context_t *mctx, 661 re_match_context_t mctx = { .dfa = dfa }; local 663 re_match_context_t mctx; local [all...] |