Searched refs:digest_ctx (Results 1 – 5 of 5) sorted by relevance
27 EVP_MD_CTX *digest_ctx; variable33 if (NULL == digest_ctx) { in atexit_ssl_cleanup()36 EVP_MD_CTX_free(digest_ctx); in atexit_ssl_cleanup()37 digest_ctx = NULL; in atexit_ssl_cleanup()50 if (NULL == digest_ctx) { in ssl_init()55 digest_ctx = EVP_MD_CTX_new(); in ssl_init()56 INSIST(digest_ctx != NULL); in ssl_init()
63 if (!EVP_DigestInit(digest_ctx, EVP_get_digestbynid(nid))) { in get_md_ctx()68 return digest_ctx; in get_md_ctx()
674 struct digest_ctx { struct748 struct digest_ctx *digest_ctx = in digest_init() local753 digest_ctx->init_called = 1; in digest_init()755 memset(&digest_ctx->sess, 0, sizeof(digest_ctx->sess)); in digest_init()781 struct digest_ctx *digest_ctx = in digest_update() local787 if (digest_ctx == NULL) in digest_update()791 if (digest_op(digest_ctx, data, count, digest_ctx->digest_res, 0) >= 0) in digest_update()803 struct digest_ctx *digest_ctx = in digest_final() local823 struct digest_ctx *digest_to = in digest_copy()846 struct digest_ctx *digest_ctx = in digest_cleanup() local[all …]
246 extern EVP_MD_CTX* digest_ctx; /* also ssl_init_done */249 if (NULL == digest_ctx) { \
270 ctx = digest_ctx; in session_key()385 ctx = digest_ctx; in make_keylist()1544 ctx = digest_ctx; in crypto_verify()1623 ctx = digest_ctx; in crypto_encrypt()1848 ctx = digest_ctx; in crypto_update()2091 ctx = digest_ctx; in bighash()2325 ctx = digest_ctx; in crypto_bob()2545 ctx = digest_ctx; in crypto_alice2()2649 ctx = digest_ctx; in crypto_bob2()2887 ctx = digest_ctx; in crypto_alice3()[all …]