Lines Matching refs:tipc_crypto
153 struct tipc_crypto *crypto;
203 struct tipc_crypto { struct
277 struct tipc_crypto *__rx);
278 static inline void tipc_crypto_key_set_state(struct tipc_crypto *c,
282 static int tipc_crypto_key_attach(struct tipc_crypto *c,
285 static bool tipc_crypto_key_try_align(struct tipc_crypto *rx, u8 new_pending);
286 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx,
287 struct tipc_crypto *rx,
290 static void tipc_crypto_key_synch(struct tipc_crypto *rx, struct sk_buff *skb);
300 static char *tipc_crypto_key_dump(struct tipc_crypto *c, char *buf);
305 static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr);
847 struct tipc_crypto *tx = aead->crypto; in tipc_aead_encrypt_done()
1041 struct tipc_crypto *__rx) in tipc_ehdr_build()
1099 static inline void tipc_crypto_key_set_state(struct tipc_crypto *c, in tipc_crypto_key_set_state()
1128 int tipc_crypto_key_init(struct tipc_crypto *c, struct tipc_aead_key *ukey, in tipc_crypto_key_init()
1156 static int tipc_crypto_key_attach(struct tipc_crypto *c, in tipc_crypto_key_attach()
1211 void tipc_crypto_key_flush(struct tipc_crypto *c) in tipc_crypto_key_flush()
1213 struct tipc_crypto *tx, *rx; in tipc_crypto_key_flush()
1257 static bool tipc_crypto_key_try_align(struct tipc_crypto *rx, u8 new_pending) in tipc_crypto_key_try_align()
1319 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, in tipc_crypto_key_pick_tx()
1320 struct tipc_crypto *rx, in tipc_crypto_key_pick_tx()
1390 static void tipc_crypto_key_synch(struct tipc_crypto *rx, struct sk_buff *skb) in tipc_crypto_key_synch()
1393 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_synch()
1450 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_key_revoke()
1466 int tipc_crypto_start(struct tipc_crypto **crypto, struct net *net, in tipc_crypto_start()
1469 struct tipc_crypto *c; in tipc_crypto_start()
1522 void tipc_crypto_stop(struct tipc_crypto **crypto) in tipc_crypto_stop()
1524 struct tipc_crypto *c = *crypto; in tipc_crypto_stop()
1551 void tipc_crypto_timeout(struct tipc_crypto *rx) in tipc_crypto_timeout()
1554 struct tipc_crypto *tx = tn->crypto_tx; in tipc_crypto_timeout()
1693 struct tipc_crypto *__rx = tipc_node_crypto_rx(__dnode); in tipc_crypto_xmit()
1694 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_xmit()
1814 int tipc_crypto_rcv(struct net *net, struct tipc_crypto *rx, in tipc_crypto_rcv()
1817 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_rcv()
1902 struct tipc_crypto *rx = aead->crypto; in tipc_crypto_rcv_complete()
2010 struct tipc_crypto *tx = tn->crypto_tx, *rx; in tipc_crypto_do_cmd()
2080 static char *tipc_crypto_key_dump(struct tipc_crypto *c, char *buf) in tipc_crypto_key_dump()
2166 struct tipc_crypto *rx; in tipc_crypto_msg_rcv()
2200 int tipc_crypto_key_distr(struct tipc_crypto *tx, u8 key, in tipc_crypto_key_distr()
2287 static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr) in tipc_crypto_key_rcv()
2289 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_rcv()
2358 struct tipc_crypto *rx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_rx()
2359 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_work_rx()
2415 void tipc_crypto_rekeying_sched(struct tipc_crypto *tx, bool changed, in tipc_crypto_rekeying_sched()
2447 struct tipc_crypto *tx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_tx()