Home
last modified time | relevance | path

Searched refs:key_serial_t (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/security/keys/
Dinternal.h113 key_serial_t target_id);
218 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
235 extern long keyctl_get_keyring_ID(key_serial_t, int);
237 extern long keyctl_update_key(key_serial_t, const void __user *, size_t);
238 extern long keyctl_revoke_key(key_serial_t);
239 extern long keyctl_keyring_clear(key_serial_t);
240 extern long keyctl_keyring_link(key_serial_t, key_serial_t);
241 extern long keyctl_keyring_move(key_serial_t, key_serial_t, key_serial_t, unsigned int);
242 extern long keyctl_keyring_unlink(key_serial_t, key_serial_t);
243 extern long keyctl_describe_key(key_serial_t, char __user *, size_t);
[all …]
Dkeyctl.c78 key_serial_t, ringid) in SYSCALL_DEFINE5() argument
170 key_serial_t, destringid) in SYSCALL_DEFINE4() argument
258 long keyctl_get_keyring_ID(key_serial_t id, int create) in keyctl_get_keyring_ID()
325 long keyctl_update_key(key_serial_t id, in keyctl_update_key()
379 long keyctl_revoke_key(key_serial_t id) in keyctl_revoke_key()
420 long keyctl_invalidate_key(key_serial_t id) in keyctl_invalidate_key()
467 long keyctl_keyring_clear(key_serial_t ringid) in keyctl_keyring_clear()
515 long keyctl_keyring_link(key_serial_t id, key_serial_t ringid) in keyctl_keyring_link()
552 long keyctl_keyring_unlink(key_serial_t id, key_serial_t ringid) in keyctl_keyring_unlink()
595 long keyctl_keyring_move(key_serial_t id, key_serial_t from_ringid, in keyctl_keyring_move()
[all …]
Dproc.c78 static struct key *find_ge_key(struct seq_file *p, key_serial_t id) in find_ge_key()
115 key_serial_t pos = *_pos; in proc_keys_start()
129 static inline key_serial_t key_node_serial(struct rb_node *n) in key_node_serial()
Dkeyctl_pkey.c78 static int keyctl_pkey_params_get(key_serial_t id, in keyctl_pkey_params_get()
169 long keyctl_pkey_query(key_serial_t id, in keyctl_pkey_query()
Dpersistent.c129 long keyctl_get_persistent(uid_t _uid, key_serial_t destid) in keyctl_get_persistent()
Dkeyring.c455 key_serial_t *buffer;
489 if (buflen & (sizeof(key_serial_t) - 1)) in keyring_read()
494 ctx.buffer = (key_serial_t *)buffer; in keyring_read()
506 ret = keyring->keys.nr_leaves_on_tree * sizeof(key_serial_t); in keyring_read()
Drequest_key_auth.c246 struct key *key_get_instantiation_authkey(key_serial_t target_id) in key_get_instantiation_authkey()
Ddh.c18 static ssize_t dh_data_from_key(key_serial_t keyid, const void **data) in dh_data_from_key()
Drequest_key.c120 key_serial_t prkey, sskey; in call_sbin_request_key()
Dprocess_keys.c611 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key()
Dkey.c661 struct key *key_lookup(key_serial_t id) in key_lookup()
/linux-6.1.9/include/linux/
Dkey.h28 typedef int32_t key_serial_t; typedef
197 key_serial_t serial; /* key serial number */
437 extern struct key *key_lookup(key_serial_t id);
439 static inline key_serial_t key_serial(const struct key *key) in key_serial()
446 extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags,
Dlsm_audit.h90 key_serial_t key;
Dsyscalls.h873 key_serial_t destringid);
877 key_serial_t destringid);
/linux-6.1.9/Documentation/security/keys/
Dcore.rst39 * Each key is issued a serial number of type key_serial_t that is unique for
382 key_serial_t add_key(const char *type, const char *desc,
384 key_serial_t keyring);
423 key_serial_t request_key(const char *type, const char *description,
425 key_serial_t dest_keyring);
447 key_serial_t keyctl(KEYCTL_GET_KEYRING_ID, key_serial_t id,
460 key_serial_t keyctl(KEYCTL_JOIN_SESSION_KEYRING, const char *name);
478 long keyctl(KEYCTL_UPDATE, key_serial_t key, const void *payload,
492 long keyctl(KEYCTL_REVOKE, key_serial_t key);
501 long keyctl(KEYCTL_CHOWN, key_serial_t key, uid_t uid, gid_t gid);
[all …]
Drequest-key.rst40 key_serial_t request_key(const char *type,
43 key_serial_t dest_keyring);
/linux-6.1.9/drivers/nvdimm/
Dsecurity.c91 key_serial_t id, int subclass) in nvdimm_lookup_user_key()
121 key_serial_t id, int subclass, struct key **key) in nvdimm_get_user_key_payload()
/linux-6.1.9/Documentation/admin-guide/nfs/
Dnfs-idmapper.rst70 description. The serialized key is first converted into a key_serial_t, and
/linux-6.1.9/crypto/asymmetric_keys/
Dasymmetric_type.c532 key_serial_t serial; in asymmetric_lookup_restriction()