Lines Matching refs:authkey
35 kenter("{%d,%d},%d", cons->key->serial, cons->authkey->serial, error); in complete_request_key()
39 cons->authkey); in complete_request_key()
41 key_revoke(cons->authkey); in complete_request_key()
44 key_put(cons->authkey); in complete_request_key()
101 struct key *key = cons->key, *authkey = cons->authkey, *keyring, in call_sbin_request_key() local
108 kenter("{%d},{%d},%s", key->serial, authkey->serial, op); in call_sbin_request_key()
128 ret = key_link(keyring, authkey); in call_sbin_request_key()
210 struct key *authkey; in construct_key() local
220 authkey = request_key_auth_new(key, callout_info, callout_len, in construct_key()
222 if (IS_ERR(authkey)) { in construct_key()
224 ret = PTR_ERR(authkey); in construct_key()
225 authkey = NULL; in construct_key()
227 cons->authkey = key_get(authkey); in construct_key()
240 !test_bit(KEY_FLAG_REVOKED, &authkey->flags)); in construct_key()
241 key_put(authkey); in construct_key()
258 struct key *dest_keyring = *_dest_keyring, *authkey; in construct_get_dest_keyring() local
276 authkey = cred->request_key_auth; in construct_get_dest_keyring()
277 down_read(&authkey->sem); in construct_get_dest_keyring()
278 rka = authkey->payload.data[0]; in construct_get_dest_keyring()
280 &authkey->flags)) in construct_get_dest_keyring()
283 up_read(&authkey->sem); in construct_get_dest_keyring()