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.c353 ctx->index_key.type->name, ctx->index_key.description); in construct_alloc_key()
366 key = key_alloc(ctx->index_key.type, ctx->index_key.description, in construct_alloc_key()
524 const char *description, in request_key_and_link() argument
533 .index_key.description = description, in request_key_and_link()
534 .index_key.desc_len = strlen(description), in request_key_and_link()
537 .match_data.raw_data = description, in request_key_and_link()
547 ctx.index_key.type->name, ctx.index_key.description, in request_key_and_link()
635 const char *description, in request_key() argument
644 key = request_key_and_link(type, description, callout_info, callout_len, in request_key()
672 const char *description, in request_key_with_auxdata() argument
[all …]
Dkeyctl.c70 char type[32], *description; in SYSCALL_DEFINE5() local
83 description = NULL; in SYSCALL_DEFINE5()
85 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in SYSCALL_DEFINE5()
86 if (IS_ERR(description)) { in SYSCALL_DEFINE5()
87 ret = PTR_ERR(description); in SYSCALL_DEFINE5()
90 if (!*description) { in SYSCALL_DEFINE5()
91 kfree(description); in SYSCALL_DEFINE5()
92 description = NULL; in SYSCALL_DEFINE5()
93 } else if ((description[0] == '.') && in SYSCALL_DEFINE5()
123 key_ref = key_create_or_update(keyring_ref, type, description, in SYSCALL_DEFINE5()
[all …]
Drequest_key_auth.c78 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 ctx.index_key.desc_len = sprintf(description, "%x", target_id); in key_get_instantiation_authkey()
Dkey.c285 key->index_key.description = kmemdup(desc, desclen + 1, GFP_KERNEL); in key_alloc()
286 if (!key->index_key.description) in key_alloc()
326 kfree(key->description); in key_alloc()
808 const char *description, in key_create_or_update() argument
815 .description = description, in key_create_or_update()
835 (!index_key.description && !index_key.type->preparse)) in key_create_or_update()
861 if (!index_key.description) in key_create_or_update()
862 index_key.description = prep.description; in key_create_or_update()
864 if (!index_key.description) in key_create_or_update()
867 index_key.desc_len = strlen(index_key.description); in key_create_or_update()
[all …]
Dpersistent.c61 persistent = keyring_alloc(index_key->description, in key_create_persistent()
88 index_key.description = buf; in key_get_persistent()
Dprocess_keys.c693 ctx.index_key.description = key->description; in lookup_user_key()
694 ctx.index_key.desc_len = strlen(key->description); in lookup_user_key()
Duser_defined.c164 seq_puts(m, key->description); in user_describe()
Dgc.c159 kfree(key->description); in key_gc_unused_keys()
Dinternal.h152 const char *description,
Dbig_key.c280 seq_puts(m, key->description); in big_key_describe()
/security/integrity/
Ddigsig.c140 key_ref_to_ptr(key)->description, path); in integrity_load_x509()
/security/
DKconfig133 See Documentation/intel_txt.txt for a description of how to enable
/security/keys/encrypted-keys/
Dencrypted.c817 ret = encrypted_init(epayload, key->description, format, master_desc, in encrypted_instantiate()
/security/smack/
Dsmack_lsm.c4385 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()