diff mbox series

crypto: rsa - Add module alias for pkcs1pad

Message ID ZSzQygzJCBF2PqQb@gondor.apana.org.au
State Accepted
Commit f5fb88e5301ba7b8cb85063d6b6b3bd378907e25
Headers show
Series crypto: rsa - Add module alias for pkcs1pad | expand

Commit Message

Herbert Xu Oct. 16, 2023, 5:57 a.m. UTC
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>
diff mbox series

Patch

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");