Searched refs:tmpl (Results 51 - 75 of 126) sorted by relevance

123456

/linux-master/drivers/crypto/qce/
H A Dcommon.c152 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); local
153 struct qce_device *qce = tmpl->qce;
319 struct qce_alg_template *tmpl = to_cipher_tmpl(crypto_skcipher_reqtfm(req)); local
320 struct qce_device *qce = tmpl->qce;
425 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); local
426 struct qce_device *qce = tmpl->qce;
/linux-master/crypto/
H A Dhctr2.c404 static int hctr2_create_common(struct crypto_template *tmpl, argument
508 err = skcipher_register_instance(tmpl, inst);
516 static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb) argument
529 return hctr2_create_common(tmpl, tb, xctr_name, polyval_name);
532 static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb) argument
545 return hctr2_create_common(tmpl, tb, xctr_name, "polyval");
H A Dhmac.c177 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) argument
215 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg);
238 err = shash_register_instance(tmpl, inst);
H A Dcmac.c232 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) argument
264 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg);
286 err = shash_register_instance(tmpl, inst);
H A Dpcrypt.c236 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, argument
287 err = aead_register_instance(tmpl, inst);
295 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) argument
305 return pcrypt_create_aead(tmpl, tb, algt);
H A Daead.c277 int aead_register_instance(struct crypto_template *tmpl, argument
289 return crypto_register_instance(tmpl, aead_crypto_instance(inst));
H A Dakcipher.c151 int akcipher_register_instance(struct crypto_template *tmpl, argument
157 return crypto_register_instance(tmpl, akcipher_crypto_instance(inst));
H A Dcryptd.c373 static int cryptd_create_skcipher(struct crypto_template *tmpl, argument
422 err = skcipher_register_instance(tmpl, inst);
658 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, argument
711 err = ahash_register_instance(tmpl, inst);
866 static int cryptd_create_aead(struct crypto_template *tmpl, argument
913 err = aead_register_instance(tmpl, inst);
923 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) argument
933 return cryptd_create_skcipher(tmpl, tb, algt, &queue);
935 return cryptd_create_hash(tmpl, tb, algt, &queue);
937 return cryptd_create_aead(tmpl, t
[all...]
H A Dgcm.c574 static int crypto_gcm_create_common(struct crypto_template *tmpl, argument
646 err = aead_register_instance(tmpl, inst);
654 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) argument
667 return crypto_gcm_create_common(tmpl, tb, ctr_name, "ghash");
670 static int crypto_gcm_base_create(struct crypto_template *tmpl, argument
684 return crypto_gcm_create_common(tmpl, tb, ctr_name, ghash_name);
823 static int crypto_rfc4106_create(struct crypto_template *tmpl, argument
887 err = aead_register_instance(tmpl, inst);
1038 static int crypto_rfc4543_create(struct crypto_template *tmpl, argument
1102 err = aead_register_instance(tmpl, ins
[all...]
H A Dlrw.c299 static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb) argument
399 err = skcipher_register_instance(tmpl, inst);
H A Dchacha20poly1305.c555 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, argument
628 err = aead_register_instance(tmpl, inst);
636 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) argument
638 return chachapoly_create(tmpl, tb, "rfc7539", 12);
641 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) argument
643 return chachapoly_create(tmpl, tb, "rfc7539esp", 8);
/linux-master/include/crypto/internal/
H A Daead.h164 int aead_register_instance(struct crypto_template *tmpl,
H A Dhash.h73 int ahash_register_instance(struct crypto_template *tmpl,
109 int shash_register_instance(struct crypto_template *tmpl,
/linux-master/net/bridge/netfilter/
H A Debtables.c325 struct ebt_template *tmpl; local
334 list_for_each_entry(tmpl, &template_tables, list) {
335 if (strcmp(name, tmpl->name) == 0) {
336 struct module *owner = tmpl->owner;
343 *error = tmpl->table_init(net);
1296 struct ebt_template *tmpl; local
1299 list_for_each_entry(tmpl, &template_tables, list) {
1300 if (WARN_ON_ONCE(strcmp(t->name, tmpl->name) == 0)) {
1306 tmpl = kzalloc(sizeof(*tmpl), GFP_KERNE
1324 struct ebt_template *tmpl; local
[all...]
/linux-master/net/core/
H A Dfib_notifier.c143 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) argument
148 ops = kmemdup(tmpl, sizeof(*ops), GFP_KERNEL);
/linux-master/drivers/scsi/
H A Draid_class.c38 #define to_raid_internal(tmpl) container_of(tmpl, struct raid_internal, r)
/linux-master/drivers/pci/msi/
H A Dirqdomain.c239 static bool pci_create_device_domain(struct pci_dev *pdev, const struct msi_domain_template *tmpl, argument
247 return msi_create_device_irq_domain(&pdev->dev, MSI_DEFAULT_DOMAIN, tmpl,
/linux-master/net/netfilter/
H A Dnf_conntrack_proto.c216 struct nf_conn *tmpl; local
218 tmpl = nf_ct_get(skb, &ctinfo);
219 if (tmpl && nf_ct_is_template(tmpl)) {
224 nf_ct_put(tmpl);
H A Dnf_conntrack_helper.c191 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl, argument
201 if (WARN_ON_ONCE(!tmpl))
204 help = nfct_help(tmpl);
/linux-master/tools/testing/selftests/net/
H A Dxfrm_policy.sh38 ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tunnel priority 100 action allow
40 ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tunnel priority 100 action allow
148 ip -net $ns xfrm policy add dst $encryptip dir out tmpl src $me dst $remote proto esp mode tunnel priority 1 action allow
272 ip -net ${ns[1]} xfrm policy update src e000:0001::0000 dst ff01::0014:0000:0001 dir in tmpl src :: dst :: proto esp mode tunnel priority 100 action allow || break
275 ip -net ${ns[1]} xfrm policy update src e000:0001::0000 dst ff01::01 dir in tmpl src :: dst :: proto esp mode tunnel priority 100 action allow || break
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_policer.c309 const struct mlxsw_sp_policer_family *tmpl)
314 family = kmemdup(tmpl, sizeof(*family), GFP_KERNEL);
331 mlxsw_sp->policer_core->family_arr[tmpl->type] = family;
308 mlxsw_sp_policer_family_register(struct mlxsw_sp *mlxsw_sp, const struct mlxsw_sp_policer_family *tmpl) argument
/linux-master/net/xfrm/
H A Dxfrm_state.c940 const struct xfrm_tmpl *tmpl,
953 x->id = tmpl->id;
955 switch (tmpl->encap_family) {
959 x->props.saddr = tmpl->saddr;
966 memcpy(&x->props.saddr, &tmpl->saddr, sizeof(x->props.saddr));
972 x->props.mode = tmpl->mode;
973 x->props.reqid = tmpl->reqid;
974 x->props.family = tmpl->encap_family;
1138 const struct flowi *fl, struct xfrm_tmpl *tmpl,
1150 unsigned short encap_family = tmpl
939 xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl, const struct xfrm_tmpl *tmpl, const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family) argument
1137 xfrm_state_find(const xfrm_address_t *daddr, const xfrm_address_t *saddr, const struct flowi *fl, struct xfrm_tmpl *tmpl, struct xfrm_policy *pol, int *err, unsigned short family, u32 if_id) argument
[all...]
/linux-master/drivers/s390/net/
H A Dfsm.h105 * @param tmpl An array of fsm_nodes, describing this FSM.
112 int nr_states, int nr_events, const fsm_node *tmpl,
/linux-master/include/net/netfilter/
H A Dnf_conntrack_helper.h115 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl,
/linux-master/include/net/
H A Dxfrm.h1092 __xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) argument
1094 return (tmpl->saddr.a4 &&
1095 tmpl->saddr.a4 != x->props.saddr.a4);
1099 __xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x) argument
1101 return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) &&
1102 !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr));
1106 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) argument
1110 return __xfrm4_state_addr_cmp(tmpl, x);
1112 return __xfrm6_state_addr_cmp(tmpl, x);
1575 struct xfrm_tmpl *tmpl,
[all...]

Completed in 476 milliseconds

123456