mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Remove MBEDTLS_SHA1_PROCESS_ALT
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
@@ -387,7 +387,6 @@
|
|||||||
* implementation should be provided for mbedtls_ecdsa_sign_det_ext().
|
* implementation should be provided for mbedtls_ecdsa_sign_det_ext().
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
//#define MBEDTLS_SHA1_PROCESS_ALT
|
|
||||||
//#define MBEDTLS_SHA256_PROCESS_ALT
|
//#define MBEDTLS_SHA256_PROCESS_ALT
|
||||||
//#define MBEDTLS_SHA512_PROCESS_ALT
|
//#define MBEDTLS_SHA512_PROCESS_ALT
|
||||||
//#define MBEDTLS_DES_SETKEY_ALT
|
//#define MBEDTLS_DES_SETKEY_ALT
|
||||||
|
@@ -59,7 +59,6 @@ int mbedtls_sha1_starts(mbedtls_sha1_context *ctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(MBEDTLS_SHA1_PROCESS_ALT)
|
|
||||||
int mbedtls_internal_sha1_process(mbedtls_sha1_context *ctx,
|
int mbedtls_internal_sha1_process(mbedtls_sha1_context *ctx,
|
||||||
const unsigned char data[64])
|
const unsigned char data[64])
|
||||||
{
|
{
|
||||||
@@ -228,8 +227,6 @@ int mbedtls_internal_sha1_process(mbedtls_sha1_context *ctx,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !MBEDTLS_SHA1_PROCESS_ALT */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SHA-1 process buffer
|
* SHA-1 process buffer
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user