Merge branch 'pr/245' into release/1.18.0

This closes #245
This commit is contained in:
Steffen Jaeckel 2017-07-10 13:04:23 +02:00
commit c6b93ae72e
12 changed files with 1 additions and 12 deletions

View File

@ -161,7 +161,7 @@ static int chc_compress(hash_state *md, unsigned char *buf)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
static int _chc_process(hash_state * md, const unsigned char *buf, unsigned long len); static int _chc_process(hash_state * md, const unsigned char *buf, unsigned long len);
HASH_PROCESS(_chc_process, chc_compress, chc, (unsigned long)cipher_blocksize) static HASH_PROCESS(_chc_process, chc_compress, chc, (unsigned long)cipher_blocksize)
/** /**
Process a block of memory though the hash Process a block of memory though the hash

View File

@ -188,7 +188,6 @@ int md4_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int md4_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(md4_process, md4_compress, md4, 64) HASH_PROCESS(md4_process, md4_compress, md4, 64)
/** /**

View File

@ -247,7 +247,6 @@ int md5_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int md5_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(md5_process, md5_compress, md5, 64) HASH_PROCESS(md5_process, md5_compress, md5, 64)
/** /**

View File

@ -286,7 +286,6 @@ int rmd128_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int rmd128_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(rmd128_process, rmd128_compress, rmd128, 64) HASH_PROCESS(rmd128_process, rmd128_compress, rmd128, 64)
/** /**

View File

@ -345,7 +345,6 @@ int rmd160_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int rmd160_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(rmd160_process, rmd160_compress, rmd160, 64) HASH_PROCESS(rmd160_process, rmd160_compress, rmd160, 64)
/** /**

View File

@ -299,7 +299,6 @@ int rmd256_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int rmd256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(rmd256_process, rmd256_compress, rmd256, 64) HASH_PROCESS(rmd256_process, rmd256_compress, rmd256, 64)
/** /**

View File

@ -364,7 +364,6 @@ int rmd320_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int rmd320_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(rmd320_process, rmd320_compress, rmd320, 64) HASH_PROCESS(rmd320_process, rmd320_compress, rmd320, 64)
/** /**

View File

@ -180,7 +180,6 @@ int sha1_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int sha1_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(sha1_process, sha1_compress, sha1, 64) HASH_PROCESS(sha1_process, sha1_compress, sha1, 64)
/** /**

View File

@ -225,7 +225,6 @@ int sha256_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int sha256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(sha256_process, sha256_compress, sha256, 64) HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
/** /**

View File

@ -193,7 +193,6 @@ int sha512_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int sha512_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(sha512_process, sha512_compress, sha512, 128) HASH_PROCESS(sha512_process, sha512_compress, sha512, 128)
/** /**

View File

@ -671,7 +671,6 @@ int tiger_init(hash_state *md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int tiger_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(tiger_process, tiger_compress, tiger, 64) HASH_PROCESS(tiger_process, tiger_compress, tiger, 64)
/** /**

View File

@ -138,7 +138,6 @@ int whirlpool_init(hash_state * md)
@param inlen The length of the data (octets) @param inlen The length of the data (octets)
@return CRYPT_OK if successful @return CRYPT_OK if successful
*/ */
int whirlpool_process(hash_state * md, const unsigned char *in, unsigned long inlen);
HASH_PROCESS(whirlpool_process, whirlpool_compress, whirlpool, 64) HASH_PROCESS(whirlpool_process, whirlpool_compress, whirlpool, 64)
/** /**