Searched refs:alg_type (Results 1 – 4 of 4) sorted by relevance
2552 ipsec_algtype_t alg_type = 0; in spdsock_do_updatealg() local2596 spds->spds_algs[alg_type][alg->alg_id]); in spdsock_do_updatealg()2597 spds->spds_algs[alg_type][alg->alg_id] = in spdsock_do_updatealg()2621 alg_type = i; in spdsock_do_updatealg()2744 alg_type = i; in spdsock_do_updatealg()2755 spds->spds_algs_exec_mode[alg_type] = i; in spdsock_do_updatealg()2773 for (alg_type = 0; alg_type < IPSEC_NALGTYPES; alg_type++) in spdsock_do_updatealg()2775 if (spds->spds_algs[alg_type][algid] != NULL) in spdsock_do_updatealg()2776 ipsec_alg_free(spds->spds_algs[alg_type][algid]); in spdsock_do_updatealg()
7061 ipsec_algtype_t alg_type; member7091 switch (update_state->alg_type) {7117 update_state->alg_type);7125 ipsec_destroy_ctx_tmpl(entry, update_state->alg_type);7147 sadb_alg_update(ipsec_algtype_t alg_type, uint8_t alg_id, boolean_t is_added, argument7155 update_state.alg_type = alg_type;7163 if (alg_type == IPSEC_ALG_AUTH || alg_type == IPSEC_ALG_ALL) {7184 ipsec_create_ctx_tmpl(ipsa_t *sa, ipsec_algtype_t alg_type) argument7197 switch (alg_type) {7201 alg = ipss->ipsec_alglists[alg_type][sa->ipsa_auth_alg];[all …]
4694 ipsec_alg_fix_min_max(ipsec_alginfo_t *alg, ipsec_algtype_t alg_type, in ipsec_alg_fix_min_max() argument4769 if (alg_type == IPSEC_ALG_AUTH) { in ipsec_alg_fix_min_max()4848 if (alg_type == IPSEC_ALG_ENCR && alg->alg_ivlen == 0) in ipsec_alg_fix_min_max()
3495 parse_ipsec_alg(char *str, ips_act_props_t *iap, int alg_type) in parse_ipsec_alg() argument3562 if (alg_type == SPD_ATTR_AH_AUTH || in parse_ipsec_alg()3563 alg_type == SPD_ATTR_ESP_AUTH) { in parse_ipsec_alg()3573 if (alg_type == SPD_ATTR_AH_AUTH) { in parse_ipsec_alg()3577 } else if (alg_type == SPD_ATTR_ESP_AUTH) { in parse_ipsec_alg()