/security/keys/ |
D | keyring.c | 113 if (keyring->description) { in keyring_publish_name() 114 bucket = keyring_hash(keyring->description); in keyring_publish_name() 175 const char *description = index_key->description; in hash_key_type_and_desc() local 192 memcpy(&piece, description, n); in hash_key_type_and_desc() 193 description += n; in hash_key_type_and_desc() 260 chunk |= ((u8*)index_key->description)[--offset]; in keyring_get_key_chunk() 285 memcmp(key->index_key.description, index_key->description, in keyring_compare_object() 329 if (((unsigned long)a->description | (unsigned long)b->description) & in keyring_diff_objects() 332 seg_a = *(unsigned long *)(a->description + i); in keyring_diff_objects() 333 seg_b = *(unsigned long *)(b->description + i); in keyring_diff_objects() [all …]
|
D | request_key.c | 366 ctx->index_key.type->name, ctx->index_key.description); in construct_alloc_key() 379 key = key_alloc(ctx->index_key.type, ctx->index_key.description, in construct_alloc_key() 537 const char *description, in request_key_and_link() argument 546 .index_key.description = description, in request_key_and_link() 549 .match_data.raw_data = description, in request_key_and_link() 559 ctx.index_key.type->name, ctx.index_key.description, in request_key_and_link() 648 const char *description, in request_key() argument 657 key = request_key_and_link(type, description, callout_info, callout_len, in request_key() 685 const char *description, in request_key_with_auxdata() argument 693 key = request_key_and_link(type, description, callout_info, callout_len, in request_key_with_auxdata() [all …]
|
D | keyctl.c | 67 char type[32], *description; in SYSCALL_DEFINE5() local 81 description = NULL; in SYSCALL_DEFINE5() 83 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in SYSCALL_DEFINE5() 84 if (IS_ERR(description)) { in SYSCALL_DEFINE5() 85 ret = PTR_ERR(description); in SYSCALL_DEFINE5() 88 if (!*description) { in SYSCALL_DEFINE5() 89 kfree(description); in SYSCALL_DEFINE5() 90 description = NULL; in SYSCALL_DEFINE5() 91 } else if ((description[0] == '.') && in SYSCALL_DEFINE5() 128 key_ref = key_create_or_update(keyring_ref, type, description, in SYSCALL_DEFINE5() [all …]
|
D | request_key_auth.c | 75 seq_puts(m, key->description); in request_key_auth_describe() 244 char description[16]; in key_get_instantiation_authkey() local 247 .index_key.description = description, in key_get_instantiation_authkey() 250 .match_data.raw_data = description, in key_get_instantiation_authkey() 257 sprintf(description, "%x", target_id); in key_get_instantiation_authkey()
|
D | key.c | 281 key->index_key.description = kmemdup(desc, desclen + 1, GFP_KERNEL); in key_alloc() 282 if (!key->description) in key_alloc() 321 kfree(key->description); in key_alloc() 779 const char *description, in key_create_or_update() argument 786 .description = description, in key_create_or_update() 805 (!index_key.description && !index_key.type->preparse)) in key_create_or_update() 828 if (!index_key.description) in key_create_or_update() 829 index_key.description = prep.description; in key_create_or_update() 831 if (!index_key.description) in key_create_or_update() 834 index_key.desc_len = strlen(index_key.description); in key_create_or_update() [all …]
|
D | persistent.c | 59 persistent = keyring_alloc(index_key->description, in key_create_persistent() 86 index_key.description = buf; in key_get_persistent()
|
D | proc.c | 195 .index_key.description = key->description, in proc_keys_show()
|
D | process_keys.c | 689 ctx.index_key.description = key->description; in lookup_user_key() 690 ctx.index_key.desc_len = strlen(key->description); in lookup_user_key()
|
D | user_defined.c | 176 seq_puts(m, key->description); in user_describe()
|
D | big_key.c | 157 seq_puts(m, key->description); in big_key_describe()
|
D | internal.h | 147 const char *description,
|
D | gc.c | 159 kfree(key->description); in key_gc_unused_keys()
|
/security/ |
D | Kconfig | 107 See Documentation/intel_txt.txt for a description of how to enable
|
/security/keys/encrypted-keys/ |
D | encrypted.c | 814 ret = encrypted_init(epayload, key->description, format, master_desc, in encrypted_instantiate()
|
/security/smack/ |
D | smack_lsm.c | 3866 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()
|