Remove individual mdX_file() and shaX_file()
This commit is contained in:
parent
06d5d61302
commit
41b9c2b418
21 changed files with 4 additions and 703 deletions
|
@ -33,8 +33,6 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define MBEDTLS_ERR_SHA1_FILE_IO_ERROR -0x0076 /**< Read/write error in file. */
|
||||
|
||||
#if !defined(MBEDTLS_SHA1_ALT)
|
||||
// Regular implementation
|
||||
//
|
||||
|
@ -116,16 +114,6 @@ extern "C" {
|
|||
*/
|
||||
void mbedtls_sha1( const unsigned char *input, size_t ilen, unsigned char output[20] );
|
||||
|
||||
/**
|
||||
* \brief Output = SHA-1( file contents )
|
||||
*
|
||||
* \param path input file name
|
||||
* \param output SHA-1 checksum result
|
||||
*
|
||||
* \return 0 if successful, or MBEDTLS_ERR_SHA1_FILE_IO_ERROR
|
||||
*/
|
||||
int mbedtls_sha1_file( const char *path, unsigned char output[20] );
|
||||
|
||||
/**
|
||||
* \brief Checkup routine
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue