SHA-3 does not use SHA3_ALT anymore.

Next releases will not use alt files.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-05-17 11:33:55 +02:00
parent 90f360e091
commit 084649d189
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3
3 changed files with 0 additions and 13 deletions

View File

@ -328,7 +328,6 @@
//#define MBEDTLS_SHA1_ALT //#define MBEDTLS_SHA1_ALT
//#define MBEDTLS_SHA256_ALT //#define MBEDTLS_SHA256_ALT
//#define MBEDTLS_SHA512_ALT //#define MBEDTLS_SHA512_ALT
//#define MBEDTLS_SHA3_ALT
/* /*
* When replacing the elliptic curve module, pleace consider, that it is * When replacing the elliptic curve module, pleace consider, that it is

View File

@ -55,10 +55,6 @@ typedef enum
MBEDTLS_SHA3_512, /*!< SHA3-512 */ MBEDTLS_SHA3_512, /*!< SHA3-512 */
} mbedtls_sha3_id; } mbedtls_sha3_id;
#if !defined(MBEDTLS_SHA3_ALT)
// Regular implementation
//
struct mbedtls_sha3_context; struct mbedtls_sha3_context;
typedef struct mbedtls_sha3_family_functions typedef struct mbedtls_sha3_family_functions
{ {
@ -87,10 +83,6 @@ typedef struct mbedtls_sha3_context {
} }
mbedtls_sha3_context; mbedtls_sha3_context;
#else /* MBEDTLS_SHA3_ALT */
#include "sha3_alt.h"
#endif /* MBEDTLS_SHA3_ALT */
/** /**
* \brief This function initializes a SHA-3 context. * \brief This function initializes a SHA-3 context.
* *

View File

@ -44,8 +44,6 @@
#endif /* MBEDTLS_PLATFORM_C */ #endif /* MBEDTLS_PLATFORM_C */
#endif /* MBEDTLS_SELF_TEST */ #endif /* MBEDTLS_SELF_TEST */
#if !defined(MBEDTLS_SHA3_ALT)
/* /*
* List of supported SHA-3 families * List of supported SHA-3 families
*/ */
@ -268,8 +266,6 @@ int mbedtls_sha3_finish( mbedtls_sha3_context *ctx,
return( 0 ); return( 0 );
} }
#endif /* !MBEDTLS_SHA3_ALT */
/* /*
* output = SHA3( input buffer ) * output = SHA3( input buffer )
*/ */