Use CRYPTO_API() etc. from include/crypto/api.h in preparation for compilation as part of support for FIPS 140 standalone modules. Generated using: ./fipsify.py --config CONFIG_CRYPTO_CMAC --source crypto/cmac.c Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> --- crypto/cmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/cmac.c b/crypto/cmac.c index 1b03964abe00..f898c4612312 100644 --- a/crypto/cmac.c +++ b/crypto/cmac.c @@ -251,8 +251,8 @@ static void __exit crypto_cmac_module_exit(void) crypto_unregister_template(&crypto_cmac_tmpl); } -module_init(crypto_cmac_module_init); -module_exit(crypto_cmac_module_exit); +crypto_module_init(crypto_cmac_module_init); +crypto_module_exit(crypto_cmac_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("CMAC keyed hash algorithm"); -- 2.39.3