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_CTR --source crypto/ctr.c Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> --- crypto/ctr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ctr.c b/crypto/ctr.c index a388f0ceb3a0..fa67cf6de4b1 100644 --- a/crypto/ctr.c +++ b/crypto/ctr.c @@ -350,8 +350,8 @@ static void __exit crypto_ctr_module_exit(void) ARRAY_SIZE(crypto_ctr_tmpls)); } -module_init(crypto_ctr_module_init); -module_exit(crypto_ctr_module_exit); +crypto_module_init(crypto_ctr_module_init); +crypto_module_exit(crypto_ctr_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("CTR block cipher mode of operation"); -- 2.39.3