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:
parent
90f360e091
commit
084649d189
3 changed files with 0 additions and 13 deletions
|
@ -328,7 +328,6 @@
|
|||
//#define MBEDTLS_SHA1_ALT
|
||||
//#define MBEDTLS_SHA256_ALT
|
||||
//#define MBEDTLS_SHA512_ALT
|
||||
//#define MBEDTLS_SHA3_ALT
|
||||
|
||||
/*
|
||||
* When replacing the elliptic curve module, pleace consider, that it is
|
||||
|
|
|
@ -55,10 +55,6 @@ typedef enum
|
|||
MBEDTLS_SHA3_512, /*!< SHA3-512 */
|
||||
} mbedtls_sha3_id;
|
||||
|
||||
#if !defined(MBEDTLS_SHA3_ALT)
|
||||
// Regular implementation
|
||||
//
|
||||
|
||||
struct mbedtls_sha3_context;
|
||||
typedef struct mbedtls_sha3_family_functions
|
||||
{
|
||||
|
@ -87,10 +83,6 @@ typedef struct 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.
|
||||
*
|
||||
|
|
|
@ -44,8 +44,6 @@
|
|||
#endif /* MBEDTLS_PLATFORM_C */
|
||||
#endif /* MBEDTLS_SELF_TEST */
|
||||
|
||||
#if !defined(MBEDTLS_SHA3_ALT)
|
||||
|
||||
/*
|
||||
* List of supported SHA-3 families
|
||||
*/
|
||||
|
@ -268,8 +266,6 @@ int mbedtls_sha3_finish( mbedtls_sha3_context *ctx,
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
#endif /* !MBEDTLS_SHA3_ALT */
|
||||
|
||||
/*
|
||||
* output = SHA3( input buffer )
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue