Searched refs:curalg (Results 1 – 2 of 2) sorted by relevance
198 struct ipsecalgent *curalg, **newalglist; in build_list() local453 curalg = (struct ipsecalgent *)calloc( in build_list()455 if (curalg == NULL) { in build_list()458 curalg->a_proto_num = new_num; in build_list()459 curalg->a_alg_num = alg_num; in build_list()460 curalg->a_block_sizes = block_sizes; in build_list()461 curalg->a_alg_flags = flags; in build_list()462 curalg->a_mech_params = mech_params; in build_list()463 curalg->a_key_sizes = key_sizes; in build_list()464 curalg->a_key_increment = key_increment; in build_list()[all …]
438 struct ipsecalgent *curalg; in ipsecalg_exists() local444 curalg = proto->proto_algs[i]; in ipsecalg_exists()446 if (curalg->a_alg_num != newbie->a_alg_num) in ipsecalg_exists()449 if (curalg->a_key_increment != newbie->a_key_increment) in ipsecalg_exists()452 if (strcmp(curalg->a_mech_name, newbie->a_mech_name) != 0) in ipsecalg_exists()455 curname = curalg->a_names; in ipsecalg_exists()466 if (!sizes_match(curalg->a_block_sizes, newbie->a_block_sizes)) in ipsecalg_exists()469 if (!sizes_match(curalg->a_key_sizes, newbie->a_key_sizes)) in ipsecalg_exists()