Apply Crypto API wrappers to the exported crypto symbol in CONFIG_CRYPTO_XCBC-related crypto to convert them into pluggable interface.
Signed-off-by: Jay Wang <[email protected]> --- crypto/Makefile | 2 +- crypto/xcbc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/Makefile b/crypto/Makefile index 390d38d17e4b..c98e6a397159 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -74,7 +74,7 @@ crypto-objs-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o crypto-objs-$(CONFIG_CRYPTO_USER) += crypto_user.o crypto-objs-$(CONFIG_CRYPTO_CMAC) += cmac.o crypto-objs-$(CONFIG_CRYPTO_HMAC) += hmac.o -obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o +crypto-objs-$(CONFIG_CRYPTO_XCBC) += xcbc.o obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o obj-$(CONFIG_CRYPTO_MD4) += md4.o crypto-objs-$(CONFIG_CRYPTO_MD5) += md5.o diff --git a/crypto/xcbc.c b/crypto/xcbc.c index 6c5f6766fdd6..90da46fe3bb7 100644 --- a/crypto/xcbc.c +++ b/crypto/xcbc.c @@ -199,8 +199,8 @@ static void __exit crypto_xcbc_module_exit(void) crypto_unregister_template(&crypto_xcbc_tmpl); } -module_init(crypto_xcbc_module_init); -module_exit(crypto_xcbc_module_exit); +crypto_module_init(crypto_xcbc_module_init); +crypto_module_exit(crypto_xcbc_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("XCBC keyed hash algorithm"); -- 2.47.3
