summaryrefslogtreecommitdiff
path: root/core/tee/se/aid_priv.h
blob: 2cd81aee7978cddbe6073693f2ad1f2df2023f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2014, Linaro Limited
 */

#ifndef TEE_SE_AID_PRIV_H
#define TEE_SE_AID_PRIV_H

struct tee_se_aid {
	uint8_t aid[MAX_AID_LENGTH];
	size_t length;
	int refcnt;
};

int tee_se_aid_get_refcnt(struct tee_se_aid *aid);

TEE_Result tee_se_aid_create(const char *name, struct tee_se_aid **aid);

void tee_se_aid_acquire(struct tee_se_aid *aid);

#endif