md5_hmac_ctx_t
bzero(ctx->cc_provider_private, sizeof (md5_hmac_ctx_t));
kmem_free(ctx->cc_provider_private, sizeof (md5_hmac_ctx_t));
md5_hmac_ctx_t md5_hmac_ctx;
#define PROV_MD5_HMAC_CTX(ctx) ((md5_hmac_ctx_t *)(ctx)->cc_provider_private)
bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t));
bzero(&md5_hmac_ctx, sizeof (md5_hmac_ctx_t));
bzero(&md5_hmac_ctx, sizeof (md5_hmac_ctx_t));
md5_hmac_ctx_t md5_hmac_ctx;
bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t));
bzero(&md5_hmac_ctx, sizeof (md5_hmac_ctx_t));
bzero(&md5_hmac_ctx, sizeof (md5_hmac_ctx_t));
md5_hmac_ctx_t *md5_hmac_ctx_tmpl;
md5_hmac_ctx_tmpl = kmem_alloc(sizeof (md5_hmac_ctx_t),
*ctx_template_size = sizeof (md5_hmac_ctx_t);
ctx_len = sizeof (md5_hmac_ctx_t);
md5_mac_init_ctx(md5_hmac_ctx_t *ctx, void *keyval, uint_t length_in_bytes)
ctx->cc_provider_private = kmem_alloc(sizeof (md5_hmac_ctx_t),
sizeof (md5_hmac_ctx_t));
md5_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private;
bzero(ctx->cc_provider_private, sizeof (md5_hmac_ctx_t));
kmem_free(ctx->cc_provider_private, sizeof (md5_hmac_ctx_t));