My Project
Loading...
Searching...
No Matches
wolfssl_demo.h
1/* wolfssl_demo.h
2 *
3 * Copyright (C) 2006-2020 wolfSSL Inc.
4 *
5 * This file is part of wolfSSL.
6 *
7 * wolfSSL is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * wolfSSL is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20 */
21
22#ifndef WOLFSSL_DEMO_H_
23#define WOLFSSL_DEMO_H_
24
25#define FREQ 10000 /* Hz */
26
27/* Enable wolfcrypt test */
28/* can be enabled with benchmark test */
29/* #define CRYPT_TEST */
30
31/* Enable benchmark */
32/* can be enabled with cyrpt test */
33/* #define BENCHMARK */
34
35/* Enable TLS client */
36/* cannot enable with other definition */
37/* #define TLS_CLIENT */
38
39/* Enable TLS server */
40/* cannot enable with other definition */
41/* #define TLS_SERVER */
42
43void wolfSSL_TLS_client_init();
44void wolfSSL_TLS_client();
45void wolfSSL_TLS_server_init();
46void wolfSSL_TLS_server();
47
48#endif /* WOLFSSL_DEMO_H_ */