CyaSSL changed for NucleoF401RE board: implemented random and time functions for build. (Has trouble with wildcard domains like *.google.com, *.yahoo.com)

Fork of CyaSSL by wolf SSL

Revision:
4:e505054279ed
Parent:
1:f01293e6e7b8
--- a/cyassl/ctaocrypt/settings.h	Wed Dec 03 05:24:18 2014 +0000
+++ b/cyassl/ctaocrypt/settings.h	Wed Jan 14 22:07:14 2015 +0000
@@ -137,21 +137,28 @@
     #endif
 #endif
 
-#ifdef MBED
-    //#define SINGLE_THREADED
+#ifdef MBED    
+    //Required
+    #define USER_TIME //Platform specific time() functions
     #define CYASSL_USER_IO
-    #define NO_FILESYSTEM
-    //#define NO_CERTS
-    //#define USE_CERT_BUFFERS_1024
-    #define NO_WRITEV
-    #define NO_DEV_RANDOM
-    #define NO_SHA512
+    #define NO_WRITEV //Some sort of semantic debugging or something
+    
+    //Mbed-Platform-Specific
+    //#define CYASSL_CMSIS_RTOS //RTOS
+    #define NO_DEV_RANDOM //A random seed generator that should be implemented for full security
+    #define SINGLE_THREADED //Single thread
+    #define NO_FILESYSTEM //Filesystem
+    
+    //Optional
+    #define NO_CERT
+    #define USE_CERT_BUFFERS_1024
+    #define NO_CYASSL_SERVER
+    #define NO_SHA512 //Type of cipher
     #define NO_DH
-    #define NO_DSA
-    #define NO_HC128
-    #define HAVE_ECC
+    #define NO_DSA //Type of encryption format
+    #define NO_HC128 //Type of cipher/encryption suite
+    #define HAVE_ECC //Elliptic Cipher Cryptic
     #define NO_SESSION_CACHE
-    #define CYASSL_CMSIS_RTOS
     #define IGNORE_KEY_EXTENSIONS
     #define DEBUG_CYASSL
 #endif