Fix proprocessor directives for MBEDTLS_RIPEMD160_ALT
This commit is contained in:
parent
a381fe84ce
commit
342d928e8d
2 changed files with 5 additions and 1 deletions
|
@ -199,7 +199,7 @@ MBEDTLS_DEPRECATED static inline void mbedtls_ripemd160_process(
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* MBEDTLS_RIPEMD160_ALT */
|
#else /* MBEDTLS_RIPEMD160_ALT */
|
||||||
#include "ripemd160.h"
|
#include "ripemd160_alt.h"
|
||||||
#endif /* MBEDTLS_RIPEMD160_ALT */
|
#endif /* MBEDTLS_RIPEMD160_ALT */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -46,6 +46,8 @@
|
||||||
#endif /* MBEDTLS_PLATFORM_C */
|
#endif /* MBEDTLS_PLATFORM_C */
|
||||||
#endif /* MBEDTLS_SELF_TEST */
|
#endif /* MBEDTLS_SELF_TEST */
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_RIPEMD160_ALT)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 32-bit integer manipulation macros (little endian)
|
* 32-bit integer manipulation macros (little endian)
|
||||||
*/
|
*/
|
||||||
|
@ -393,6 +395,8 @@ int mbedtls_ripemd160_finish_ret( mbedtls_ripemd160_context *ctx,
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* ! MBEDTLS_RIPEMD160_ALT */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* output = RIPEMD-160( input buffer )
|
* output = RIPEMD-160( input buffer )
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue