blob: 46e10cb777710b32bcd66d8630d2b4db08e6e866 [file] [log] [blame]
Jens Axboecd14cc12007-07-30 10:59:33 +02001#ifndef FIO_SHA512_H
2#define FIO_SHA512_H
3
4struct sha512_ctx {
5 uint64_t state[8];
6 uint32_t count[4];
7 uint8_t *buf;
8 uint64_t W[80];
9};
10
11void sha512_init(struct sha512_ctx *);
12void sha512_update(struct sha512_ctx *, const uint8_t *, unsigned int);
13
14#endif