Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 1 | /* |
| 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é-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 21 | /* mbed TLS feature support */ |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 22 | #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é-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 30 | /* mbed TLS modules */ |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 31 | #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é-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 37 | #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é-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 42 | #define POLARSSL_OID_C |
| 43 | #define POLARSSL_PADLOCK_C |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 44 | #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é-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 50 | |
| 51 | #include "check_config.h" |
| 52 | |
| 53 | #endif /* POLARSSL_CONFIG_H */ |