Browse Source

Merge branch 'pr/245' into release/1.18.0

This closes #245
Steffen Jaeckel 8 years ago
parent
commit
c6b93ae72e

+ 1 - 1
src/hashes/chc/chc.c

@@ -161,7 +161,7 @@ static int chc_compress(hash_state *md, unsigned char *buf)
    @return CRYPT_OK if successful
 */
 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

+ 0 - 1
src/hashes/md4.c

@@ -188,7 +188,6 @@ int md4_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/md5.c

@@ -247,7 +247,6 @@ int md5_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/rmd128.c

@@ -286,7 +286,6 @@ int rmd128_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/rmd160.c

@@ -345,7 +345,6 @@ int rmd160_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/rmd256.c

@@ -299,7 +299,6 @@ int rmd256_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/rmd320.c

@@ -364,7 +364,6 @@ int rmd320_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/sha1.c

@@ -180,7 +180,6 @@ int sha1_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/sha2/sha256.c

@@ -225,7 +225,6 @@ int sha256_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/sha2/sha512.c

@@ -193,7 +193,6 @@ int sha512_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/tiger.c

@@ -671,7 +671,6 @@ int tiger_init(hash_state *md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**

+ 0 - 1
src/hashes/whirl/whirl.c

@@ -138,7 +138,6 @@ int whirlpool_init(hash_state * md)
    @param inlen  The length of the data (octets)
    @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)
 
 /**