[PATCH] crypto: crc32c - Remove another outdated comment

Eric Biggers posted 1 patch 3 weeks ago
crypto/crc32c.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] crypto: crc32c - Remove another outdated comment
Posted by Eric Biggers 3 weeks ago
This code just calls crc32c(), which has a number of different
implementations, not just the byte-at-a-time table-based one.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
---

This patch is targeting crc-next

 crypto/crc32c.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/crypto/crc32c.c b/crypto/crc32c.c
index 1eff54dde2f7..3754985ab948 100644
--- a/crypto/crc32c.c
+++ b/crypto/crc32c.c
@@ -47,15 +47,10 @@ struct chksum_ctx {
 
 struct chksum_desc_ctx {
 	u32 crc;
 };
 
-/*
- * Steps through buffer one byte at a time, calculates reflected
- * crc using table.
- */
-
 static int chksum_init(struct shash_desc *desc)
 {
 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
 

base-commit: c13cee2fc7f137dd25ed50c63eddcc578624f204
-- 
2.53.0
Re: [PATCH] crypto: crc32c - Remove another outdated comment
Posted by Eric Biggers 2 weeks, 6 days ago
On Mon, Mar 16, 2026 at 01:56:59PM -0700, Eric Biggers wrote:
> This code just calls crc32c(), which has a number of different
> implementations, not just the byte-at-a-time table-based one.
> 
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
> 
> This patch is targeting crc-next

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next

- Eric
Re: [PATCH] crypto: crc32c - Remove another outdated comment
Posted by Ard Biesheuvel 2 weeks, 6 days ago

On Mon, 16 Mar 2026, at 21:56, Eric Biggers wrote:
> This code just calls crc32c(), which has a number of different
> implementations, not just the byte-at-a-time table-based one.
>
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>
> This patch is targeting crc-next
>
>  crypto/crc32c.c | 5 -----
>  1 file changed, 5 deletions(-)
>

Acked-by: Ard Biesheuvel <ardb@kernel.org>

> diff --git a/crypto/crc32c.c b/crypto/crc32c.c
> index 1eff54dde2f7..3754985ab948 100644
> --- a/crypto/crc32c.c
> +++ b/crypto/crc32c.c
> @@ -47,15 +47,10 @@ struct chksum_ctx {
> 
>  struct chksum_desc_ctx {
>  	u32 crc;
>  };
> 
> -/*
> - * Steps through buffer one byte at a time, calculates reflected
> - * crc using table.
> - */
> -
>  static int chksum_init(struct shash_desc *desc)
>  {
>  	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
>  	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
> 
>
> base-commit: c13cee2fc7f137dd25ed50c63eddcc578624f204
> -- 
> 2.53.0