Skip to content

Commit 53c62b3

Browse files
fperradsjaeckel
authored andcommitted
remove redundant prototypes
already declared in src/headers/tomcrypt_hash.h
1 parent 70f8a57 commit 53c62b3

11 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/hashes/md4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ int md4_init(hash_state * md)
188188
@param inlen The length of the data (octets)
189189
@return CRYPT_OK if successful
190190
*/
191-
int md4_process(hash_state * md, const unsigned char *in, unsigned long inlen);
192191
HASH_PROCESS(md4_process, md4_compress, md4, 64)
193192

194193
/**

src/hashes/md5.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ int md5_init(hash_state * md)
247247
@param inlen The length of the data (octets)
248248
@return CRYPT_OK if successful
249249
*/
250-
int md5_process(hash_state * md, const unsigned char *in, unsigned long inlen);
251250
HASH_PROCESS(md5_process, md5_compress, md5, 64)
252251

253252
/**

src/hashes/rmd128.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ int rmd128_init(hash_state * md)
286286
@param inlen The length of the data (octets)
287287
@return CRYPT_OK if successful
288288
*/
289-
int rmd128_process(hash_state * md, const unsigned char *in, unsigned long inlen);
290289
HASH_PROCESS(rmd128_process, rmd128_compress, rmd128, 64)
291290

292291
/**

src/hashes/rmd160.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ int rmd160_init(hash_state * md)
345345
@param inlen The length of the data (octets)
346346
@return CRYPT_OK if successful
347347
*/
348-
int rmd160_process(hash_state * md, const unsigned char *in, unsigned long inlen);
349348
HASH_PROCESS(rmd160_process, rmd160_compress, rmd160, 64)
350349

351350
/**

src/hashes/rmd256.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ int rmd256_init(hash_state * md)
299299
@param inlen The length of the data (octets)
300300
@return CRYPT_OK if successful
301301
*/
302-
int rmd256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
303302
HASH_PROCESS(rmd256_process, rmd256_compress, rmd256, 64)
304303

305304
/**

src/hashes/rmd320.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ int rmd320_init(hash_state * md)
364364
@param inlen The length of the data (octets)
365365
@return CRYPT_OK if successful
366366
*/
367-
int rmd320_process(hash_state * md, const unsigned char *in, unsigned long inlen);
368367
HASH_PROCESS(rmd320_process, rmd320_compress, rmd320, 64)
369368

370369
/**

src/hashes/sha1.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ int sha1_init(hash_state * md)
180180
@param inlen The length of the data (octets)
181181
@return CRYPT_OK if successful
182182
*/
183-
int sha1_process(hash_state * md, const unsigned char *in, unsigned long inlen);
184183
HASH_PROCESS(sha1_process, sha1_compress, sha1, 64)
185184

186185
/**

src/hashes/sha2/sha256.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ int sha256_init(hash_state * md)
225225
@param inlen The length of the data (octets)
226226
@return CRYPT_OK if successful
227227
*/
228-
int sha256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
229228
HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
230229

231230
/**

src/hashes/sha2/sha512.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ int sha512_init(hash_state * md)
193193
@param inlen The length of the data (octets)
194194
@return CRYPT_OK if successful
195195
*/
196-
int sha512_process(hash_state * md, const unsigned char *in, unsigned long inlen);
197196
HASH_PROCESS(sha512_process, sha512_compress, sha512, 128)
198197

199198
/**

src/hashes/tiger.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,6 @@ int tiger_init(hash_state *md)
671671
@param inlen The length of the data (octets)
672672
@return CRYPT_OK if successful
673673
*/
674-
int tiger_process(hash_state * md, const unsigned char *in, unsigned long inlen);
675674
HASH_PROCESS(tiger_process, tiger_compress, tiger, 64)
676675

677676
/**

0 commit comments

Comments
 (0)