Lines Matching defs:key
804 /* Take any crypto key related actions first */
2874 struct tipc_aead_key *key;
2879 if (nla_len(attr) < sizeof(*key))
2881 key = (struct tipc_aead_key *)nla_data(attr);
2882 if (key->keylen > TIPC_AEAD_KEYLEN_MAX ||
2883 nla_len(attr) < tipc_aead_key_size(key))
2886 *pkey = key;
2976 /* Initiate the TX/RX key */
2982 GENL_SET_ERR_MSG(info, "unable to initiate or attach new key");
2985 /* Distribute TX key but not master one */
2987 GENL_SET_ERR_MSG(info, "failed to replicate new key");