mirror of https://github.com/wolfSSL/wolfBoot.git
Merge pull request #226 from danielinux/fix-tpm-test-app
Add define for MEMCPY & friends when compiling app in WOLFTPM modepull/227/head
commit
bde4c490ef
|
@ -57,6 +57,14 @@
|
|||
#define ENCRYPT_TMP_SECRET_OFFSET (WOLFBOOT_PARTITION_SIZE - (TRAILER_SKIP))
|
||||
#endif
|
||||
|
||||
#if defined(WOLFBOOT_TPM) && !defined(__WOLFBOOT)
|
||||
#define XMEMSET memset
|
||||
#define XMEMCPY memcpy
|
||||
#define XMEMCMP memcmp
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef NULL
|
||||
# define NULL (void *)0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue