X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fsha512.h;h=f8b2112aedb1ecc50ada88cd13a7e7cc1050295c;hb=cf4b04430772e91f75fe6ce4c550480cd9ee7c7a;hp=46e10cb777710b32bcd66d8630d2b4db08e6e866;hpb=eef6eea1b935a67f1ae26b38e06a69d4410a12aa;p=fio.git diff --git a/crc/sha512.h b/crc/sha512.h index 46e10cb7..f8b2112a 100644 --- a/crc/sha512.h +++ b/crc/sha512.h @@ -1,14 +1,14 @@ #ifndef FIO_SHA512_H #define FIO_SHA512_H -struct sha512_ctx { +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