Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 1 | /* |
Manuel Pégourié-Gonnard | 8119dad | 2015-08-06 10:59:26 +0200 | [diff] [blame^] | 2 | * Reduced configuration used by Picocoin. |
| 3 | * |
| 4 | * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved |
| 5 | * |
| 6 | * This file is part of mbed TLS (https://tls.mbed.org) |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License along |
| 19 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 20 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 21 | */ |
| 22 | /* |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 23 | * Reduced configuration used by Picocoin. |
| 24 | * |
| 25 | * See README.txt for usage instructions. |
| 26 | * |
| 27 | * Distinguishing features: |
| 28 | * - no SSL/TLS; |
| 29 | * - no X.509; |
| 30 | * - ECDSA/PK and some other chosen crypto bits. |
| 31 | */ |
| 32 | |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 33 | #ifndef MBEDTLS_CONFIG_H |
| 34 | #define MBEDTLS_CONFIG_H |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 35 | |
| 36 | /* System support */ |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 37 | #define MBEDTLS_HAVE_ASM |
| 38 | #define MBEDTLS_HAVE_TIME |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 39 | |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 40 | /* mbed TLS feature support */ |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 41 | #define MBEDTLS_CIPHER_MODE_CBC |
| 42 | #define MBEDTLS_CIPHER_PADDING_PKCS7 |
| 43 | #define MBEDTLS_ECP_DP_SECP256K1_ENABLED |
| 44 | #define MBEDTLS_ECDSA_DETERMINISTIC |
| 45 | #define MBEDTLS_PK_PARSE_EC_EXTENDED |
| 46 | #define MBEDTLS_ERROR_STRERROR_DUMMY |
| 47 | #define MBEDTLS_FS_IO |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 48 | |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 49 | /* mbed TLS modules */ |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 50 | #define MBEDTLS_AESNI_C |
| 51 | #define MBEDTLS_AES_C |
| 52 | #define MBEDTLS_ASN1_PARSE_C |
| 53 | #define MBEDTLS_ASN1_WRITE_C |
| 54 | #define MBEDTLS_BASE64_C |
| 55 | #define MBEDTLS_BIGNUM_C |
| 56 | #define MBEDTLS_ECDSA_C |
| 57 | #define MBEDTLS_ECP_C |
| 58 | #define MBEDTLS_ENTROPY_C |
| 59 | #define MBEDTLS_HMAC_DRBG_C |
| 60 | #define MBEDTLS_MD_C |
| 61 | #define MBEDTLS_OID_C |
| 62 | #define MBEDTLS_PADLOCK_C |
| 63 | #define MBEDTLS_PK_C |
| 64 | #define MBEDTLS_PK_PARSE_C |
| 65 | #define MBEDTLS_PK_WRITE_C |
| 66 | #define MBEDTLS_RIPEMD160_C |
| 67 | #define MBEDTLS_SHA1_C |
| 68 | #define MBEDTLS_SHA256_C |
Manuel Pégourié-Gonnard | 43b2986 | 2014-06-24 11:25:43 +0200 | [diff] [blame] | 69 | |
| 70 | #include "check_config.h" |
| 71 | |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 72 | #endif /* MBEDTLS_CONFIG_H */ |