Lines Matching refs:ctx
51 crypto_ctx_t *ctx;
68 if ((ctx = kcf_new_ctx(crq, real_provider, sid)) == NULL) {
76 rv = kcf_submit_request(real_provider, ctx, crq, ¶ms, B_FALSE);
81 *ctxp = (crypto_context_t)ctx;
84 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private);
150 crypto_ctx_t *ctx = (crypto_ctx_t *)context;
156 if ((ctx == NULL) ||
157 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) ||
164 error = kcf_submit_request(pd, ctx, cr, ¶ms, B_FALSE);
179 crypto_ctx_t *ctx = (crypto_ctx_t *)context;
185 if ((ctx == NULL) ||
186 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) ||
192 KCF_WRAP_VERIFY_OPS_PARAMS(¶ms, KCF_OP_UPDATE, ctx->cc_session,
194 rv = kcf_submit_request(pd, ctx, cr, ¶ms, B_FALSE);
206 crypto_ctx_t *ctx = (crypto_ctx_t *)context;
212 if ((ctx == NULL) ||
213 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) ||
219 KCF_WRAP_VERIFY_OPS_PARAMS(¶ms, KCF_OP_FINAL, ctx->cc_session,
221 rv = kcf_submit_request(pd, ctx, cr, ¶ms, B_FALSE);
393 crypto_ctx_t *ctx;
410 if ((ctx = kcf_new_ctx(crq, real_provider, sid)) == NULL) {
418 rv = kcf_submit_request(real_provider, ctx, crq, ¶ms, B_FALSE);
423 *ctxp = (crypto_context_t)ctx;
426 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private);
436 crypto_ctx_t *ctx = (crypto_ctx_t *)context;
442 if ((ctx == NULL) ||
443 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) ||
450 error = kcf_submit_request(pd, ctx, cr, ¶ms, B_FALSE);