stat: remove unnecessary bool parameter to sum_thread_stats()
[fio.git] / crc / sha512.h
CommitLineData
cd14cc10
JA
1#ifndef FIO_SHA512_H
2#define FIO_SHA512_H
3
3d2d14bc
SW
4#include <inttypes.h>
5
25dfa848 6struct fio_sha512_ctx {
cd14cc10
JA
7 uint64_t state[8];
8 uint32_t count[4];
9 uint8_t *buf;
10 uint64_t W[80];
11};
12
25dfa848
JA
13void fio_sha512_init(struct fio_sha512_ctx *);
14void fio_sha512_update(struct fio_sha512_ctx *, const uint8_t *, unsigned int);
cd14cc10
JA
15
16#endif