Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/engines/
H A 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 …]