aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/sha256.c')
-rw-r--r--module/zfs/sha256.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/zfs/sha256.c b/module/zfs/sha256.c
index d297768ea..c5b033cf0 100644
--- a/module/zfs/sha256.c
+++ b/module/zfs/sha256.c
@@ -41,11 +41,11 @@ sha_incremental(void *buf, size_t size, void *arg)
return (0);
}
-/*ARGSUSED*/
void
abd_checksum_SHA256(abd_t *abd, uint64_t size,
const void *ctx_template, zio_cksum_t *zcp)
{
+ (void) ctx_template;
int ret;
SHA2_CTX ctx;
zio_cksum_t tmp;
@@ -78,11 +78,11 @@ bswap:
zcp->zc_word[3] = BE_64(tmp.zc_word[3]);
}
-/*ARGSUSED*/
void
abd_checksum_SHA512_native(abd_t *abd, uint64_t size,
const void *ctx_template, zio_cksum_t *zcp)
{
+ (void) ctx_template;
SHA2_CTX ctx;
SHA2Init(SHA512_256, &ctx);
@@ -90,7 +90,6 @@ abd_checksum_SHA512_native(abd_t *abd, uint64_t size,
SHA2Final(zcp, &ctx);
}
-/*ARGSUSED*/
void
abd_checksum_SHA512_byteswap(abd_t *abd, uint64_t size,
const void *ctx_template, zio_cksum_t *zcp)