X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fsha1.h;h=14af44a922a70686bc96c4477c3ca202761b947e;hb=96106472fa3a9fb161b1114673da80eff23a36a3;hp=af4165af47ab6f606b78e4a3fe777dc9c9233ce7;hpb=23d2461974c334d77eb7a06a2dbd1f37aeee85d4;p=fio.git diff --git a/crc/sha1.h b/crc/sha1.h index af4165af..14af44a9 100644 --- a/crc/sha1.h +++ b/crc/sha1.h @@ -7,14 +7,14 @@ * and to avoid unnecessary copies into the context array. */ -struct sha1_ctx { +struct fio_sha1_ctx { uint32_t *H; unsigned int W[16]; unsigned long long size; }; -void sha1_init(struct sha1_ctx *); -void sha1_update(struct sha1_ctx *, const void *dataIn, unsigned long len); -void sha1_final(unsigned char hashout[20], struct sha1_ctx *); +void fio_sha1_init(struct fio_sha1_ctx *); +void fio_sha1_update(struct fio_sha1_ctx *, const void *dataIn, unsigned long len); +void fio_sha1_final(unsigned char hashout[20], struct fio_sha1_ctx *); #endif