Move to new header style for ALT implementations

See https://github.com/ARMmbed/mbedtls-restricted/pull/357
This commit is contained in:
Manuel Pégourié-Gonnard 2018-05-22 15:22:07 +02:00
parent c0893122df
commit 0960b80d53

View File

@ -70,6 +70,10 @@ typedef struct
} }
mbedtls_aria_context; mbedtls_aria_context;
#else /* MBEDTLS_ARIA_ALT */
#include "aria_alt.h"
#endif /* MBEDTLS_ARIA_ALT */
/** /**
* \brief This function initializes the specified ARIA context. * \brief This function initializes the specified ARIA context.
* *
@ -286,18 +290,6 @@ int mbedtls_aria_crypt_ctr( mbedtls_aria_context *ctx,
unsigned char *output ); unsigned char *output );
#endif /* MBEDTLS_CIPHER_MODE_CTR */ #endif /* MBEDTLS_CIPHER_MODE_CTR */
#ifdef __cplusplus
}
#endif
#else /* MBEDTLS_ARIA_ALT */
#include "aria_alt.h"
#endif /* MBEDTLS_ARIA_ALT */
#ifdef __cplusplus
extern "C" {
#endif
#if defined(MBEDTLS_SELF_TEST) #if defined(MBEDTLS_SELF_TEST)
/** /**
* \brief Checkup routine. * \brief Checkup routine.