Lines Matching refs:tipc_crypto

151 	struct tipc_crypto *crypto;
199 struct tipc_crypto { struct
273 struct tipc_crypto *__rx);
274 static inline void tipc_crypto_key_set_state(struct tipc_crypto *c,
278 static int tipc_crypto_key_attach(struct tipc_crypto *c,
281 static bool tipc_crypto_key_try_align(struct tipc_crypto *rx, u8 new_pending);
282 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx,
283 struct tipc_crypto *rx,
286 static void tipc_crypto_key_synch(struct tipc_crypto *rx, struct sk_buff *skb);
296 static char *tipc_crypto_key_dump(struct tipc_crypto *c, char *buf);
301 static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr);
839 struct tipc_crypto *tx = aead->crypto; in tipc_aead_encrypt_done()
1038 struct tipc_crypto *__rx) in tipc_ehdr_build()
1096 static inline void tipc_crypto_key_set_state(struct tipc_crypto *c, in tipc_crypto_key_set_state()
1125 int tipc_crypto_key_init(struct tipc_crypto *c, struct tipc_aead_key *ukey, in tipc_crypto_key_init()
1153 static int tipc_crypto_key_attach(struct tipc_crypto *c, in tipc_crypto_key_attach()
1208 void tipc_crypto_key_flush(struct tipc_crypto *c) in tipc_crypto_key_flush()
1210 struct tipc_crypto *tx, *rx; in tipc_crypto_key_flush()
1254 static bool tipc_crypto_key_try_align(struct tipc_crypto *rx, u8 new_pending) 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()
1317 struct tipc_crypto *rx, in tipc_crypto_key_pick_tx()
1387 static void tipc_crypto_key_synch(struct tipc_crypto *rx, struct sk_buff *skb) in tipc_crypto_key_synch()
1390 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_synch()
1447 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_key_revoke()
1463 int tipc_crypto_start(struct tipc_crypto **crypto, struct net *net, in tipc_crypto_start()
1466 struct tipc_crypto *c; in tipc_crypto_start()
1517 void tipc_crypto_stop(struct tipc_crypto **crypto) in tipc_crypto_stop()
1519 struct tipc_crypto *c = *crypto; in tipc_crypto_stop()
1546 void tipc_crypto_timeout(struct tipc_crypto *rx) in tipc_crypto_timeout()
1549 struct tipc_crypto *tx = tn->crypto_tx; in tipc_crypto_timeout()
1688 struct tipc_crypto *__rx = tipc_node_crypto_rx(__dnode); in tipc_crypto_xmit()
1689 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_xmit()
1809 int tipc_crypto_rcv(struct net *net, struct tipc_crypto *rx, in tipc_crypto_rcv()
1812 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_rcv()
1897 struct tipc_crypto *rx = aead->crypto; in tipc_crypto_rcv_complete()
2000 struct tipc_crypto *tx = tn->crypto_tx, *rx; in tipc_crypto_do_cmd()
2070 static char *tipc_crypto_key_dump(struct tipc_crypto *c, char *buf) in tipc_crypto_key_dump()
2156 struct tipc_crypto *rx; in tipc_crypto_msg_rcv()
2190 int tipc_crypto_key_distr(struct tipc_crypto *tx, u8 key, in tipc_crypto_key_distr()
2277 static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr) in tipc_crypto_key_rcv()
2279 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_rcv()
2338 struct tipc_crypto *rx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_rx()
2339 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_work_rx()
2395 void tipc_crypto_rekeying_sched(struct tipc_crypto *tx, bool changed, in tipc_crypto_rekeying_sched()
2427 struct tipc_crypto *tx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_tx()