mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 08:24:11 -04:00
Remove MBEDTLS_ARIA_ALT
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
e9fe311ea6
commit
064f1df98f
@ -350,7 +350,6 @@
|
|||||||
*/
|
*/
|
||||||
//#define MBEDTLS_TIMING_ALT
|
//#define MBEDTLS_TIMING_ALT
|
||||||
|
|
||||||
//#define MBEDTLS_ARIA_ALT
|
|
||||||
//#define MBEDTLS_CMAC_ALT
|
//#define MBEDTLS_CMAC_ALT
|
||||||
//#define MBEDTLS_DES_ALT
|
//#define MBEDTLS_DES_ALT
|
||||||
//#define MBEDTLS_NIST_KW_ALT
|
//#define MBEDTLS_NIST_KW_ALT
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
/* aria_alt.h with dummy types for MBEDTLS_ARIA_ALT */
|
|
||||||
/*
|
|
||||||
* Copyright The Mbed TLS Contributors
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ARIA_ALT_H
|
|
||||||
#define ARIA_ALT_H
|
|
||||||
|
|
||||||
typedef struct mbedtls_aria_context {
|
|
||||||
int dummy;
|
|
||||||
}
|
|
||||||
mbedtls_aria_context;
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* aria_alt.h */
|
|
@ -42,10 +42,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(MBEDTLS_ARIA_ALT)
|
|
||||||
// Regular implementation
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief The ARIA context-type definition.
|
* \brief The ARIA context-type definition.
|
||||||
*/
|
*/
|
||||||
@ -56,10 +52,6 @@ typedef struct mbedtls_aria_context {
|
|||||||
}
|
}
|
||||||
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.
|
||||||
*
|
*
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
|
|
||||||
#include "mbedtls/platform.h"
|
#include "mbedtls/platform.h"
|
||||||
|
|
||||||
#if !defined(MBEDTLS_ARIA_ALT)
|
|
||||||
|
|
||||||
#include "mbedtls/platform_util.h"
|
#include "mbedtls/platform_util.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -657,7 +655,6 @@ int mbedtls_aria_crypt_ctr(mbedtls_aria_context *ctx,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_CIPHER_MODE_CTR */
|
#endif /* MBEDTLS_CIPHER_MODE_CTR */
|
||||||
#endif /* !MBEDTLS_ARIA_ALT */
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_SELF_TEST)
|
#if defined(MBEDTLS_SELF_TEST)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user