1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-23 00:02:39 +03:00

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

@@ -32,8 +32,6 @@
#include <stddef.h>
#define MBEDTLS_ERR_MD2_FILE_IO_ERROR -0x0070 /**< Read/write error in file. */
#if !defined(MBEDTLS_MD2_ALT)
// Regular implementation
//
@@ -113,16 +111,6 @@ extern "C" {
*/
void mbedtls_md2( const unsigned char *input, size_t ilen, unsigned char output[16] );
/**
* \brief Output = MD2( file contents )
*
* \param path input file name
* \param output MD2 checksum result
*
* \return 0 if successful, or MBEDTLS_ERR_MD2_FILE_IO_ERROR
*/
int mbedtls_md2_file( const char *path, unsigned char output[16] );
/**
* \brief Checkup routine
*