/* see if an authorisation key is associated with a particular key  */
static int key_get_instantiation_authkey_match(const struct key *key, const void *_id)
/* see if an authorisation key is associated with a particular key  */
static int key_get_instantiation_authkey_match(const struct key *key, const void *_id)
{
	struct request_key_auth *rka = key->payload.data;
	key_serial_t id = (key_serial_t)(unsigned long) _id;
	return rka->target_key->serial == id;
}