Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
BaSharkSslOpt.h
1/*
2 * ____ _________ __ _
3 * / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____
4 * / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/
5 * / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__
6 * /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/
7 * /____/
8 *
9 * Barracuda Embedded Web-Server
10 *
11 ****************************************************************************
12 * HEADER
13 *
14 * $Id$
15 *
16 * COPYRIGHT: Real Time Logic LLC, 2023
17 *
18 * This software is copyrighted by and is the sole property of Real
19 * Time Logic LLC. All rights, title, ownership, or other interests in
20 * the software remain the property of Real Time Logic LLC. This
21 * software may only be used in accordance with the terms and
22 * conditions stipulated in the corresponding license agreement under
23 * which the software has been supplied. Any unauthorized use,
24 * duplication, transmission, distribution, or disclosure of this
25 * software is expressly forbidden.
26 *
27 * This Copyright notice may not be removed or modified without prior
28 * written consent of Real Time Logic LLC.
29 *
30 * Real Time Logic LLC. reserves the right to modify this software
31 * without notice.
32 *
33 * http://www.realtimelogic.com
34 ****************************************************************************
35 *
36 * This header file, included by all the 'arch' TargConfig.h headers,
37 * sets default SharkSSL settings for BAS.
38 */
39
40#ifndef _TargConfig_h
41#error Only TargConfig.h should include this header file
42#endif
43
44#if 1
45#ifndef SHARKSSL_ENABLE_ASN1_KEY_CREATION
46#define SHARKSSL_ENABLE_ASN1_KEY_CREATION 1
47#endif
48#ifndef SHARKSSL_ENABLE_RSAKEY_CREATE
49#define SHARKSSL_ENABLE_RSAKEY_CREATE 1
50#endif
51#ifndef SHARKSSL_ENABLE_ECCKEY_CREATE
52#define SHARKSSL_ENABLE_ECCKEY_CREATE 1
53#endif
54#ifndef SHARKSSL_ENABLE_CSR_CREATION
55#define SHARKSSL_ENABLE_CSR_CREATION 1
56#endif
57#ifndef SHARKSSL_ENABLE_CSR_SIGNING
58#define SHARKSSL_ENABLE_CSR_SIGNING 1
59#endif
60#endif
61
62#ifndef SHARKSSL_USE_SHA_512
63#define SHARKSSL_USE_SHA_512 1
64#endif
65
66#ifndef SHARKSSL_ECC_USE_SECP256R1
67#define SHARKSSL_ECC_USE_SECP256R1 1
68#endif
69#ifndef SHARKSSL_ECC_USE_SECP384R1
70#define SHARKSSL_ECC_USE_SECP384R1 1
71#endif
72#ifndef SHARKSSL_ECC_USE_SECP521R1
73#define SHARKSSL_ECC_USE_SECP521R1 1
74#endif
75#ifndef SHARKSSL_ECC_USE_BRAINPOOLP256R1
76#define SHARKSSL_ECC_USE_BRAINPOOLP256R1 1
77#endif
78#ifndef SHARKSSL_ECC_USE_BRAINPOOLP384R1
79#define SHARKSSL_ECC_USE_BRAINPOOLP384R1 1
80#endif
81#ifndef SHARKSSL_ECC_USE_BRAINPOOLP512R1
82#define SHARKSSL_ECC_USE_BRAINPOOLP512R1 1
83#endif
84
85#ifndef SHARKSSL_ENABLE_RSA_OAEP
86#define SHARKSSL_ENABLE_RSA_OAEP 1
87#endif
88
89
90