forked from wolfSSL/wolfssl
enable mc dbinit for mcapi test, chris
This commit is contained in:
@ -39,6 +39,11 @@
|
|||||||
/* c stdlib headers */
|
/* c stdlib headers */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/* pic32 specific */
|
||||||
|
#ifdef MICROCHIP_PIC32
|
||||||
|
#define PIC32_STARTER_KIT
|
||||||
|
#include <p32xxxx.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OUR_DATA_SIZE 1024
|
#define OUR_DATA_SIZE 1024
|
||||||
static byte ourData[OUR_DATA_SIZE];
|
static byte ourData[OUR_DATA_SIZE];
|
||||||
@ -62,6 +67,10 @@ int main(int argc, char** argv)
|
|||||||
(void)argc;
|
(void)argc;
|
||||||
(void)argv;
|
(void)argv;
|
||||||
|
|
||||||
|
#ifdef MICROCHIP_PIC32
|
||||||
|
DBINIT();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* align key pointer */
|
/* align key pointer */
|
||||||
key = (byte*)XMALLOC(32, NULL, DYNAMIC_TYPE_KEY);
|
key = (byte*)XMALLOC(32, NULL, DYNAMIC_TYPE_KEY);
|
||||||
if (key == NULL) {
|
if (key == NULL) {
|
||||||
|
Reference in New Issue
Block a user