Lines Matching refs:hash_state
105 typedef union Hash_state {
147 } hash_state;
168 int (*init)(hash_state *hash);
175 int (*process)(hash_state *hash, const unsigned char *in, unsigned long inlen);
181 int (*done)(hash_state *hash, unsigned char *out);
196 int chc_init(hash_state * md);
197 int chc_process(hash_state * md, const unsigned char *in, unsigned long inlen);
198 int chc_done(hash_state * md, unsigned char *hash);
204 int whirlpool_init(hash_state * md);
205 int whirlpool_process(hash_state * md, const unsigned char *in, unsigned long inlen);
206 int whirlpool_done(hash_state * md, unsigned char *hash);
212 int sha512_init(hash_state * md);
213 int sha512_process(hash_state * md, const unsigned char *in, unsigned long inlen);
214 int sha512_done(hash_state * md, unsigned char *hash);
223 int sha384_init(hash_state * md);
225 int sha384_done(hash_state * md, unsigned char *hash);
231 int sha256_init(hash_state * md);
232 int sha256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
233 int sha256_done(hash_state * md, unsigned char *hash);
241 int sha224_init(hash_state * md);
243 int sha224_done(hash_state * md, unsigned char *hash);
250 int sha1_init(hash_state * md);
251 int sha1_process(hash_state * md, const unsigned char *in, unsigned long inlen);
252 int sha1_done(hash_state * md, unsigned char *hash);
258 int md5_init(hash_state * md);
259 int md5_process(hash_state * md, const unsigned char *in, unsigned long inlen);
260 int md5_done(hash_state * md, unsigned char *hash);
266 int md4_init(hash_state * md);
267 int md4_process(hash_state * md, const unsigned char *in, unsigned long inlen);
268 int md4_done(hash_state * md, unsigned char *hash);
274 int md2_init(hash_state * md);
275 int md2_process(hash_state * md, const unsigned char *in, unsigned long inlen);
276 int md2_done(hash_state * md, unsigned char *hash);
282 int tiger_init(hash_state * md);
283 int tiger_process(hash_state * md, const unsigned char *in, unsigned long inlen);
284 int tiger_done(hash_state * md, unsigned char *hash);
290 int rmd128_init(hash_state * md);
291 int rmd128_process(hash_state * md, const unsigned char *in, unsigned long inlen);
292 int rmd128_done(hash_state * md, unsigned char *hash);
298 int rmd160_init(hash_state * md);
299 int rmd160_process(hash_state * md, const unsigned char *in, unsigned long inlen);
300 int rmd160_done(hash_state * md, unsigned char *hash);
306 int rmd256_init(hash_state * md);
307 int rmd256_process(hash_state * md, const unsigned char *in, unsigned long inlen);
308 int rmd256_done(hash_state * md, unsigned char *hash);
314 int rmd320_init(hash_state * md);
315 int rmd320_process(hash_state * md, const unsigned char *in, unsigned long inlen);
316 int rmd320_done(hash_state * md, unsigned char *hash);
342 int func_name (hash_state * md, const unsigned char *in, unsigned long inlen) \