mirror of https://github.com/wolfSSL/wolfTPM.git
Update CMakeLists and move WOLFTPM2_NO_ASN down
parent
bb5eeb8976
commit
ceb2c224d6
|
@ -35,6 +35,7 @@ set(TPM_SOURCES
|
||||||
src/tpm2_tis.c
|
src/tpm2_tis.c
|
||||||
src/tpm2_winapi.c
|
src/tpm2_winapi.c
|
||||||
src/tpm2_wrap.c
|
src/tpm2_wrap.c
|
||||||
|
src/tpm2_asn.c
|
||||||
src/tpm2_cryptocb.c
|
src/tpm2_cryptocb.c
|
||||||
hal/tpm_io.c
|
hal/tpm_io.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef WOLFTPM2_NO_ASN
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -27,6 +26,7 @@
|
||||||
#include <wolftpm/tpm2_wrap.h>
|
#include <wolftpm/tpm2_wrap.h>
|
||||||
#include <wolftpm/tpm2_asn.h>
|
#include <wolftpm/tpm2_asn.h>
|
||||||
|
|
||||||
|
#ifndef WOLFTPM2_NO_ASN
|
||||||
#ifndef WOLFTPM2_NO_WRAPPER
|
#ifndef WOLFTPM2_NO_WRAPPER
|
||||||
|
|
||||||
int TPM2_ASN_GetLength_ex(const uint8_t* input, word32* inOutIdx, int* len,
|
int TPM2_ASN_GetLength_ex(const uint8_t* input, word32* inOutIdx, int* len,
|
||||||
|
|
|
@ -22,10 +22,6 @@
|
||||||
#ifndef WOLFTPM_TPM2_ASN_H
|
#ifndef WOLFTPM_TPM2_ASN_H
|
||||||
#define WOLFTPM_TPM2_ASN_H
|
#define WOLFTPM_TPM2_ASN_H
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <wolftpm/tpm2.h>
|
#include <wolftpm/tpm2.h>
|
||||||
#include <wolftpm/tpm2_types.h>
|
#include <wolftpm/tpm2_types.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue