digest_init
digest_init.di_mech.cm_param_len = pMechanism->ulParameterLen;
digest_init.di_mech.cm_param_len = 0;
while ((r = ioctl(kernel_fd, CRYPTO_DIGEST_INIT, &digest_init)) < 0) {
rv = crypto2pkcs11_error_number(digest_init.di_return_value);
crypto_digest_init_t digest_init;
digest_init.di_session = session_p->k_session;
digest_init.di_mech.cm_type = k_mech_type;
digest_init.di_mech.cm_param = pMechanism->pParameter;
int digest_init(crypto_op_t *op);
.tf_init = digest_init,
STRUCT_DECL(crypto_digest_init, digest_init);
STRUCT_INIT(digest_init, mode);
if (copyin(arg, STRUCT_BUF(digest_init),
STRUCT_SIZE(digest_init)) != 0) {
session_id = STRUCT_FGET(digest_init, di_session);
if (!copyin_mech(mode, sp, STRUCT_FADDR(digest_init, di_mech), &mech,
STRUCT_FSET(digest_init, di_return_value, rv);
if (copyout(STRUCT_BUF(digest_init), arg,
STRUCT_SIZE(digest_init)) != 0) {
if (digest_ops->digest_init != NULL)
return (digest_init(dev, ARG, mode, rval));
(KCF_PROV_DIGEST_OPS(pd) && KCF_PROV_DIGEST_OPS(pd)->digest_init) ? \
KCF_PROV_DIGEST_OPS(pd)->digest_init(ctx, mech, req) : \
int (*digest_init)(crypto_ctx_t *, crypto_mechanism_t *,