Lines Matching defs:key
2 /* Signature verification with an asymmetric key
21 * Destroy a public key signature.
38 * query_asymmetric_key - Get information about an asymmetric key.
46 struct key *key = params->key;
51 if (key->type != &key_type_asymmetric)
53 subtype = asymmetric_key_subtype(key);
55 !key->payload.data[0])
68 * encrypt_blob - Encrypt data using an asymmetric key
73 * Encrypt the specified data blob using the private key specified by
74 * params->key. The encrypted data is wrapped in an encoding if
89 * decrypt_blob - Decrypt data using an asymmetric key
94 * Decrypt the specified data blob using the private key specified by
95 * params->key. The decrypted data is wrapped in an encoding if
110 * create_signature - Sign some data using an asymmetric key
115 * Sign the specified data blob using the private key specified by params->key.
131 * verify_signature - Initiate the use of an asymmetric key to verify a signature
132 * @key: The asymmetric key to verify against
137 int verify_signature(const struct key *key,
145 if (key->type != &key_type_asymmetric)
147 subtype = asymmetric_key_subtype(key);
149 !key->payload.data[0])
154 ret = subtype->verify_signature(key, sig);