diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/crc32c_generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/crc32c_generic.c b/crypto/crc32c_generic.c index 985da981d6e2..770533d19b81 100644 --- a/crypto/crc32c_generic.c +++ b/crypto/crc32c_generic.c @@ -94,7 +94,7 @@ static int chksum_update_arch(struct shash_desc *desc, const u8 *data, { struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); - ctx->crc = __crc32c_le(ctx->crc, data, length); + ctx->crc = crc32c(ctx->crc, data, length); return 0; } @@ -115,7 +115,7 @@ static int __chksum_finup(u32 *crcp, const u8 *data, unsigned int len, u8 *out) static int __chksum_finup_arch(u32 *crcp, const u8 *data, unsigned int len, u8 *out) { - put_unaligned_le32(~__crc32c_le(*crcp, data, len), out); + put_unaligned_le32(~crc32c(*crcp, data, len), out); return 0; } |