Skip to contentSkip to conversation

crypto: crc32c - Remove another outdated comment

PATCH Applied Eric Biggers 2 participants 3 messages Mar 16 – Mar 17 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: crc32c - Remove another outdated comment

This code just calls crc32c(), which has a number of different implementations, not just the byte-at-a-time table-based one.

---

This patch is targeting crc-next

 crypto/crc32c.c | 5 -----
 1 file changed, 5 deletions(-)
crypto/crc32c.c +0 -5
index 1eff54dde2f7..3754985ab948 100644
@@ -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

Signature · 1 line
2.53.0
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Eric Biggers

This code just calls crc32c(), which has a number of different implementations, not just the byte-at-a-time table-based one.

---

This patch is targeting crc-next

 crypto/crc32c.c | 5 -----
 1 file changed, 5 deletions(-)
Quoted 24 lines
crypto/crc32c.c +0 -5
index 1eff54dde2f7..3754985ab948 100644
@@ -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

Signature · 1 line
2.53.0