Searched refs:crypto_keys (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_utun_crypto_ipsec.c | 418 utun_crypto_keys_t *crypto_keys) 445 sah = IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAH(crypto_keys); 451 if ((err = utun_ipsec_set_sah(&IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAH(crypto_keys), 460 sah = IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAH(crypto_keys); 475 &IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAV(crypto_keys), 494 crypto_keys->state.u.ipsec.proto = sah->saidx.proto; 495 crypto_keys->state.u.ipsec.mode = sah->saidx.mode; 497 crypto_keys->state.u.ipsec.ifamily = IPPROTO_IPV4; 499 crypto_keys->state.u.ipsec.ifamily = IPPROTO_IPV6; 501 crypto_keys 416 utun_ctl_config_crypto_keys_ipsec_v1(struct utun_pcb *pcb, utun_crypto_keys_args_t *args, utun_crypto_keys_t *crypto_keys) argument 507 utun_ctl_unconfig_crypto_keys_ipsec_v1(utun_crypto_keys_t *crypto_keys) argument 661 utun_ctl_config_crypto_keys_ipsec(struct utun_pcb *pcb, utun_crypto_keys_args_t *args, utun_crypto_keys_t *crypto_keys) argument 674 utun_ctl_unconfig_crypto_keys_ipsec(utun_crypto_keys_args_t *args, utun_crypto_keys_t *crypto_keys) argument 699 utun_crypto_keys_t *crypto_keys = IF_UTUN_GET_TX_CRYPTO_KEYS(pcb); local [all...] |
H A D | if_utun_crypto.c | 190 utun_crypto_keys_t *crypto_keys = NULL; local 218 crypto_keys = utun_alloc(sizeof(*crypto_keys)); 219 if (!crypto_keys) { 222 bzero(crypto_keys, sizeof(*crypto_keys)); 230 if ((err = utun_ctl_config_crypto_keys_ipsec(pcb, crypto_keys_args, crypto_keys))) { 231 utun_free(crypto_keys); 236 utun_free(crypto_keys); 239 crypto_keys [all...] |
Completed in 18 milliseconds