ctaocrypt/{benchmark,src,test} files fro MDK5

This commit is contained in:
Takashi Kojo
2013-10-24 17:20:12 +09:00
parent e4a3599a6b
commit 3ed2085e77
4 changed files with 41 additions and 27 deletions

View File

@@ -106,7 +106,11 @@
#define XGMTIME(c) gmtime((c))
#define XVALIDATE_DATE(d, f, t) ValidateDate((d), (f), (t))
#elif defined(CYASSL_MDK_ARM)
#include <rtl.h>
#if defined(CYASSL_MDK5)
#include "cmsis_os.h"
#else
#include <rtl.h>
#endif
#undef RNG
#include "cyassl_MDK_ARM.h"
#undef RNG

View File

@@ -75,7 +75,7 @@ void* CyaSSL_Malloc(size_t size)
#ifdef CYASSL_MALLOC_CHECK
if (res == NULL)
printf("CyaSSL_malloc failed\n");
puts("CyaSSL_malloc failed");
#endif
return res;