Searched refs:cctx (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/bsd/nfs/gss/ |
| H A D | gss_krb5_mech.c | 558 wctx->ccmode = encrypt ? cctx->enc_mode : cctx->dec_mode; in do_crypt_init() 583 wctx->di = cctx->di; in do_hmac_init() 585 cchmac_init(cctx->di, wctx->hmac_ctx, cctx->keylen, key); in do_hmac_init() 1522 if (cctx->mpad > 1) { in gss_krb5_cfx_wrap_mbuf() 1523 size_t val = cctx->mpad - ((len + sizeof(gss_cfx_wrap_token_desc)) % cctx->mpad); in gss_krb5_cfx_wrap_mbuf() 1542 kfree_data(pad, cctx->mpad); in gss_krb5_cfx_wrap_mbuf() 1658 if (ec != cctx->digest_size || len >= cctx->digest_size) { in gss_krb5_cfx_unwrap_mbuf() 1661 len -= cctx->digest_size; in gss_krb5_cfx_unwrap_mbuf() 1849 cccbc_init(cctx->enc_mode, enc_ctx, cctx->keylen, cctx->key); in gss_krb5_3des_token_put() 1922 cccbc_init(cctx->dec_mode, dec_ctx, cctx->keylen, cctx->key); in gss_krb5_3des_token_get() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | test_lock.c | 389 struct smr_call_ctx *cctx; in smr_sleepable_stress_cb() local 391 cctx = __container_of(node, struct smr_call_ctx, node); in smr_sleepable_stress_cb() 392 os_atomic_inc(&cctx->ctx->calls_done, relaxed); in smr_sleepable_stress_cb() 394 kfree_type(struct smr_call_ctx, cctx); in smr_sleepable_stress_cb() 400 struct smr_call_ctx *cctx; in smr_sleepable_stress_make_call() local 402 cctx = kalloc_type(struct smr_call_ctx, Z_WAITOK); in smr_sleepable_stress_make_call() 403 cctx->ctx = ctx; in smr_sleepable_stress_make_call() 405 smr_call(ctx->smr, &cctx->node, sizeof(*cctx), smr_sleepable_stress_cb); in smr_sleepable_stress_make_call()
|