Skip to content

Commit ac6fb72

Browse files
committed
fix some doxygen headers
1 parent 6598dc0 commit ac6fb72

15 files changed

Lines changed: 35 additions & 7 deletions

File tree

src/hashes/chc/chc.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,15 @@ static int chc_compress(hash_state *md, unsigned char *buf)
153153
return CRYPT_OK;
154154
}
155155

156-
/* function for processing blocks */
156+
/**
157+
Function for processing blocks
158+
@param md The hash state
159+
@param buf The data to hash
160+
@param len The length of the data (octets)
161+
@return CRYPT_OK if successful
162+
*/
157163
static int _chc_process(hash_state * md, const unsigned char *buf, unsigned long len);
158-
static HASH_PROCESS(_chc_process, chc_compress, chc, (unsigned long)cipher_blocksize)
164+
HASH_PROCESS(_chc_process, chc_compress, chc, (unsigned long)cipher_blocksize)
159165

160166
/**
161167
Process a block of memory though the hash

src/hashes/md4.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ 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);
191192
HASH_PROCESS(md4_process, md4_compress, md4, 64)
192193

193194
/**

src/hashes/md5.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ 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);
250251
HASH_PROCESS(md5_process, md5_compress, md5, 64)
251252

252253
/**

src/hashes/rmd128.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ 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);
289290
HASH_PROCESS(rmd128_process, rmd128_compress, rmd128, 64)
290291

291292
/**

src/hashes/rmd160.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ 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);
348349
HASH_PROCESS(rmd160_process, rmd160_compress, rmd160, 64)
349350

350351
/**

src/hashes/rmd256.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ 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);
302303
HASH_PROCESS(rmd256_process, rmd256_compress, rmd256, 64)
303304

304305
/**

src/hashes/rmd320.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ 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);
367368
HASH_PROCESS(rmd320_process, rmd320_compress, rmd320, 64)
368369

369370
/**

src/hashes/sha1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ 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);
183184
HASH_PROCESS(sha1_process, sha1_compress, sha1, 64)
184185

185186
/**

src/hashes/sha2/sha256.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ 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);
228229
HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
229230

230231
/**

src/hashes/sha2/sha512.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ 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);
196197
HASH_PROCESS(sha512_process, sha512_compress, sha512, 128)
197198

198199
/**

0 commit comments

Comments
 (0)