Arcola / mbedtls

Fork of mbedtls by Mark Radbourne

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config-picocoin.h Source File

config-picocoin.h

00001 /*
00002  *  Reduced configuration used by Picocoin.
00003  *
00004  *  Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
00005  *  SPDX-License-Identifier: Apache-2.0
00006  *
00007  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
00008  *  not use this file except in compliance with the License.
00009  *  You may obtain a copy of the License at
00010  *
00011  *  http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  *  Unless required by applicable law or agreed to in writing, software
00014  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00015  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  *  See the License for the specific language governing permissions and
00017  *  limitations under the License.
00018  *
00019  *  This file is part of mbed TLS (https://tls.mbed.org)
00020  */
00021 /*
00022  * Reduced configuration used by Picocoin.
00023  *
00024  * See README.txt for usage instructions.
00025  *
00026  * Distinguishing features:
00027  * - no SSL/TLS;
00028  * - no X.509;
00029  * - ECDSA/PK and some other chosen crypto bits.
00030  */
00031 
00032 #ifndef MBEDTLS_CONFIG_H
00033 #define MBEDTLS_CONFIG_H
00034 
00035 /* System support */
00036 #define MBEDTLS_HAVE_ASM
00037 #define MBEDTLS_HAVE_TIME
00038 
00039 /* mbed TLS feature support */
00040 #define MBEDTLS_CIPHER_MODE_CBC
00041 #define MBEDTLS_CIPHER_PADDING_PKCS7
00042 #define MBEDTLS_ECP_DP_SECP256K1_ENABLED
00043 #define MBEDTLS_ECDSA_DETERMINISTIC
00044 #define MBEDTLS_PK_PARSE_EC_EXTENDED
00045 #define MBEDTLS_ERROR_STRERROR_DUMMY
00046 #define MBEDTLS_FS_IO
00047 
00048 /* mbed TLS modules */
00049 #define MBEDTLS_AESNI_C
00050 #define MBEDTLS_AES_C
00051 #define MBEDTLS_ASN1_PARSE_C
00052 #define MBEDTLS_ASN1_WRITE_C
00053 #define MBEDTLS_BASE64_C
00054 #define MBEDTLS_BIGNUM_C
00055 #define MBEDTLS_ECDSA_C
00056 #define MBEDTLS_ECP_C
00057 #define MBEDTLS_ENTROPY_C
00058 #define MBEDTLS_HMAC_DRBG_C
00059 #define MBEDTLS_MD_C
00060 #define MBEDTLS_OID_C
00061 #define MBEDTLS_PADLOCK_C
00062 #define MBEDTLS_PK_C
00063 #define MBEDTLS_PK_PARSE_C
00064 #define MBEDTLS_PK_WRITE_C
00065 #define MBEDTLS_RIPEMD160_C
00066 #define MBEDTLS_SHA1_C
00067 #define MBEDTLS_SHA256_C
00068 
00069 #include "mbedtls/check_config.h"
00070 
00071 #endif /* MBEDTLS_CONFIG_H */