Lines Matching refs:tipc_aead

135  * struct tipc_aead - TIPC AEAD key structure
150 struct tipc_aead {
154 struct tipc_aead *cloned;
206 struct tipc_aead __rcu *aead[KEY_MAX + 1];
240 struct tipc_aead *aead;
247 struct tipc_aead *aead;
251 static struct tipc_aead *tipc_aead_get(struct tipc_aead __rcu *aead);
252 static inline void tipc_aead_put(struct tipc_aead *aead);
254 static int tipc_aead_users(struct tipc_aead __rcu *aead);
255 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim);
256 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim);
257 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val);
258 static struct crypto_aead *tipc_aead_tfm_next(struct tipc_aead *aead);
259 static int tipc_aead_init(struct tipc_aead **aead, struct tipc_aead_key *ukey,
261 static int tipc_aead_clone(struct tipc_aead **dst, struct tipc_aead *src);
266 static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
271 static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
275 static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead,
283 struct tipc_aead *aead, u8 pos,
286 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx,
296 static void tipc_crypto_rcv_complete(struct net *net, struct tipc_aead *aead,
320 struct tipc_aead *__tmp = rcu_dereference_protected((rcu_ptr), \
383 static struct tipc_aead *tipc_aead_get(struct tipc_aead __rcu *aead)
385 struct tipc_aead *tmp;
396 static inline void tipc_aead_put(struct tipc_aead *aead)
408 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu);
431 static int tipc_aead_users(struct tipc_aead __rcu *aead)
433 struct tipc_aead *tmp;
445 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim)
447 struct tipc_aead *tmp;
456 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim)
458 struct tipc_aead *tmp;
467 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val)
469 struct tipc_aead *tmp;
488 static struct crypto_aead *tipc_aead_tfm_next(struct tipc_aead *aead)
514 static int tipc_aead_init(struct tipc_aead **aead, struct tipc_aead_key *ukey,
519 struct tipc_aead *tmp;
626 static int tipc_aead_clone(struct tipc_aead **dst, struct tipc_aead *src)
628 struct tipc_aead *aead;
732 static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
838 struct tipc_aead *aead = tx_ctx->aead;
877 static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
962 struct tipc_aead *aead = rx_ctx->aead;
1030 static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead,
1122 struct tipc_aead *aead = NULL;
1148 struct tipc_aead *aead, u8 pos,
1250 struct tipc_aead *tmp1, *tmp2 = NULL;
1310 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx,
1316 struct tipc_aead *aead = NULL;
1689 struct tipc_aead *aead = NULL;
1810 struct tipc_aead *aead = NULL;
1888 static void tipc_crypto_rcv_complete(struct net *net, struct tipc_aead *aead,
1894 struct tipc_aead *tmp = NULL;
1943 tipc_aead_users_dec((struct tipc_aead __force __rcu *)aead, INT_MIN);
1948 tipc_aead_users_set((struct tipc_aead __force __rcu *)aead, 1);
2074 struct tipc_aead *aead;
2194 struct tipc_aead *aead;
2441 struct tipc_aead *aead;