Searched refs:authkey (Results 1 – 4 of 4) sorted by relevance
| /security/keys/ |
| A D | request_key_auth.c | 167 struct key *authkey = NULL; in request_key_auth_new() local 220 if (IS_ERR(authkey)) { in request_key_auth_new() 221 ret = PTR_ERR(authkey); in request_key_auth_new() 230 kleave(" = {%d,%d}", authkey->serial, refcount_read(&authkey->usage)); in request_key_auth_new() 231 return authkey; in request_key_auth_new() 234 key_put(authkey); in request_key_auth_new() 259 struct key *authkey; in key_get_instantiation_authkey() local 269 authkey = ERR_CAST(authkey_ref); in key_get_instantiation_authkey() 271 authkey = ERR_PTR(-ENOKEY); in key_get_instantiation_authkey() 277 key_put(authkey); in key_get_instantiation_authkey() [all …]
|
| A D | request_key.c | 69 key_revoke(authkey); in complete_request_key() 150 ret = key_link(keyring, authkey); in call_sbin_request_key() 216 complete_request_key(authkey, ret); in call_sbin_request_key() 231 struct key *authkey; in construct_key() local 239 if (IS_ERR(authkey)) in construct_key() 240 return PTR_ERR(authkey); in construct_key() 247 ret = actor(authkey, aux); in construct_key() 254 key_put(authkey); in construct_key() 288 down_read(&authkey->sem); in construct_get_dest_keyring() 291 &authkey->flags)) in construct_get_dest_keyring() [all …]
|
| A D | key.c | 430 struct key *authkey, in __key_instantiate_and_link() argument 466 if (authkey) in __key_instantiate_and_link() 467 key_invalidate(authkey); in __key_instantiate_and_link() 503 struct key *authkey) in key_instantiate_and_link() argument 540 ret = __key_instantiate_and_link(key, &prep, keyring, authkey, &edit); in key_instantiate_and_link() 579 struct key *authkey) in key_reject_and_link() argument 622 if (authkey) in key_reject_and_link() 623 key_invalidate(authkey); in key_reject_and_link()
|
| A D | keyctl.c | 1518 struct key *authkey; in keyctl_assume_authority() local 1537 authkey = key_get_instantiation_authkey(id); in keyctl_assume_authority() 1538 if (IS_ERR(authkey)) { in keyctl_assume_authority() 1539 ret = PTR_ERR(authkey); in keyctl_assume_authority() 1543 ret = keyctl_change_reqkey_auth(authkey); in keyctl_assume_authority() 1545 ret = authkey->serial; in keyctl_assume_authority() 1546 key_put(authkey); in keyctl_assume_authority()
|
Completed in 12 milliseconds