Remove individual mdX_file() and shaX_file()

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-28 14:56:20 +02:00
parent 06d5d61302
commit 41b9c2b418
21 changed files with 4 additions and 703 deletions

View file

@ -33,8 +33,6 @@
#include <stddef.h>
#include <stdint.h>
#define MBEDTLS_ERR_RIPEMD160_FILE_IO_ERROR -0x007E /**< Read/write error in file. */
#if !defined(MBEDTLS_RIPEMD160_ALT)
// Regular implementation
//
@ -118,18 +116,6 @@ extern "C" {
void mbedtls_ripemd160( const unsigned char *input, size_t ilen,
unsigned char output[20] );
#if defined(MBEDTLS_FS_IO)
/**
* \brief Output = RIPEMD-160( file contents )
*
* \param path input file name
* \param output RIPEMD-160 checksum result
*
* \return 0 if successful, or MBEDTLS_ERR_RIPEMD160_FILE_IO_ERROR
*/
int mbedtls_ripemd160_file( const char *path, unsigned char output[20] );
#endif /* MBEDTLS_FS_IO */
/**
* \brief Checkup routine
*