Files
wolfssl/IDE/Renesas/e2studio/Projects/common/user_settings.h
T

87 lines
2.5 KiB
C
Raw Normal View History

/* user_settings.h
*
2026-02-18 09:52:21 -07:00
* Copyright (C) 2006-2026 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
2025-07-10 16:01:52 -06:00
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* wolfSSL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
2018-08-28 17:56:55 +09:00
#define NO_MAIN_DRIVER
#define BENCH_EMBEDDED
#define NO_WRITEV
#define WOLFSSL_USER_IO
#define NO_DEV_RANDOM
#define USE_CERT_BUFFERS_2048
#define WOLFSSL_USER_CURRTIME
#define SIZEOF_LONG_LONG 8
#define NO_WOLFSSL_DIR
2018-08-28 17:56:55 +09:00
#define WOLFSSL_NO_CURRDIR
#define NO_FILESYSTEM
#define WOLFSSL_LOG_PRINTF
2019-08-19 17:32:22 +09:00
#define WOLFSSL_HAVE_MIN
#define WOLFSSL_HAVE_MAX
#if !defined(min)
#define min(data1, data2) _builtin_min(data1, data2)
#endif
2018-08-28 17:56:55 +09:00
#define WOLFSSL_SMALL_STACK
#define WOLFSSL_DH_CONST
#define HAVE_TLS_EXTENSIONS
#define HAVE_SUPPORTED_CURVES
#define USER_TIME
#define XTIME time
#define USE_WOLF_SUSECONDS_T
#define USE_WOLF_TIMEVAL_T
#define WOLFSSL_USER_CURRTIME /* for benchmark */
#define TFM_TIMING_RESISTANT
#define ECC_TIMING_RESISTANT
#define WC_RSA_BLINDING
#define SINGLE_THREADED /* or define RTOS option */
2019-08-19 17:32:22 +09:00
#ifndef SINGLE_THREADED
/* expects use FRERRTOS */
#define FREERTOS
#endif
2018-08-28 17:56:55 +09:00
/* #define NO_DH */
#define HAVE_AESGCM
#define WOLFSSL_SHA512
#define HAVE_ECC
#define HAVE_CURVE25519
#define CURVE25519_SMALL
#define HAVE_ED25519
/* #define NO_WOLFSSL_STUB */
2019-08-19 17:32:22 +09:00
/* #define DEBUG_WOLFSSL */
/* TSIP TLS specific definitions */
#if !defined(WOLFSSL_RENESAS_TSIP)
#define OPENSSL_EXTRA
2019-09-17 10:42:33 +09:00
#define WOLFSSL_GENSEED_FORTEST /* Warning: define your own seed gen */
2019-08-19 17:32:22 +09:00
#else
#if defined(WOLFSSL_RENESAS_RX65N)
2019-09-17 10:42:33 +09:00
/* In the case of Static RSA and AES-CBC use */
2019-08-19 17:32:22 +09:00
#define HAVE_AES_CBC
2019-09-17 10:42:33 +09:00
/* TSIP ver 1.0.6 or lower supports only static RSA as Public-key cryptography. */
2019-08-19 17:32:22 +09:00
#define WOLFSSL_STATIC_RSA
2019-08-28 18:48:25 +09:00
/* for disabling TSIP CRYPT and TSIP TLS */
/* #define NO_RENESAS_TSIP_CRYPT */
/* for disabling only TSIP TLS-linked Common key encryption method */
2019-08-19 17:32:22 +09:00
/* #define NO_WOLFSSL_RENESAS_TSIP_TLS_SESSION */
#endif
#endif