• Home
  • Raw
  • Download

Lines Matching +full:tx +full:- +full:m

1 /* SPDX-License-Identifier: GPL-2.0 */
58 * - CLUSTER_KEY:
59 * One single key is used for both TX & RX in all nodes in the cluster.
60 * - PER_NODE_KEY:
61 * Each nodes in the cluster has one TX key, for RX a node needs to know
62 * its peers' TX key for the decryption of messages from those nodes.
77 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
78 * w0:|Ver=7| User |D|TX |RX |K|M|N| Rsvd |
79 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
82 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
85 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
89 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
94 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
101 * TX : TX key used for the message encryption
103 * node's TX key (when the "D" bit is set)
104 * K : Keep-alive bit (for RPS, LINK_PROTOCOL/STATE_MSG only)
105 * M : Bit indicates if sender has master key
107 * receiver's TX (when the "D" bit is set)
109 * Word1-2:
110 * Seqno : The 64-bit sequence number of the encrypted message, also
112 * Word3-:
171 int tipc_crypto_key_distr(struct tipc_crypto *tx, u8 key,
174 void tipc_crypto_rekeying_sched(struct tipc_crypto *tx, bool changed,
179 static inline u32 msg_key_gen(struct tipc_msg *m) in msg_key_gen() argument
181 return msg_bits(m, 4, 16, 0xffff); in msg_key_gen()
184 static inline void msg_set_key_gen(struct tipc_msg *m, u32 gen) in msg_set_key_gen() argument
186 msg_set_bits(m, 4, 16, 0xffff, gen); in msg_set_key_gen()
189 static inline u32 msg_key_mode(struct tipc_msg *m) in msg_key_mode() argument
191 return msg_bits(m, 4, 0, 0xf); in msg_key_mode()
194 static inline void msg_set_key_mode(struct tipc_msg *m, u32 mode) in msg_set_key_mode() argument
196 msg_set_bits(m, 4, 0, 0xf, mode); in msg_set_key_mode()