Home
last modified time | relevance | path

Searched refs:keyres (Results 1 – 3 of 3) sorted by relevance

/linux/security/keys/
A Dkeyring.c427 key_put(keyres->key); in keyring_destroy()
428 kfree(keyres); in keyring_destroy()
979 if (!keyres) in keyring_restriction_alloc()
982 keyres->check = check; in keyring_restriction_alloc()
984 return keyres; in keyring_restriction_alloc()
1000 while (keyres && keyres->key && in keyring_detect_restriction_cycle()
1005 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle()
1763 struct key_restriction *keyres; in keyring_restriction_gc() local
1787 key_put(keyres->key); in keyring_restriction_gc()
1788 keyres->key = NULL; in keyring_restriction_gc()
[all …]
A Dkey.c530 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() local
532 ret = keyres->check(keyring, key->type, &prep.payload, in key_instantiate_and_link()
533 keyres->key); in key_instantiate_and_link()
/linux/crypto/asymmetric_keys/
A Dasymmetric_type.c460 struct key_restriction *keyres = in asymmetric_restriction_alloc() local
463 if (!keyres) in asymmetric_restriction_alloc()
466 keyres->check = check; in asymmetric_restriction_alloc()
467 keyres->key = key; in asymmetric_restriction_alloc()
468 keyres->keytype = &key_type_asymmetric; in asymmetric_restriction_alloc()
470 return keyres; in asymmetric_restriction_alloc()

Completed in 18 milliseconds