Lines Matching refs:key
2 /* Asymmetric Public-key cryptography key type interface
13 #include <linux/key-type.h>
19 * The key payload is four words. The asymmetric-type key uses them as
23 asym_crypto, /* The data representing the key */
26 asym_auth /* The key's authorisation (signature, parent key ID) */
30 * Identifiers for an asymmetric key ID. We have three ways of looking up a
31 * key derived from an X.509 certificate:
43 * We could also support an PGP key identifier, which is just a SHA1 sum of the
44 * public key and certain parameters, but since we don't support PGP keys at
70 const struct asymmetric_key_ids *asymmetric_key_ids(const struct key *key)
72 return key->payload.data[asym_key_ids];
76 const struct public_key *asymmetric_key_public_key(const struct key *key)
78 return key->payload.data[asym_crypto];
81 extern struct key *find_asymmetric_key(struct key *keyring,
88 const struct key *keyring);