hash: cleanups
[fio.git] / crc / sha512.h
... / ...
CommitLineData
1#ifndef FIO_SHA512_H
2#define FIO_SHA512_H
3
4#include <inttypes.h>
5
6struct fio_sha512_ctx {
7 uint64_t state[8];
8 uint32_t count[4];
9 uint8_t *buf;
10 uint64_t W[80];
11};
12
13void fio_sha512_init(struct fio_sha512_ctx *);
14void fio_sha512_update(struct fio_sha512_ctx *, const uint8_t *, unsigned int);
15
16#endif