Home
last modified time | relevance | path

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

/linux-6.15/security/keys/
H A Dkeyring.c427 key_put(keyres->key); in keyring_destroy()
428 kfree(keyres); in keyring_destroy()
982 if (!keyres) in keyring_restriction_alloc()
985 keyres->check = check; in keyring_restriction_alloc()
987 return keyres; in keyring_restriction_alloc()
1003 while (keyres && keyres->key && in keyring_detect_restriction_cycle()
1008 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle()
1766 struct key_restriction *keyres; in keyring_restriction_gc() local
1790 key_put(keyres->key); in keyring_restriction_gc()
1791 keyres->key = NULL; in keyring_restriction_gc()
[all …]
H 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-6.15/crypto/asymmetric_keys/
H A Dasymmetric_type.c481 struct key_restriction *keyres = in asymmetric_restriction_alloc() local
484 if (!keyres) in asymmetric_restriction_alloc()
487 keyres->check = check; in asymmetric_restriction_alloc()
488 keyres->key = key; in asymmetric_restriction_alloc()
489 keyres->keytype = &key_type_asymmetric; in asymmetric_restriction_alloc()
491 return keyres; in asymmetric_restriction_alloc()
/linux-6.15/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_kunit.c679 u32 keyres[] = { in vcap_api_encode_max_keyfield_test() local
699 for (idx = 0; idx < ARRAY_SIZE(keyres); ++idx) in vcap_api_encode_max_keyfield_test()
700 KUNIT_EXPECT_EQ(test, keyres[idx], keywords[idx]); in vcap_api_encode_max_keyfield_test()