Home
last modified time | relevance | path

Searched refs:md_state (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Dmoduleobject.c13 void *md_state; member
87 m->md_state = NULL; in PyModule_NewObject()
201 m->md_state = PyMem_MALLOC(module->m_size); in PyModule_Create2()
202 if (!m->md_state) { in PyModule_Create2()
207 memset(m->md_state, 0, module->m_size); in PyModule_Create2()
307 ((PyModuleObject*)m)->md_state = NULL; in PyModule_FromDefAndSpec2()
364 if (md->md_state == NULL) { in PyModule_ExecDef()
367 md->md_state = PyMem_MALLOC(def->m_size); in PyModule_ExecDef()
368 if (!md->md_state) { in PyModule_ExecDef()
372 memset(md->md_state, 0, def->m_size); in PyModule_ExecDef()
[all …]
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c271 HASH_CTX md_state; in EVP_tls_cbc_digest_record() local
289 SHA1_Init(&md_state.sha1); in EVP_tls_cbc_digest_record()
296 SHA256_Init(&md_state.sha256); in EVP_tls_cbc_digest_record()
303 SHA384_Init(&md_state.sha512); in EVP_tls_cbc_digest_record()
386 md_transform(&md_state, hmac_pad); in EVP_tls_cbc_digest_record()
401 md_transform(&md_state, first_block); in EVP_tls_cbc_digest_record()
403 md_transform(&md_state, data + md_block_size * i - 13); in EVP_tls_cbc_digest_record()
454 md_transform(&md_state, block); in EVP_tls_cbc_digest_record()
455 md_final_raw(&md_state, block); in EVP_tls_cbc_digest_record()