Lines Matching refs:_hidden_sha1_md
79 static EVP_MD *_hidden_sha1_md = NULL; variable
82 return _hidden_sha1_md; in dasync_sha1()
86 EVP_MD_meth_free(_hidden_sha1_md); in destroy_digests()
87 _hidden_sha1_md = NULL; in destroy_digests()
249 _hidden_sha1_md = EVP_MD_meth_new(NID_sha1, NID_sha1WithRSAEncryption); in bind_dasync()
250 if (_hidden_sha1_md == NULL in bind_dasync()
251 || !EVP_MD_meth_set_result_size(_hidden_sha1_md, SHA_DIGEST_LENGTH) in bind_dasync()
252 || !EVP_MD_meth_set_input_blocksize(_hidden_sha1_md, SHA_CBLOCK) in bind_dasync()
253 || !EVP_MD_meth_set_app_datasize(_hidden_sha1_md, in bind_dasync()
255 || !EVP_MD_meth_set_flags(_hidden_sha1_md, EVP_MD_FLAG_DIGALGID_ABSENT) in bind_dasync()
256 || !EVP_MD_meth_set_init(_hidden_sha1_md, dasync_sha1_init) in bind_dasync()
257 || !EVP_MD_meth_set_update(_hidden_sha1_md, dasync_sha1_update) in bind_dasync()
258 || !EVP_MD_meth_set_final(_hidden_sha1_md, dasync_sha1_final)) { in bind_dasync()
259 EVP_MD_meth_free(_hidden_sha1_md); in bind_dasync()
260 _hidden_sha1_md = NULL; in bind_dasync()