summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-10-16 08:57:30 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-27 13:04:24 +0300
commitf5fb88e5301ba7b8cb85063d6b6b3bd378907e25 (patch)
treec289c1c660449ea2d222b8a65988ccb873992a23
parent04a93202ed7c3b451bf22d3ff4bcd379df27f299 (diff)
downloadlinux-f5fb88e5301ba7b8cb85063d6b6b3bd378907e25.tar.xz
crypto: rsa - Add module alias for pkcs1pad
Add a module alias for pkcs1pas so that it can be auto-loaded by modprobe. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/rsa-pkcs1pad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa-pkcs1pad.c b/crypto/rsa-pkcs1pad.c
index d2e5e104f8cf..49756c6ea7a1 100644
--- a/crypto/rsa-pkcs1pad.c
+++ b/crypto/rsa-pkcs1pad.c
@@ -687,3 +687,5 @@ struct crypto_template rsa_pkcs1pad_tmpl = {
.create = pkcs1pad_create,
.module = THIS_MODULE,
};
+
+MODULE_ALIAS_CRYPTO("pkcs1pad");