SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSSL_opts.h
Go to the documentation of this file.
1
2
/*
3
4
SharkSSL_opts.h is a user file that you can use to configure
5
SharkSSL. You do not need to define every option that is defined in
6
the main configuration file SharkSSL_cfg.h; if you do not define an
7
option, a default value will be used. In other words, SharkSSL_opts.h
8
provides a way to override the default configuration options for
9
SharkSSL.
10
11
*/
12
13
/*
14
The following options configure the smallest possible SharkSSL library:
15
*/
16
17
#ifdef SHARKSSL_TINY
/* DEFAULT value in SharkSsl_cfg.h */
18
19
#define SHARKSSL_USE_AES_256 0
/* 1 */
20
#define SHARKSSL_ENABLE_AES_GCM 0
/* 1 */
21
#define SHARKSSL_USE_SHA_384 0
/* 1 */
22
#define SHARKSSL_USE_SHA_512 0
/* 0 */
23
#define SHARKSSL_SSL_SERVER_CODE 0
/* 1 */
24
#define SHARKSSL_ENABLE_CLIENT_AUTH 0
/* 1 */
25
#define SHARKSSL_ENABLE_SNI 1
/* 1 */
26
#define SHARKSSL_ENABLE_RSA 0
/* 1 */
27
#define SHARKSSL_ENABLE_SESSION_CACHE 0
/* 1 */
28
#define SHARKSSL_ENABLE_SECURE_RENEGOTIATION 0
/* 1 */
29
#define SHARKSSL_ENABLE_DHE_RSA 0
/* 1 */
30
#define SHARKSSL_ENABLE_SELECT_CIPHERSUITE 0
/* 1 */
31
#define SHARKSSL_ENABLE_ALPN_EXTENSION 1
/* 1 */
32
#define SHARKSSL_ENABLE_RSA_API 0
/* 0 */
33
#define SHARKSSL_ENABLE_RSA_PKCS1 0
/* 1 */
34
#define SHARKSSL_ENABLE_ECDSA_API 0
/* 1 */
35
#define SHARKSSL_ENABLE_PEM_API 0
/* 1 */
36
#define SHARKSSL_ENABLE_INFO_API 0
/* 1 */
37
#define SHARKSSL_ENABLE_CERT_CHAIN 0
/* 1 */
38
#define SHARKSSL_ENABLE_CA_LIST 1
/* 1 */
39
#define SHARKSSL_ENABLE_CERTSTORE_API 0
/* 0 */
40
#define SHARKSSL_SHA256_SMALL_FOOTPRINT 1
/* 0 */
41
#define SHARKSSL_BIGINT_EXP_SLIDING_WINDOW_K 1
/* 4 */
42
#define SHARKSSL_ENABLE_AES_CTR_MODE 0
/* 1 */
43
#define SHARKSSL_AES_CIPHER_LOOP_UNROLL 0
/* 1 */
44
#define SHARKSSL_UNALIGNED_ACCESS 1
/* nd */
45
#define SHARKSSL_BIGINT_WORDSIZE 32
/* 32 */
46
#define SHARKSSL_USE_ECC 1
/* 1 */
47
#define SHARKSSL_ENABLE_ECDSA 1
/* 1 */
48
#define SHARKSSL_ECC_VERIFY_POINT 0
/* 1 */
49
#define SHARKSSL_ECC_TIMING_RESISTANT 0
/* 0 */
50
#define SHARKSSL_ECC_USE_SECP521R1 0
/* 1 */
51
#define SHARKSSL_ECC_USE_BRAINPOOLP512R1 0
/* 1 */
52
#define SHARKSSL_ENABLE_ECDHE_RSA 0
/* 1 */
53
#define SHARKSSL_USE_RNG_TINYMT 1
/* 0 */
54
55
56
#ifndef BASIC_TRUST_CHECK
57
#define BASIC_TRUST_CHECK
58
#endif
59
60
#endif
inc
SharkSSL_opts.h
SharkSSL
C/C++ reference | Doxygen 1.9.4