123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /* wolfssl_demo.h
- *
- * Copyright (C) 2006-2023 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
- * the Free Software Foundation; either version 2 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
- */
- #ifndef WOLFSSL_DEMO_H_
- #define WOLFSSL_DEMO_H_
- /**************************************************/
- /******* DO NOT CHANGE the following order ********/
- /**************************************************/
- /* Include logging header files and define logging macros in the following order:
- * 1. Include the header file "logging_levels.h".
- * 2. Define the LIBRARY_LOG_NAME and LIBRARY_LOG_LEVEL macros depending on
- * the logging configuration for DEMO.
- * 3. Include the header file "logging_stack.h", if logging is enabled for DEMO.
- */
- #include "logging_levels.h"
- /* Logging configuration for the Demo. */
- #ifndef LIBRARY_LOG_NAME
- #define LIBRARY_LOG_NAME "WOLFSSL_Demo"
- #endif
- #ifndef LIBRARY_LOG_LEVEL
- #define LIBRARY_LOG_LEVEL LOG_INFO
- #endif
- #include "logging_stack.h"
- /* Enable wolfcrypt test demo */
- /*#define CRYPT_TEST*/
- /* Enable benchmark demo */
- /*#define BENCHMARK*/
- /* Enable TLS client demo */
- /* cannot enable with other definition */
- #define TLS_CLIENT
- #endif /* WOLFSSL_DEMO_H_ */
|