Home
last modified time | relevance | path

Searched refs:key_restriction (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/security/integrity/ima/
Dima_mok.c31 struct key_restriction *restriction; in ima_mok_init()
35 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in ima_mok_init()
/Linux-v4.19/certs/
Dsystem_keyring.c78 static __init struct key_restriction *get_builtin_and_secondary_restriction(void) in get_builtin_and_secondary_restriction()
80 struct key_restriction *restriction; in get_builtin_and_secondary_restriction()
82 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in get_builtin_and_secondary_restriction()
/Linux-v4.19/include/linux/
Dkey.h136 struct key_restriction { struct
234 struct key_restriction *restrict_link;
243 struct key_restriction *restrict_link);
320 struct key_restriction *restrict_link,
Dkey-type.h156 struct key_restriction *(*lookup_restriction)(const char *params);
/Linux-v4.19/crypto/asymmetric_keys/
Dasymmetric_type.c457 static struct key_restriction *asymmetric_restriction_alloc( in asymmetric_restriction_alloc()
461 struct key_restriction *keyres = in asymmetric_restriction_alloc()
462 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in asymmetric_restriction_alloc()
477 static struct key_restriction *asymmetric_lookup_restriction( in asymmetric_lookup_restriction()
483 struct key_restriction *ret = ERR_PTR(-EINVAL); in asymmetric_lookup_restriction()
/Linux-v4.19/security/integrity/
Ddigsig.c85 struct key_restriction *restriction; in integrity_init_keyring()
91 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in integrity_init_keyring()
/Linux-v4.19/security/keys/
Dkeyring.c398 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy()
497 struct key_restriction *restrict_link, in keyring_alloc()
940 static struct key_restriction *keyring_restriction_alloc( in keyring_restriction_alloc()
943 struct key_restriction *keyres = in keyring_restriction_alloc()
944 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in keyring_restriction_alloc()
965 struct key_restriction *keyres) in keyring_detect_restriction_cycle()
989 struct key_restriction *restrict_link; in keyring_restrict()
1555 struct key_restriction *keyres; in keyring_restriction_gc()
Dkey.c231 struct key_restriction *restrict_link) in key_alloc()
522 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()
817 struct key_restriction *restrict_link = NULL; in key_create_or_update()
/Linux-v4.19/Documentation/security/keys/
Dcore.rst1067 struct key_restriction *restrict_link,
1477 * ``struct key_restriction *(*lookup_restriction)(const char *params);``
1481 name) is passed in, and this method returns a pointer to a key_restriction