22 #define WOLFSSL_MDK5_COMPLv5 23 #define NO_MAIN_DRIVER 24 #define BENCH_EMBEDDED 26 #define WOLFSSL_USER_CURRTIME 27 #define SIZEOF_LONG_LONG 8 31 #define TFM_TIMING_RESISTANT 32 #define ECC_TIMING_RESISTANT 33 #define WC_RSA_BLINDING 35 #define WOLFSSL_USER_CURRTIME 36 #define WOLFSSL_CURRTIME_OSTICK 37 #define WOLFSSL_GMTIME 38 #define NO_MULTIBYTE_PRINT 44 #define MDK_CONF_MPU 3 47 #elif MDK_CONF_MPU == 1 48 #define WOLFSSL_STM32_CUBEMX 50 #elif MDK_CONF_MPU == 2 51 #define WOLFSSL_STM32_CUBEMX 53 #elif MDK_CONF_MPU == 3 54 #define WOLFSSL_STM32_CUBEMX 63 #define MDK_CONF_THREAD 15 64 #if MDK_CONF_THREAD== 0 65 #define SINGLE_THREADED 66 #elif MDK_CONF_THREAD == 1 68 #elif MDK_CONF_THREAD == 3 69 #define WOLFSSL_SAFERTOS 70 #elif MDK_CONF_THREAD == 4 71 #define USE_WINDOWS_API 72 #elif MDK_CONF_THREAD == 5 73 #define WOLFSSL_PTHREADS 74 #elif MDK_CONF_THREAD == 6 77 #elif MDK_CONF_THREAD == 7 79 #elif MDK_CONF_THREAD == 8 81 #elif MDK_CONF_THREAD == 9 83 #define FREESCALE_KSDK_MQX 84 #elif MDK_CONF_THREAD == 10 85 #define WOLFSSL_TIRTOS 86 #elif MDK_CONF_THREAD == 11 87 #define WOLFSSL_uITRON4 88 #elif MDK_CONF_THREAD == 12 89 #define WOLFSSL_uTKERNEL2 90 #elif MDK_CONF_THREAD == 13 91 #define WOLFSSL_FROSTED 92 #elif MDK_CONF_THREAD == 14 93 #define WOLFSSL_CMSIS_RTOS 94 #elif MDK_CONF_THREAD == 15 95 #define WOLFSSL_CMSIS_RTOSv2 96 #elif MDK_CONF_THREAD == 16 97 #define SINGLE_THREADED 102 #define MDK_CONF_FILESYSTEM 1 103 #if MDK_CONF_FILESYSTEM == 0 104 #define NO_FILESYSTEM 106 #define WOLFSSL_KEIL_FS 107 #define NO_WOLFSSL_DIR 112 #define MDK_CONF_NETWORK 0 113 #if MDK_CONF_NETWORK == 0 114 #elif MDK_CONF_NETWORK == 1 115 #define WOLFSSL_KEIL_TCP_NET 116 #elif MDK_CONF_NETWORK == 2 117 #define WOLFSSL_USER_IO 123 #define MDK_CONF_DebugMessage 0 124 #if MDK_CONF_DebugMessage == 1 125 #define DEBUG_WOLFSSL 129 #define MDK_CONF_CheckMalloc 1 130 #if MDK_CONF_CheckMalloc == 1 131 #define WOLFSSL_MALLOC_CHECK 132 #define USE_WOLFSSL_MEMORY 136 #define MDK_CONF_ErrNo 1 137 #if MDK_CONF_ErrNo == 1 142 #define MDK_CONF_ErrorStrings 1 143 #if MDK_CONF_ErrorStrings == 0 144 #define NO_ERROR_STRINGS 156 #define MDK_CONF_MD2 0 157 #if MDK_CONF_MD2 == 1 162 #define MDK_CONF_MD4 0 163 #if MDK_CONF_MD4 == 0 168 #define MDK_CONF_MD5 1 169 #if MDK_CONF_MD5 == 0 174 #define MDK_CONF_SHA 1 175 #if MDK_CONF_SHA == 0 180 #define MDK_CONF_SHA256 1 181 #if MDK_CONF_SHA256 == 0 186 #define MDK_CONF_SHA384 1 187 #if MDK_CONF_SHA384 == 1 188 #define WOLFSSL_SHA384 192 #define MDK_CONF_SHA512 1 193 #if MDK_CONF_SHA512 == 1 194 #define WOLFSSL_SHA512 198 #define MDK_CONF_HASHDRBG 1 199 #if MDK_CONF_HASHDRBG == 1 200 #define HAVE_HASHDRBG 204 #define MDK_CONF_RIPEMD 1 205 #if MDK_CONF_RIPEMD == 1 206 #define WOLFSSL_RIPEMD 210 #define MDK_CONF_BLAKE2 0 211 #if MDK_CONF_BLAKE2 == 1 216 #define MDK_CONF_HMAC 1 217 #if MDK_CONF_HMAC == 0 222 #define MDK_CONF_HKDF 1 223 #if MDK_CONF_HKDF == 1 229 #define MDK_CONF_AESCCM 1 230 #if MDK_CONF_AESCCM == 1 235 #define MDK_CONF_AESGCM 1 236 #if MDK_CONF_AESGCM == 1 242 #define MDK_CONF_RC4 0 243 #if MDK_CONF_RC4 == 0 249 #define MDK_CONF_HC128 1 250 #if MDK_CONF_HC128 == 0 256 #define MDK_CONF_RABBIT 1 257 #if MDK_CONF_RABBIT == 0 263 #define MDK_CONF_CHACHA 1 264 #if MDK_CONF_CHACHA == 1 270 #define MDK_CONF_POLY1305 1 271 #if MDK_CONF_POLY1305 == 1 272 #define HAVE_POLY1305 273 #define HAVE_ONE_TIME_AUTH 278 #define MDK_CONF_DES3 1 279 #if MDK_CONF_DES3 == 0 285 #define MDK_CONF_AES 1 286 #if MDK_CONF_AES == 0 292 #define MDK_CONF_CAMELLIA 1 293 #if MDK_CONF_CAMELLIA == 1 294 #define HAVE_CAMELLIA 299 #define MDK_CONF_DH 1 305 #define MDK_CONF_DSA 1 306 #if MDK_CONF_DSA == 0 312 #define MDK_CONF_SRP 1 313 #if MDK_CONF_SRP == 1 319 #define MDK_CONF_PWDBASED 1 320 #if MDK_CONF_PWDBASED == 0 326 #define MDK_CONF_ECC 1 327 #if MDK_CONF_ECC == 1 333 #define MDK_CONF_CURVE25519 1 334 #if MDK_CONF_CURVE25519 == 1 335 #define HAVE_CURVE25519 336 #define CURVED25519_SMALL 340 #define MDK_CONF_CURVE25519_SMALL 0 341 #if MDK_CONF_CURVE25519_SMALL == 1 342 #define CURVED25519_SMALL 346 #define MDK_CONF_ED25519 1 347 #if MDK_CONF_ED25519 == 1 352 #define MDK_CONF_ED25519_SMALL 0 353 #if MDK_CONF_ED25519_SMALL == 1 354 #define ED25519_SMALL 358 #define MDK_CONF_PKCS7 0 359 #if MDK_CONF_PKCS7 == 1 365 #define MDK_CONF_NTRU 0 366 #if MDK_CONF_NTRU == 1 373 #define MDK_CONF_RNDSEED 1 374 #if MDK_CONF_RNDSEED == 1 375 #define WOLFSSL_GENSEED_FORTEST 381 #define MDK_CONF_STM32F2_RNG 0 382 #if MDK_CONF_STM32F2_RNG == 1 383 #define WOLFSSL_STM32_CUBEMX 385 #define WC_ASYNC_DEV_SIZE 320+24 386 #define STM32_HAL_TIMEOUT 0xFF 388 #if defined(STM32F2xx) 389 #define WOLFSSL_STM32F2 390 #elif defined(STM32F4xx) 391 #define WOLFSSL_STM32F4 392 #elif defined(STM32F7xx) 393 #define WOLFSSL_STM32F7 399 #define MDK_CONF_STM32F2_CRYPTO 0 400 #if MDK_CONF_STM32F2_CRYPTO == 1 401 #define WOLFSSL_STM32_CUBEMX 403 #define WC_ASYNC_DEV_SIZE 320+24 404 #define STM32_HAL_TIMEOUT 0xFF 406 #if defined(STM32F2xx) 407 #define WOLFSSL_STM32F2 408 #elif defined(STM32F4xx) 409 #define WOLFSSL_STM32F4 410 #elif defined(STM32F7xx) 411 #define WOLFSSL_STM32F7 417 #define MDK_CONF_STM32F2_HASH 0 418 #if MDK_CONF_STM32F2_HASH == 1 419 #define WOLFSSL_STM32_CUBEMX 421 #define WC_ASYNC_DEV_SIZE 320+24 422 #define STM32_HAL_TIMEOUT 0xFF 424 #if defined(STM32F2xx) 425 #define WOLFSSL_STM32F2 426 #elif defined(STM32F4xx) 427 #define WOLFSSL_STM32F4 428 #elif defined(STM32F7xx) 429 #define WOLFSSL_STM32F7 438 #define MDK_CONF_CERT_BUFF 0 439 #if MDK_CONF_CERT_BUFF== 1 440 #define USE_CERT_BUFFERS_1024 441 #elif MDK_CONF_CERT_BUFF == 2 442 #define USE_CERT_BUFFERS_2048 447 #define MDK_CONF_CERT_GEN 0 448 #if MDK_CONF_CERT_GEN == 1 449 #define WOLFSSL_CERT_GEN 453 #define MDK_CONF_KEY_GEN 0 454 #if MDK_CONF_KEY_GEN == 1 455 #define WOLFSSL_KEY_GEN 460 #define MDK_CONF_FASTMATH 1 461 #if MDK_CONF_FASTMATH == 1 462 #define USE_FAST_MATH 463 #define TFM_TIMING_RESISTANT 467 #define MDK_CONF_SmallStack 1 468 #if MDK_CONF_SmallStack == 0 469 #define NO_WOLFSSL_SMALL_STACK 481 #define MDK_CONF_TLS 1 482 #if MDK_CONF_TLS == 1 483 #define WOLFSSL_TLS13 484 #define HAVE_TLS_EXTENSIONS 485 #define HAVE_SUPPORTED_CURVES 488 #define HAVE_FFDHE_2048 493 #define MDK_CONF_NO_OLDTLS 0 494 #if MDK_CONF_NO_OLDTLS == 0 499 #define MDK_CONF_CRL 0 500 #if MDK_CONF_CRL == 1 502 #define WOLFSSL_DER_LOAD 506 #define MDK_CONF_OCSP 0 507 #if MDK_CONF_OCSP == 1 512 #define MDK_CONF_OPENSSL_EXTRA 0 513 #if MDK_CONF_OPENSSL_EXTRA == 1 514 #define OPENSSL_EXTRA