| /**************************************************************************** |
| * apps/include/crypto/mbedtls_config.h |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. The |
| * ASF licenses this file to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance with the |
| * License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| * License for the specific language governing permissions and limitations |
| * under the License. |
| * |
| ****************************************************************************/ |
| |
| #ifndef __APPS_INCLUDE_CRYPTO_MBEDTLS_CONFIG_H |
| #define __APPS_INCLUDE_CRYPTO_MBEDTLS_CONFIG_H |
| |
| /**************************************************************************** |
| * Included Files |
| ****************************************************************************/ |
| |
| #include <nuttx/config.h> |
| |
| /**************************************************************************** |
| * Pre-processor Definitions |
| ****************************************************************************/ |
| |
| /* System support */ |
| #define MBEDTLS_HAVE_TIME |
| |
| /* Debug */ |
| #define MBEDTLS_SELF_TEST |
| #define MBEDTLS_TIMING_C |
| |
| /* Feature support */ |
| #define MBEDTLS_CIPHER_MODE_CBC |
| #define MBEDTLS_PKCS1_V15 |
| #define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED |
| #define MBEDTLS_SSL_PROTO_TLS1_2 |
| |
| /* Modules */ |
| #define MBEDTLS_AES_C |
| #define MBEDTLS_ASN1_PARSE_C |
| #define MBEDTLS_ASN1_WRITE_C |
| #define MBEDTLS_BIGNUM_C |
| #define MBEDTLS_CIPHER_C |
| #define MBEDTLS_CTR_DRBG_C |
| #define MBEDTLS_DES_C |
| #define MBEDTLS_ENTROPY_C |
| #define MBEDTLS_MD_C |
| #define MBEDTLS_MD5_C |
| |
| #ifdef CONFIG_NET |
| #define MBEDTLS_NET_C |
| #endif |
| |
| #define MBEDTLS_OID_C |
| #define MBEDTLS_PK_C |
| #define MBEDTLS_PK_PARSE_C |
| #define MBEDTLS_RSA_C |
| #define MBEDTLS_SHA1_C |
| #define MBEDTLS_SHA224_C |
| #define MBEDTLS_SHA256_C |
| #define MBEDTLS_SSL_CLI_C |
| #define MBEDTLS_SSL_SRV_C |
| #define MBEDTLS_SSL_TLS_C |
| #define MBEDTLS_X509_CRT_PARSE_C |
| #define MBEDTLS_X509_USE_C |
| |
| #define MBEDTLS_BASE64_C |
| #define MBEDTLS_CERTS_C |
| #define MBEDTLS_PEM_PARSE_C |
| |
| #define MBEDTLS_FS_IO |
| |
| #endif /* __APPS_INCLUDE_CRYPTO_MBEDTLS_CONFIG_H */ |