summaryrefslogtreecommitdiff
path: root/src/libtpmtss/tpm_tss_tss2.h
blob: f2846c9165c84b9b4d95f5c224af560cb22b6657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * Copyright (C) 2016-2018 Andreas Steffen
 * HSR Hochschule fuer Technik Rapperswil
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 */

/**
 * @defgroup tpm_tss_tss2 tpm_tss_tss2
 * @{ @ingroup libtpmtss
 */

#ifndef TPM_TSS_TSS2_H_
#define TPM_TSS_TSS2_H_

#include "tpm_tss.h"

/**
 * Create a tpm_tss_tss2 instance.
 */
tpm_tss_t *tpm_tss_tss2_create(void);

/**
 * Initialize the tpm_tss_tss2 library.
 *
 * @return		TRUE if initialization was successful
 */
bool tpm_tss_tss2_init(void);

/**
 * /De-initialize the tpm_tss_tss2 library.
 */
void tpm_tss_tss2_deinit(void);

#endif /** TPM_TSS_TSS2_H_ @}*/