Home
last modified time | relevance | path

Searched refs:description (Results 1 – 15 of 15) sorted by relevance

/security/keys/
Dkeyring.c113 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 …]
Drequest_key.c366 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 …]
Dkeyctl.c67 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 …]
Drequest_key_auth.c75 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()
Dkey.c281 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 …]
Dpersistent.c59 persistent = keyring_alloc(index_key->description, in key_create_persistent()
86 index_key.description = buf; in key_get_persistent()
Dproc.c195 .index_key.description = key->description, in proc_keys_show()
Dprocess_keys.c689 ctx.index_key.description = key->description; in lookup_user_key()
690 ctx.index_key.desc_len = strlen(key->description); in lookup_user_key()
Duser_defined.c176 seq_puts(m, key->description); in user_describe()
Dbig_key.c157 seq_puts(m, key->description); in big_key_describe()
Dinternal.h147 const char *description,
Dgc.c159 kfree(key->description); in key_gc_unused_keys()
/security/
DKconfig107 See Documentation/intel_txt.txt for a description of how to enable
/security/keys/encrypted-keys/
Dencrypted.c814 ret = encrypted_init(epayload, key->description, format, master_desc, in encrypted_instantiate()
/security/smack/
Dsmack_lsm.c3866 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()