Skip to contentSkip to conversation

crypto: Add aliases to deflate

PATCH In review Kyle Meyer 2 participants 2 messages Jun 17, 2024 – Jun 28, 2024 Crypto API

lore
Share & tools
lore

Kyle Meyer

author
#0 lore raw

PATCH 1/1 crypto: Add aliases to deflate

iaa_crypto depends on the deflate compression algorithm that's provided by deflate.

If the algorithm is not available because CRYPTO_DEFLATE=m and deflate is not inserted, iaa_crypto will request "crypto-deflate-generic". Deflate will not be inserted because "crypto-deflate-generic" is not a valid alias.

Add deflate-generic and crypto-deflate-generic aliases to deflate.

---
 crypto/deflate.c | 1 +
 1 file changed, 1 insertion(+)
crypto/deflate.c +1 -0
index 6e31e0db0e86..98e8bcb81a6a 100644
@@ -311,3 +311,4 @@ MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Deflate Compression Algorithm for IPCOMP");
 MODULE_AUTHOR("James Morris <[email protected]>");
 MODULE_ALIAS_CRYPTO("deflate");
+MODULE_ALIAS_CRYPTO("deflate-generic");
Signature · 1 line
2.35.3
maintainer
#1 lore raw
Quoted 8 lines · Kyle Meyer

iaa_crypto depends on the deflate compression algorithm that's provided by deflate.

If the algorithm is not available because CRYPTO_DEFLATE=m and deflate is not inserted, iaa_crypto will request "crypto-deflate-generic". Deflate will not be inserted because "crypto-deflate-generic" is not a valid alias.

Quoted 6 lines

Add deflate-generic and crypto-deflate-generic aliases to deflate.

---
 crypto/deflate.c | 1 +
 1 file changed, 1 insertion(+)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt