Move to new header style for ALT implementations
See https://github.com/ARMmbed/mbedtls-restricted/pull/357
diff --git a/include/mbedtls/aria.h b/include/mbedtls/aria.h
index ea68ae9..4bb1fc2 100644
--- a/include/mbedtls/aria.h
+++ b/include/mbedtls/aria.h
@@ -70,6 +70,10 @@
}
mbedtls_aria_context;
+#else /* MBEDTLS_ARIA_ALT */
+#include "aria_alt.h"
+#endif /* MBEDTLS_ARIA_ALT */
+
/**
* \brief This function initializes the specified ARIA context.
*
@@ -286,18 +290,6 @@
unsigned char *output );
#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)
/**
* \brief Checkup routine.