Lines Matching refs:tipc_aead

150 struct tipc_aead {  struct
154 struct tipc_aead *cloned; argument
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) in tipc_aead_get()
385 struct tipc_aead *tmp; in tipc_aead_get()
396 static inline void tipc_aead_put(struct tipc_aead *aead) in tipc_aead_put()
408 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu); in tipc_aead_free()
431 static int tipc_aead_users(struct tipc_aead __rcu *aead) in tipc_aead_users()
433 struct tipc_aead *tmp; in tipc_aead_users()
445 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_inc()
447 struct tipc_aead *tmp; in tipc_aead_users_inc()
456 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_dec()
458 struct tipc_aead *tmp; in tipc_aead_users_dec()
467 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val) in tipc_aead_users_set()
469 struct tipc_aead *tmp; in tipc_aead_users_set()
488 static struct crypto_aead *tipc_aead_tfm_next(struct tipc_aead *aead) in tipc_aead_tfm_next()
514 static int tipc_aead_init(struct tipc_aead **aead, struct tipc_aead_key *ukey, in tipc_aead_init()
519 struct tipc_aead *tmp; in tipc_aead_init()
626 static int tipc_aead_clone(struct tipc_aead **dst, struct tipc_aead *src) in tipc_aead_clone()
628 struct tipc_aead *aead; in tipc_aead_clone()
732 static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb, in tipc_aead_encrypt()
838 struct tipc_aead *aead = tx_ctx->aead; in tipc_aead_encrypt_done()
877 static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead, in tipc_aead_decrypt()
962 struct tipc_aead *aead = rx_ctx->aead; in tipc_aead_decrypt_done()
1030 static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead, in tipc_ehdr_build()
1122 struct tipc_aead *aead = NULL; in tipc_crypto_key_init()
1148 struct tipc_aead *aead, u8 pos, in tipc_crypto_key_attach()
1250 struct tipc_aead *tmp1, *tmp2 = NULL; in tipc_crypto_key_try_align()
1310 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, in tipc_crypto_key_pick_tx()
1316 struct tipc_aead *aead = NULL; in tipc_crypto_key_pick_tx()
1689 struct tipc_aead *aead = NULL; in tipc_crypto_xmit()
1810 struct tipc_aead *aead = NULL; in tipc_crypto_rcv()
1888 static void tipc_crypto_rcv_complete(struct net *net, struct tipc_aead *aead, in tipc_crypto_rcv_complete()
1894 struct tipc_aead *tmp = NULL; in tipc_crypto_rcv_complete()
1943 tipc_aead_users_dec((struct tipc_aead __force __rcu *)aead, INT_MIN); in tipc_crypto_rcv_complete()
1948 tipc_aead_users_set((struct tipc_aead __force __rcu *)aead, 1); in tipc_crypto_rcv_complete()
2074 struct tipc_aead *aead; in tipc_crypto_key_dump()
2194 struct tipc_aead *aead; in tipc_crypto_key_distr()
2441 struct tipc_aead *aead; in tipc_crypto_work_tx()