Home
last modified time | relevance | path

Searched refs:digest_ctx (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/ntp/libntp/
H A Dssl_init.c27 EVP_MD_CTX *digest_ctx; variable
33 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()
H A Da_md5encrypt.c63 if (!EVP_DigestInit(digest_ctx, EVP_get_digestbynid(nid))) { in get_md_ctx()
68 return digest_ctx; in get_md_ctx()
/freebsd-14.2/crypto/openssl/engines/
H A De_devcrypto.c674 struct digest_ctx { struct
748 struct digest_ctx *digest_ctx = in digest_init() local
753 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() local
787 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() local
823 struct digest_ctx *digest_to = in digest_copy()
846 struct digest_ctx *digest_ctx = in digest_cleanup() local
[all …]
/freebsd-14.2/contrib/ntp/include/
H A Dntp_stdlib.h246 extern EVP_MD_CTX* digest_ctx; /* also ssl_init_done */
249 if (NULL == digest_ctx) { \
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_crypto.c270 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 …]