22 #define NO_MAIN_DRIVER 23 #define BENCH_EMBEDDED 25 #define WOLFSSL_USER_CURRTIME 26 #define SIZEOF_LONG_LONG 8 30 #define TFM_TIMING_RESISTANT 31 #define ECC_TIMING_RESISTANT 32 #define WC_RSA_BLINDING 34 #define WOLFSSL_USER_CURRTIME 35 #define WOLFSSL_CURRTIME_OSTICK 36 #define WOLFSSL_GMTIME 37 #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 14 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 SINGLE_THREADED 100 #define MDK_CONF_FILESYSTEM 1 101 #if MDK_CONF_FILESYSTEM == 0 102 #define NO_FILESYSTEM 104 #define WOLFSSL_KEIL_FS 105 #define NO_WOLFSSL_DIR 110 #define MDK_CONF_NETWORK 1 111 #if MDK_CONF_NETWORK == 0 112 #elif MDK_CONF_NETWORK == 1 113 #define WOLFSSL_KEIL_TCP_NET 114 #elif MDK_CONF_NETWORK == 2 115 #define WOLFSSL_USER_IO 121 #define MDK_CONF_DebugMessage 0 122 #if MDK_CONF_DebugMessage == 1 123 #define DEBUG_WOLFSSL 127 #define MDK_CONF_CheckMalloc 1 128 #if MDK_CONF_CheckMalloc == 1 129 #define WOLFSSL_MALLOC_CHECK 130 #define USE_WOLFSSL_MEMORY 134 #define MDK_CONF_ErrNo 1 135 #if MDK_CONF_ErrNo == 1 140 #define MDK_CONF_ErrorStrings 1 141 #if MDK_CONF_ErrorStrings == 0 142 #define NO_ERROR_STRINGS 154 #define MDK_CONF_MD2 0 155 #if MDK_CONF_MD2 == 1 160 #define MDK_CONF_MD4 0 161 #if MDK_CONF_MD4 == 0 166 #define MDK_CONF_MD5 1 167 #if MDK_CONF_MD5 == 0 172 #define MDK_CONF_SHA 1 173 #if MDK_CONF_SHA == 0 178 #define MDK_CONF_SHA256 1 179 #if MDK_CONF_SHA256 == 0 184 #define MDK_CONF_SHA384 1 185 #if MDK_CONF_SHA384 == 1 186 #define WOLFSSL_SHA384 190 #define MDK_CONF_SHA512 1 191 #if MDK_CONF_SHA512 == 1 192 #define WOLFSSL_SHA512 196 #define MDK_CONF_HASHDRBG 1 197 #if MDK_CONF_HASHDRBG == 1 198 #define HAVE_HASHDRBG 202 #define MDK_CONF_RIPEMD 1 203 #if MDK_CONF_RIPEMD == 1 204 #define WOLFSSL_RIPEMD 208 #define MDK_CONF_BLAKE2 0 209 #if MDK_CONF_BLAKE2 == 1 214 #define MDK_CONF_HMAC 1 215 #if MDK_CONF_HMAC == 0 220 #define MDK_CONF_HKDF 1 221 #if MDK_CONF_HKDF == 1 227 #define MDK_CONF_AESCCM 1 228 #if MDK_CONF_AESCCM == 1 233 #define MDK_CONF_AESGCM 1 234 #if MDK_CONF_AESGCM == 1 240 #define MDK_CONF_RC4 0 241 #if MDK_CONF_RC4 == 0 247 #define MDK_CONF_HC128 1 248 #if MDK_CONF_HC128 == 0 254 #define MDK_CONF_RABBIT 1 255 #if MDK_CONF_RABBIT == 0 261 #define MDK_CONF_CHACHA 1 262 #if MDK_CONF_CHACHA == 1 268 #define MDK_CONF_POLY1305 1 269 #if MDK_CONF_POLY1305 == 1 270 #define HAVE_POLY1305 271 #define HAVE_ONE_TIME_AUTH 276 #define MDK_CONF_DES3 1 277 #if MDK_CONF_DES3 == 0 283 #define MDK_CONF_AES 1 284 #if MDK_CONF_AES == 0 290 #define MDK_CONF_CAMELLIA 1 291 #if MDK_CONF_CAMELLIA == 1 292 #define HAVE_CAMELLIA 297 #define MDK_CONF_DH 1 303 #define MDK_CONF_DSA 1 304 #if MDK_CONF_DSA == 0 310 #define MDK_CONF_SRP 1 311 #if MDK_CONF_SRP == 1 317 #define MDK_CONF_PWDBASED 1 318 #if MDK_CONF_PWDBASED == 0 324 #define MDK_CONF_ECC 1 325 #if MDK_CONF_ECC == 1 331 #define MDK_CONF_CURVE25519 1 332 #if MDK_CONF_CURVE25519 == 1 333 #define HAVE_CURVE25519 334 #define CURVED25519_SMALL 338 #define MDK_CONF_CURVE25519_SMALL 0 339 #if MDK_CONF_CURVE25519_SMALL == 1 340 #define CURVED25519_SMALL 344 #define MDK_CONF_ED25519 1 345 #if MDK_CONF_ED25519 == 1 350 #define MDK_CONF_ED25519_SMALL 0 351 #if MDK_CONF_ED25519_SMALL == 1 352 #define ED25519_SMALL 356 #define MDK_CONF_PKCS7 0 357 #if MDK_CONF_PKCS7 == 1 363 #define MDK_CONF_NTRU 0 364 #if MDK_CONF_NTRU == 1 371 #define MDK_CONF_RNDSEED 1 372 #if MDK_CONF_RNDSEED == 1 373 #define WOLFSSL_GENSEED_FORTEST 379 #define MDK_CONF_STM32F2_RNG 0 380 #if MDK_CONF_STM32F2_RNG == 1 381 #define WOLFSSL_STM32_CUBEMX 383 #define WC_ASYNC_DEV_SIZE 320+24 384 #define STM32_HAL_TIMEOUT 0xFF 386 #if defined(STM32F2xx) 387 #define WOLFSSL_STM32F2 388 #elif defined(STM32F4xx) 389 #define WOLFSSL_STM32F4 390 #elif defined(STM32F7xx) 391 #define WOLFSSL_STM32F7 397 #define MDK_CONF_STM32F2_CRYPTO 0 398 #if MDK_CONF_STM32F2_CRYPTO == 1 399 #define WOLFSSL_STM32_CUBEMX 401 #define WC_ASYNC_DEV_SIZE 320+24 402 #define STM32_HAL_TIMEOUT 0xFF 404 #if defined(STM32F2xx) 405 #define WOLFSSL_STM32F2 406 #elif defined(STM32F4xx) 407 #define WOLFSSL_STM32F4 408 #elif defined(STM32F7xx) 409 #define WOLFSSL_STM32F7 415 #define MDK_CONF_STM32F2_HASH 0 416 #if MDK_CONF_STM32F2_HASH == 1 417 #define WOLFSSL_STM32_CUBEMX 419 #define WC_ASYNC_DEV_SIZE 320+24 420 #define STM32_HAL_TIMEOUT 0xFF 422 #if defined(STM32F2xx) 423 #define WOLFSSL_STM32F2 424 #elif defined(STM32F4xx) 425 #define WOLFSSL_STM32F4 426 #elif defined(STM32F7xx) 427 #define WOLFSSL_STM32F7 436 #define MDK_CONF_CERT_BUFF 0 437 #if MDK_CONF_CERT_BUFF== 1 438 #define USE_CERT_BUFFERS_1024 439 #elif MDK_CONF_CERT_BUFF == 2 440 #define USE_CERT_BUFFERS_2048 445 #define MDK_CONF_CERT_GEN 0 446 #if MDK_CONF_CERT_GEN == 1 447 #define WOLFSSL_CERT_GEN 451 #define MDK_CONF_KEY_GEN 0 452 #if MDK_CONF_KEY_GEN == 1 453 #define WOLFSSL_KEY_GEN 458 #define MDK_CONF_FASTMATH 1 459 #if MDK_CONF_FASTMATH == 1 460 #define USE_FAST_MATH 461 #define TFM_TIMING_RESISTANT 465 #define MDK_CONF_SmallStack 1 466 #if MDK_CONF_SmallStack == 0 467 #define NO_WOLFSSL_SMALL_STACK 479 #define MDK_CONF_TLS 1 480 #if MDK_CONF_TLS == 1 481 #define WOLFSSL_TLS13 482 #define HAVE_TLS_EXTENSIONS 483 #define HAVE_SUPPORTED_CURVES 486 #define HAVE_FFDHE_2048 491 #define MDK_CONF_NO_OLDTLS 0 492 #if MDK_CONF_NO_OLDTLS == 0 497 #define MDK_CONF_CRL 0 498 #if MDK_CONF_CRL == 1 500 #define WOLFSSL_DER_LOAD 504 #define MDK_CONF_OCSP 0 505 #if MDK_CONF_OCSP == 1 510 #define MDK_CONF_OPENSSL_EXTRA 0 511 #if MDK_CONF_OPENSSL_EXTRA == 1 512 #define OPENSSL_EXTRA