Home
last modified time | relevance | path

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

/netbsd/src/crypto/external/bsd/openssl/dist/engines/
De_devcrypto.c674 struct digest_ctx { struct
748 struct digest_ctx *digest_ctx = in digest_init() local
749 (struct digest_ctx *)EVP_MD_CTX_get0_md_data(ctx); in digest_init()
753 digest_ctx->init_called = 1; in digest_init()
755 memset(&digest_ctx->sess, 0, sizeof(digest_ctx->sess)); in digest_init()
756 digest_ctx->sess.mac = digest_d->devcryptoid; in digest_init()
757 if (ioctl(cfd, CIOCGSESSION, &digest_ctx->sess) < 0) { in digest_init()
764 static int digest_op(struct digest_ctx *ctx, const void *src, size_t srclen, in digest_op()
781 struct digest_ctx *digest_ctx = in digest_update() local
782 (struct digest_ctx *)EVP_MD_CTX_get0_md_data(ctx); in digest_update()
[all …]
/netbsd/src/external/bsd/ntp/dist/libntp/
Dssl_init.c29 EVP_MD_CTX *digest_ctx; variable
35 if (NULL == digest_ctx) { in atexit_ssl_cleanup()
38 EVP_MD_CTX_free(digest_ctx); in atexit_ssl_cleanup()
39 digest_ctx = NULL; in atexit_ssl_cleanup()
52 if (NULL == digest_ctx) { in ssl_init()
57 digest_ctx = EVP_MD_CTX_new(); in ssl_init()
58 INSIST(digest_ctx != NULL); in ssl_init()
Da_md5encrypt.c65 if (!EVP_DigestInit(digest_ctx, EVP_get_digestbynid(nid))) { in get_md_ctx()
70 return digest_ctx; in get_md_ctx()
/netbsd/src/external/bsd/ntp/dist/include/
Dntp_stdlib.h252 extern EVP_MD_CTX* digest_ctx; /* also ssl_init_done */
255 if (NULL == digest_ctx) { \
/netbsd/src/external/bsd/ntp/dist/ntpd/
Dntp_crypto.c272 ctx = digest_ctx; in session_key()
387 ctx = digest_ctx; in make_keylist()
1546 ctx = digest_ctx; in crypto_verify()
1625 ctx = digest_ctx; in crypto_encrypt()
1850 ctx = digest_ctx; in crypto_update()
2093 ctx = digest_ctx; in bighash()
2209 ctx = digest_ctx; in crypto_alice()
2327 ctx = digest_ctx; in crypto_bob()
2547 ctx = digest_ctx; in crypto_alice2()
2651 ctx = digest_ctx; in crypto_bob2()
[all …]