/* Copyright (C) 2017 Fortanix, Inc. Copyright (C) 2019 Intel Corp. This file is part of Graphene Library OS. Graphene Library OS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Graphene Library OS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef MBEDTLS_CONFIG_H #define MBEDTLS_CONFIG_H #define MBEDTLS_AESNI_C #define MBEDTLS_AES_C #define MBEDTLS_ASN1_PARSE_C #define MBEDTLS_BASE64_C #define MBEDTLS_BIGNUM_C #define MBEDTLS_CIPHER_C #define MBEDTLS_CMAC_C #define MBEDTLS_CTR_DRBG_C #define MBEDTLS_DHM_C #define MBEDTLS_ENTROPY_C #define MBEDTLS_ENTROPY_HARDWARE_ALT #define MBEDTLS_ERROR_C #define MBEDTLS_GCM_C #define MBEDTLS_GENPRIME #define MBEDTLS_HAVE_ASM #define MBEDTLS_HAVE_X86_64 #define MBEDTLS_KEY_EXCHANGE_PSK_ENABLED #define MBEDTLS_MD_C #define MBEDTLS_NET_C #define MBEDTLS_NO_PLATFORM_ENTROPY #define MBEDTLS_OID_C #define MBEDTLS_PKCS1 #define MBEDTLS_PKCS1_V15 #define MBEDTLS_PLATFORM_C #define MBEDTLS_RSA_C #define MBEDTLS_SHA256_C #define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_PSK_WITH_AES_128_GCM_SHA256 #define MBEDTLS_SSL_CLI_C #define MBEDTLS_SSL_PROTO_TLS1_2 #define MBEDTLS_SSL_SRV_C #define MBEDTLS_SSL_TLS_C #define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS #include #include void* calloc(size_t nmem, size_t size); void free(void*); #define MBEDTLS_PLATFORM_STD_CALLOC calloc #define MBEDTLS_PLATFORM_STD_FREE free #define MBEDTLS_PLATFORM_STD_SNPRINTF snprintf #endif