Lines Matching refs:tipc_aead
148 struct tipc_aead { struct
152 struct tipc_aead *cloned; argument
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) in tipc_aead_get()
379 struct tipc_aead *tmp; in tipc_aead_get()
390 static inline void tipc_aead_put(struct tipc_aead *aead) in tipc_aead_put()
402 struct tipc_aead *aead = container_of(rp, struct tipc_aead, rcu); in tipc_aead_free()
425 static int tipc_aead_users(struct tipc_aead __rcu *aead) in tipc_aead_users()
427 struct tipc_aead *tmp; in tipc_aead_users()
439 static void tipc_aead_users_inc(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_inc()
441 struct tipc_aead *tmp; in tipc_aead_users_inc()
450 static void tipc_aead_users_dec(struct tipc_aead __rcu *aead, int lim) in tipc_aead_users_dec()
452 struct tipc_aead *tmp; in tipc_aead_users_dec()
461 static void tipc_aead_users_set(struct tipc_aead __rcu *aead, int val) in tipc_aead_users_set()
463 struct tipc_aead *tmp; in tipc_aead_users_set()
481 static struct crypto_aead *tipc_aead_tfm_next(struct tipc_aead *aead) in tipc_aead_tfm_next()
507 static int tipc_aead_init(struct tipc_aead **aead, struct tipc_aead_key *ukey, in tipc_aead_init()
512 struct tipc_aead *tmp; in tipc_aead_init()
615 static int tipc_aead_clone(struct tipc_aead **dst, struct tipc_aead *src) in tipc_aead_clone()
617 struct tipc_aead *aead; in tipc_aead_clone()
721 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()
968 struct tipc_aead *aead = rx_ctx->aead; in tipc_aead_decrypt_done()
1036 static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead, in tipc_ehdr_build()
1128 struct tipc_aead *aead = NULL; in tipc_crypto_key_init()
1154 struct tipc_aead *aead, u8 pos, in tipc_crypto_key_attach()
1256 struct tipc_aead *tmp1, *tmp2 = NULL; in tipc_crypto_key_try_align()
1316 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, in tipc_crypto_key_pick_tx()
1322 struct tipc_aead *aead = NULL; in tipc_crypto_key_pick_tx()
1693 struct tipc_aead *aead = NULL; in tipc_crypto_xmit()
1814 struct tipc_aead *aead = NULL; in tipc_crypto_rcv()
1892 static void tipc_crypto_rcv_complete(struct net *net, struct tipc_aead *aead, in tipc_crypto_rcv_complete()
1898 struct tipc_aead *tmp = NULL; in tipc_crypto_rcv_complete()
2073 struct tipc_aead *aead; in tipc_crypto_key_dump()
2193 struct tipc_aead *aead; in tipc_crypto_key_distr()
2430 struct tipc_aead *aead; in tipc_crypto_work_tx()