Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 5 of 5) sorted by relevance

/net/ipv6/
Dseg6_hmac.c106 struct seg6_hmac_algo *algo; in __hmac_get_algo() local
111 algo = &hmac_algos[i]; in __hmac_get_algo()
112 if (algo->alg_id == alg_id) in __hmac_get_algo()
113 return algo; in __hmac_get_algo()
122 struct seg6_hmac_algo *algo; in __do_hmac() local
127 algo = __hmac_get_algo(hinfo->alg_id); in __do_hmac()
128 if (!algo) in __do_hmac()
131 tfm = *this_cpu_ptr(algo->tfms); in __do_hmac()
146 shash = *this_cpu_ptr(algo->shashs); in __do_hmac()
359 struct seg6_hmac_algo *algo; in seg6_hmac_init_algo() local
[all …]
/net/sched/
Dem_text.c62 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change()
111 strncpy(conf.algo, tm->config->ops->name, sizeof(conf.algo) - 1); in em_text_dump()
/net/xfrm/
Dxfrm_user.c522 struct xfrm_algo_desc *algo; in attach_one_algo() local
529 algo = get_byname(ualg->alg_name, 1); in attach_one_algo()
530 if (!algo) { in attach_one_algo()
534 *props = algo->desc.sadb_alg_id; in attach_one_algo()
540 strcpy(p->alg_name, algo->name); in attach_one_algo()
549 struct xfrm_algo_desc *algo; in attach_crypt() local
556 algo = xfrm_ealg_get_byname(ualg->alg_name, 1); in attach_crypt()
557 if (!algo) { in attach_crypt()
561 x->props.ealgo = algo->desc.sadb_alg_id; in attach_crypt()
567 strcpy(p->alg_name, algo->name); in attach_crypt()
[all …]
/net/netfilter/
Dxt_string.c47 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') in string_mt_check()
56 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen, in string_mt_check()
/net/ipv4/
Dtcp_ao.c1552 const char *algo = cmd->alg_name; in tcp_ao_key_alloc() local
1564 if (!strcmp("cmac(aes128)", algo)) in tcp_ao_key_alloc()
1565 algo = "cmac(aes)"; in tcp_ao_key_alloc()
1570 pool_id = tcp_sigpool_alloc_ahash(algo, 60); in tcp_ao_key_alloc()