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_CCM --source crypto/ccm.c Signed-off-by: Vegard Nossum <vegard.nos...@oracle.com> --- crypto/ccm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ccm.c b/crypto/ccm.c index 2ae929ffdef8..e76946e05b5e 100644 --- a/crypto/ccm.c +++ b/crypto/ccm.c @@ -929,8 +929,8 @@ static void __exit crypto_ccm_module_exit(void) ARRAY_SIZE(crypto_ccm_tmpls)); } -module_init(crypto_ccm_module_init); -module_exit(crypto_ccm_module_exit); +crypto_module_init(crypto_ccm_module_init); +crypto_module_exit(crypto_ccm_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Counter with CBC MAC"); -- 2.39.3