Lines Matching defs:tipc_aead
133 * struct tipc_aead - TIPC AEAD key structure
148 struct tipc_aead {
152 struct tipc_aead *cloned;
202 struct tipc_aead __rcu *aead[KEY_MAX + 1];
236 struct tipc_aead *aead;
243 struct tipc_aead *aead;
247 static struct tipc_aead *tipc_aead_get(struct tipc_aead __rcu *aead);
248 static inline void tipc_aead_put(struct tipc_aead *aead);
250 static int tipc_aead_users(struct tipc_aead __rcu *aead);
251 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim);
252 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim);
253 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val);
254 static struct crypto_aead *tipc_aead_tfm_next(struct tipc_aead *aead);
255 static int tipc_aead_init(struct tipc_aead **aead, struct tipc_aead_key *ukey,
257 static int tipc_aead_clone(struct tipc_aead **dst, struct tipc_aead *src);
262 static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
267 static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
271 static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead,
279 struct tipc_aead *aead, u8 pos,
282 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx,
292 static void tipc_crypto_rcv_complete(struct net *net, struct tipc_aead *aead,
377 static struct tipc_aead *tipc_aead_get(struct tipc_aead __rcu *aead)
379 struct tipc_aead *tmp;
390 static inline void tipc_aead_put(struct tipc_aead *aead)
402 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu);
425 static int tipc_aead_users(struct tipc_aead __rcu *aead)
427 struct tipc_aead *tmp;
439 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim)
441 struct tipc_aead *tmp;
450 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim)
452 struct tipc_aead *tmp;
461 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val)
463 struct tipc_aead *tmp;
481 static struct crypto_aead *tipc_aead_tfm_next(struct tipc_aead *aead)
507 static int tipc_aead_init(struct tipc_aead **aead, struct tipc_aead_key *ukey,
512 struct tipc_aead *tmp;
619 static int tipc_aead_clone(struct tipc_aead **dst, struct tipc_aead *src)
621 struct tipc_aead *aead;
725 static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
842 struct tipc_aead *aead = tx_ctx->aead;
881 static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
966 struct tipc_aead *aead = rx_ctx->aead;
1034 static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead,
1126 struct tipc_aead *aead = NULL;
1152 struct tipc_aead *aead, u8 pos,
1254 struct tipc_aead *tmp1, *tmp2 = NULL;
1314 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx,
1320 struct tipc_aead *aead = NULL;
1693 struct tipc_aead *aead = NULL;
1814 struct tipc_aead *aead = NULL;
1892 static void tipc_crypto_rcv_complete(struct net *net, struct tipc_aead *aead,
1898 struct tipc_aead *tmp = NULL;
2078 struct tipc_aead *aead;
2198 struct tipc_aead *aead;
2445 struct tipc_aead *aead;