Lines Matching defs:new
301 static char *tipc_key_change_dump(struct tipc_key old, struct tipc_key new,
363 * tipc_aead_key_generate - Generate new session key
364 * @skey: input/output key with new content
503 * @aead: returned new TIPC AEAD key handle pointer
507 * Allocate a (list of) new cipher transformation (TFM) with the specific user
526 /* Allocate a new AEAD */
1108 * tipc_crypto_key_init - Initiate a new user / AEAD key
1109 * @c: TIPC crypto to which new key is attached
1114 * A new TIPC AEAD key will be allocated and initiated with the specified user
1117 * Return: new key id in case of success, otherwise: < 0
1125 /* Initiate with the new user key */
1139 * tipc_crypto_key_attach - Attach a new AEAD key to TIPC crypto
1140 * @c: TIPC crypto to which the new AEAD key is attached
1141 * @aead: the new AEAD key pointer
1145 * Return: new key id in case of success, otherwise: -EBUSY
1238 * @new_pending: new pending slot if aligned (= TX key from peer)
1243 * If so, we try to move the pending key to the new slot.
1387 u8 cur, new;
1421 new = ehdr->rx_key_active;
1423 cur != new &&
1424 atomic_cmpxchg(&rx->peer_rx_active, cur, new) == cur) {
1425 if (new)
1426 tipc_aead_users_inc(tx->aead[new], INT_MAX);
1435 tx->name, cur, new, rx->name);
2119 static char *tipc_key_change_dump(struct tipc_key old, struct tipc_key new,
2141 if (key != &new) {
2143 key = &new;
2401 * tipc_crypto_rekeying_sched - (Re)schedule rekeying w/o new interval
2403 * @changed: if the rekeying needs to be rescheduled with new interval
2404 * @new_intv: new rekeying interval (when "changed" = true)
2431 * generating a new session key based on current one, then attaching it to the
2460 /* Now, generate new key, initiate & distribute it */