X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fsha512.h;h=5adf6271cd4fbb0aa331a656e64bd653a2b3752f;hb=2401022342f650ac7d845a14c7b9bf1cd87cead6;hp=46e10cb777710b32bcd66d8630d2b4db08e6e866;hpb=eef6eea1b935a67f1ae26b38e06a69d4410a12aa;p=fio.git diff --git a/crc/sha512.h b/crc/sha512.h index 46e10cb7..5adf6271 100644 --- a/crc/sha512.h +++ b/crc/sha512.h @@ -1,14 +1,16 @@ #ifndef FIO_SHA512_H #define FIO_SHA512_H -struct sha512_ctx { +#include + +struct fio_sha512_ctx { uint64_t state[8]; uint32_t count[4]; uint8_t *buf; uint64_t W[80]; }; -void sha512_init(struct sha512_ctx *); -void sha512_update(struct sha512_ctx *, const uint8_t *, unsigned int); +void fio_sha512_init(struct fio_sha512_ctx *); +void fio_sha512_update(struct fio_sha512_ctx *, const uint8_t *, unsigned int); #endif