Lines Matching defs:authkey
47 kenter("{%d,%d},%d", cons->key->serial, cons->authkey->serial, error);
51 cons->authkey);
53 key_revoke(cons->authkey);
56 key_put(cons->authkey);
103 struct key *key = cons->key, *authkey = cons->authkey, *keyring,
110 kenter("{%d},{%d},%s", key->serial, authkey->serial, op);
129 ret = key_link(keyring, authkey);
210 struct key *authkey;
220 authkey = request_key_auth_new(key, callout_info, callout_len,
222 if (IS_ERR(authkey)) {
224 ret = PTR_ERR(authkey);
225 authkey = NULL;
227 cons->authkey = key_get(authkey);
240 !test_bit(KEY_FLAG_REVOKED, &authkey->flags));
241 key_put(authkey);
257 struct key *dest_keyring = *_dest_keyring, *authkey;
272 authkey = cred->request_key_auth;
273 down_read(&authkey->sem);
274 rka = authkey->payload.data;
276 &authkey->flags))
279 up_read(&authkey->sem);