cleanup library and some basic tests. Includes, add guards to includes

This commit is contained in:
Rich Evans 2015-02-06 13:43:58 +00:00
parent e83ac1d7d1
commit 00ab47026b
100 changed files with 284 additions and 192 deletions

View file

@ -33,6 +33,8 @@
#include POLARSSL_CONFIG_FILE
#endif
#include <stddef.h>
#if defined(POLARSSL_GCM_C) || defined(POLARSSL_CCM_C)
#define POLARSSL_CIPHER_MODE_AEAD
#endif
@ -41,8 +43,6 @@
#define POLARSSL_CIPHER_MODE_WITH_PADDING
#endif
#include <string.h>
#if defined(_MSC_VER) && !defined(inline)
#define inline _inline
#else