Searched refs:crypto_ctx (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dif_utun_crypto.c71 utun_crypto_ctx_t *crypto_ctx; local
96 crypto_ctx = &pcb->utun_crypto_ctx[idx];
97 if (crypto_ctx->valid) {
101 crypto_ctx->type = crypto_args->type;
102 LIST_INIT(&crypto_ctx->keys_listhead);
103 crypto_ctx->valid = 1;
189 utun_crypto_ctx_t *crypto_ctx; local
210 crypto_ctx = &pcb->utun_crypto_ctx[idx];
211 if (!crypto_ctx->valid) {
214 if (crypto_keys_args->type != crypto_ctx
272 utun_crypto_ctx_t *crypto_ctx; local
357 utun_crypto_ctx_t *crypto_ctx; local
[all...]
H A Dif_utun_crypto_ipsec.c584 utun_crypto_ctx_t *crypto_ctx; local
588 crypto_ctx = &pcb->utun_crypto_ctx[idx];
589 if (!crypto_ctx->valid ||
590 crypto_ctx->type != UTUN_CRYPTO_TYPE_IPSEC) {
595 for (cur_crypto_keys = (__typeof__(cur_crypto_keys))LIST_FIRST(&crypto_ctx->keys_listhead);
617 bzero(crypto_ctx, sizeof(*crypto_ctx));

Completed in 72 milliseconds