Loading...
Searching...
No Matches
mbedtls_cfg.h
1#pragma once
2
13#define MBEDTLS_HAVE_ASM
14
15#define MBEDTLS_NO_UDBL_DIVISION
16#define MBEDTLS_NO_64BIT_MULTIPLICATION
17
18#define MBEDTLS_DEPRECATED_WARNING
19
20#define MBEDTLS_AES_FEWER_TABLES
21// #define MBEDTLS_CHECK_RETURN_WARNING
22
23#define MBEDTLS_CIPHER_MODE_CBC
24#define MBEDTLS_CIPHER_MODE_CFB
25#define MBEDTLS_CIPHER_MODE_CTR
26#define MBEDTLS_CIPHER_MODE_OFB
27#define MBEDTLS_CIPHER_MODE_XTS
28
29#define MBEDTLS_CIPHER_PADDING_PKCS7
30#define MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
31#define MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
32#define MBEDTLS_CIPHER_PADDING_ZEROS
33
34/* Short Weierstrass curves (supporting ECP, ECDH, ECDSA) */
35// #define MBEDTLS_ECP_DP_SECP192R1_ENABLED
36// #define MBEDTLS_ECP_DP_SECP224R1_ENABLED
37#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
38// #define MBEDTLS_ECP_DP_SECP384R1_ENABLED
39// #define MBEDTLS_ECP_DP_SECP521R1_ENABLED
40// #define MBEDTLS_ECP_DP_SECP192K1_ENABLED
41// #define MBEDTLS_ECP_DP_SECP224K1_ENABLED
42// #define MBEDTLS_ECP_DP_SECP256K1_ENABLED
43// #define MBEDTLS_ECP_DP_BP256R1_ENABLED
44// #define MBEDTLS_ECP_DP_BP384R1_ENABLED
45// #define MBEDTLS_ECP_DP_BP512R1_ENABLED
46/* Montgomery curves (supporting ECP) */
47// #define MBEDTLS_ECP_DP_CURVE25519_ENABLED
48// #define MBEDTLS_ECP_DP_CURVE448_ENABLED
49
50#define MBEDTLS_ECP_NIST_OPTIM
51
52#define MBEDTLS_GENPRIME
53// #define MBEDTLS_PKCS1_V15
54// #define MBEDTLS_PKCS1_V21
55
56#define MBEDTLS_MD_C
57
58#define MBEDTLS_ASN1_PARSE_C
59#define MBEDTLS_ASN1_WRITE_C
60#define MBEDTLS_BASE64_C
61#define MBEDTLS_BIGNUM_C
62#define MBEDTLS_OID_C
63
64// #define MBEDTLS_CHACHA20_C
65// #define MBEDTLS_CHACHAPOLY_C
66#define MBEDTLS_CIPHER_C
67#define MBEDTLS_DES_C
68#define MBEDTLS_DHM_C
69
70#define MBEDTLS_ECDH_C
71
72#define MBEDTLS_ECDSA_C
73#define MBEDTLS_ECP_C
74
75#define MBEDTLS_GCM_C
76
77#define MBEDTLS_AES_C
78#define MBEDTLS_MD5_C
79
80// #define MBEDTLS_PEM_PARSE_C
81// #define MBEDTLS_PEM_WRITE_C
82
83// #define MBEDTLS_PLATFORM_MEMORY
84// #define MBEDTLS_PLATFORM_C
85
86// #define MBEDTLS_RIPEMD160_C
87// #define MBEDTLS_RSA_C
88#define MBEDTLS_SHA224_C
89#define MBEDTLS_SHA256_C
90#define MBEDTLS_SHA1_C
91
92#define MBEDTLS_ERROR_C