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);
846 struct tipc_crypto *tx = aead->crypto; in tipc_aead_encrypt_done()
1039 struct tipc_crypto *__rx) in tipc_ehdr_build()
1097 static inline void tipc_crypto_key_set_state(struct tipc_crypto *c, in tipc_crypto_key_set_state()
1126 int tipc_crypto_key_init(struct tipc_crypto *c, struct tipc_aead_key *ukey, in tipc_crypto_key_init()
1154 static int tipc_crypto_key_attach(struct tipc_crypto *c, in tipc_crypto_key_attach()
1209 void tipc_crypto_key_flush(struct tipc_crypto *c) in tipc_crypto_key_flush()
1211 struct tipc_crypto *tx, *rx; in tipc_crypto_key_flush()
1255 static bool tipc_crypto_key_try_align(struct tipc_crypto *rx, u8 new_pending) in tipc_crypto_key_try_align()
1317 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, in tipc_crypto_key_pick_tx()
1318 struct tipc_crypto *rx, in tipc_crypto_key_pick_tx()
1388 static void tipc_crypto_key_synch(struct tipc_crypto *rx, struct sk_buff *skb) in tipc_crypto_key_synch()
1391 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_synch()
1448 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_key_revoke()
1464 int tipc_crypto_start(struct tipc_crypto **crypto, struct net *net, in tipc_crypto_start()
1467 struct tipc_crypto *c; in tipc_crypto_start()
1520 void tipc_crypto_stop(struct tipc_crypto **crypto) in tipc_crypto_stop()
1522 struct tipc_crypto *c = *crypto; in tipc_crypto_stop()
1549 void tipc_crypto_timeout(struct tipc_crypto *rx) in tipc_crypto_timeout()
1552 struct tipc_crypto *tx = tn->crypto_tx; in tipc_crypto_timeout()
1691 struct tipc_crypto *__rx = tipc_node_crypto_rx(__dnode); in tipc_crypto_xmit()
1692 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_xmit()
1812 int tipc_crypto_rcv(struct net *net, struct tipc_crypto *rx, in tipc_crypto_rcv()
1815 struct tipc_crypto *tx = tipc_net(net)->crypto_tx; in tipc_crypto_rcv()
1900 struct tipc_crypto *rx = aead->crypto; in tipc_crypto_rcv_complete()
2004 struct tipc_crypto *tx = tn->crypto_tx, *rx; in tipc_crypto_do_cmd()
2074 static char *tipc_crypto_key_dump(struct tipc_crypto *c, char *buf) in tipc_crypto_key_dump()
2160 struct tipc_crypto *rx; in tipc_crypto_msg_rcv()
2194 int tipc_crypto_key_distr(struct tipc_crypto *tx, u8 key, in tipc_crypto_key_distr()
2281 static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr) in tipc_crypto_key_rcv()
2283 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_rcv()
2352 struct tipc_crypto *rx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_rx()
2353 struct tipc_crypto *tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_work_rx()
2409 void tipc_crypto_rekeying_sched(struct tipc_crypto *tx, bool changed, in tipc_crypto_rekeying_sched()
2441 struct tipc_crypto *tx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_tx()