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

/darwin-on-arm/xnu/bsd/net/
H A Dif_utun_crypto.c273 utun_crypto_keys_t *cur_crypto_keys, *nxt_crypto_keys; local
306 for (cur_crypto_keys = (__typeof__(cur_crypto_keys))LIST_FIRST(&crypto_ctx->keys_listhead);
307 cur_crypto_keys != NULL;
308 cur_crypto_keys = nxt_crypto_keys) {
309 nxt_crypto_keys = (__typeof__(nxt_crypto_keys))LIST_NEXT(cur_crypto_keys, chain);
312 if (crypto_keys_args->u.ipsec_v1.spi == cur_crypto_keys->state.u.ipsec.spi) {
314 if ((err = utun_ctl_unconfig_crypto_keys_ipsec(crypto_keys_args, cur_crypto_keys))) {
317 LIST_REMOVE(cur_crypto_keys, chain);
318 bzero(cur_crypto_keys, sizeo
[all...]
H A Dif_utun_crypto_ipsec.c585 utun_crypto_keys_t *cur_crypto_keys, *nxt_crypto_keys; local
595 for (cur_crypto_keys = (__typeof__(cur_crypto_keys))LIST_FIRST(&crypto_ctx->keys_listhead);
596 cur_crypto_keys != NULL;
597 cur_crypto_keys = nxt_crypto_keys) {
598 nxt_crypto_keys = (__typeof__(nxt_crypto_keys))LIST_NEXT(cur_crypto_keys, chain);
600 if (!cur_crypto_keys->valid) {
604 if (IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAV(cur_crypto_keys)) {
605 (void)utun_ipsec_free_sav(&IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAV(cur_crypto_keys));
608 if (IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAH(cur_crypto_keys)) {
[all...]

Completed in 20 milliseconds