X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=crc%2Fsha512.h;h=f8b2112aedb1ecc50ada88cd13a7e7cc1050295c;hp=46e10cb777710b32bcd66d8630d2b4db08e6e866;hb=25dfa848abbb6c35b4d45fabd5a8e82cb77fb285;hpb=02efadeb8b05144bcf2fc7796e1da2e7db211d00;ds=sidebyside 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