mirror of https://github.com/wolfSSL/wolfBoot.git
Add define for MEMCPY & friends when compiling app in WOLFTPM mode
parent
3be6d79adb
commit
c27dd729ab
|
@ -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