projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
engines/sg: improve error handling
[fio.git]
/
crc
/
sha512.h
1
#ifndef FIO_SHA512_H
2
#define FIO_SHA512_H
3
4
#include <inttypes.h>
5
6
struct fio_sha512_ctx {
7
uint64_t state[8];
8
uint32_t count[4];
9
uint8_t *buf;
10
uint64_t W[80];
11
};
12
13
void fio_sha512_init(struct fio_sha512_ctx *);
14
void fio_sha512_update(struct fio_sha512_ctx *, const uint8_t *, unsigned int);
15
16
#endif