1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /* 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 <http://www.gnu.org/licenses/>. */
- #ifndef MBEDTLS_CONFIG_H
- #define MBEDTLS_CONFIG_H
- #define MBEDTLS_AES_C
- #define MBEDTLS_AESNI_C
- #define MBEDTLS_BIGNUM_C
- #define MBEDTLS_CIPHER_C
- #define MBEDTLS_CMAC_C
- #define MBEDTLS_DHM_C
- #define MBEDTLS_GENPRIME
- #define MBEDTLS_HAVE_ASM
- #define MBEDTLS_HAVE_X86_64
- #define MBEDTLS_MD_C
- #define MBEDTLS_PKCS1
- #define MBEDTLS_PKCS1_V15
- #define MBEDTLS_OID_C
- #define MBEDTLS_PLATFORM_C
- #define MBEDTLS_RSA_C
- #define MBEDTLS_SHA256_C
- #define MBEDTLS_BASE64_C
- #define MBEDTLS_ASN1_PARSE_C
- #define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
- #include <limits.h>
- #include <stddef.h>
- 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
|