Home
last modified time | relevance | path

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

/Linux-v5.10/security/keys/
Dinternal.h113 key_serial_t target_id);
220 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
237 extern long keyctl_get_keyring_ID(key_serial_t, int);
239 extern long keyctl_update_key(key_serial_t, const void __user *, size_t);
240 extern long keyctl_revoke_key(key_serial_t);
241 extern long keyctl_keyring_clear(key_serial_t);
242 extern long keyctl_keyring_link(key_serial_t, key_serial_t);
243 extern long keyctl_keyring_move(key_serial_t, key_serial_t, key_serial_t, unsigned int);
244 extern long keyctl_keyring_unlink(key_serial_t, key_serial_t);
245 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()
161 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 __user *buffer;
489 if (buflen & (sizeof(key_serial_t) - 1)) in keyring_read()
494 ctx.buffer = (key_serial_t __user *)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.c17 static ssize_t dh_data_from_key(key_serial_t keyid, 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.c658 struct key *key_lookup(key_serial_t id) in key_lookup()
/Linux-v5.10/include/linux/
Dkey.h28 typedef int32_t key_serial_t; typedef
191 key_serial_t serial; /* key serial number */
430 extern struct key *key_lookup(key_serial_t id);
432 static inline key_serial_t key_serial(const struct key *key) in key_serial()
439 extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags,
Dlsm_audit.h89 key_serial_t key;
Dsyscalls.h838 key_serial_t destringid);
842 key_serial_t destringid);
/Linux-v5.10/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-v5.10/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-v5.10/Documentation/admin-guide/nfs/
Dnfs-idmapper.rst70 description. The serialized key is first converted into a key_serial_t, and
/Linux-v5.10/crypto/asymmetric_keys/
Dasymmetric_type.c499 key_serial_t serial; in asymmetric_lookup_restriction()