crhash: sha1: add test vectors
[crhash.git] / hash-sha1.h
blob69601903aa44bce31afab255df49b3d74fa8903b
1 #ifndef _CRHASH_SHA1_H
2 #define _CRHASH_SHA1_H
3 void *sha1_init_context(void);
4 void sha1_fini_context(void *_ctx);
5 void sha1_update(void *_ctx, const uint8_t *m);
6 void _sha1_update(void *_ctx, const uint8_t *m, unsigned int len);
7 void sha1_fini(void *_ctx);
8 void sha1_digest(void *_ctx, uint8_t *digest);
9 #endif