blob: 57b8005df8c691e33c0316e2a44654008f107e29 [file] [log] [blame]
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +02001/*
2 * Reduced configuration used by Picocoin.
3 *
4 * See README.txt for usage instructions.
5 *
6 * Distinguishing features:
7 * - no SSL/TLS;
8 * - no X.509;
9 * - ECDSA/PK and some other chosen crypto bits.
10 */
11
12#ifndef POLARSSL_CONFIG_H
13#define POLARSSL_CONFIG_H
14
15/* System support */
16#define POLARSSL_HAVE_LONGLONG
17#define POLARSSL_HAVE_ASM
18#define POLARSSL_HAVE_TIME
19#define POLARSSL_HAVE_IPV6
20
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000021/* mbed TLS feature support */
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +020022#define POLARSSL_CIPHER_MODE_CBC
23#define POLARSSL_CIPHER_PADDING_PKCS7
24#define POLARSSL_ECP_DP_SECP256K1_ENABLED
25#define POLARSSL_ECDSA_DETERMINISTIC
26#define POLARSSL_PK_PARSE_EC_EXTENDED
27#define POLARSSL_ERROR_STRERROR_DUMMY
28#define POLARSSL_FS_IO
29
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000030/* mbed TLS modules */
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +020031#define POLARSSL_AESNI_C
32#define POLARSSL_AES_C
33#define POLARSSL_ASN1_PARSE_C
34#define POLARSSL_ASN1_WRITE_C
35#define POLARSSL_BASE64_C
36#define POLARSSL_BIGNUM_C
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +020037#define POLARSSL_ECDSA_C
38#define POLARSSL_ECP_C
39#define POLARSSL_ENTROPY_C
40#define POLARSSL_HMAC_DRBG_C
41#define POLARSSL_MD_C
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +020042#define POLARSSL_OID_C
43#define POLARSSL_PADLOCK_C
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +020044#define POLARSSL_PK_C
45#define POLARSSL_PK_PARSE_C
46#define POLARSSL_PK_WRITE_C
47#define POLARSSL_RIPEMD160_C
48#define POLARSSL_SHA1_C
49#define POLARSSL_SHA256_C
Manuel Pégourié-Gonnard43b29862014-06-24 11:25:43 +020050
51#include "check_config.h"
52
53#endif /* POLARSSL_CONFIG_H */