blob: a3ca0e672e2da455b91801f13e908a1f18d9643a [file] [log] [blame]
Jens Axboecd14cc12007-07-30 10:59:33 +02001#ifndef FIO_SHA256_H
2#define FIO_SHA256_H
3
4struct sha256_ctx {
5 uint32_t count[2];
6 uint32_t state[8];
7 uint8_t *buf;
8};
9
10void sha256_init(struct sha256_ctx *);
11void sha256_update(struct sha256_ctx *, const uint8_t *, unsigned int);
12
13#endif