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_GCM --source crypto/gcm.c Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> --- crypto/gcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/gcm.c b/crypto/gcm.c index 97716482bed0..54a376e782d1 100644 --- a/crypto/gcm.c +++ b/crypto/gcm.c @@ -1119,8 +1119,8 @@ static void __exit crypto_gcm_module_exit(void) ARRAY_SIZE(crypto_gcm_tmpls)); } -module_init(crypto_gcm_module_init); -module_exit(crypto_gcm_module_exit); +crypto_module_init(crypto_gcm_module_init); +crypto_module_exit(crypto_gcm_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Galois/Counter Mode"); -- 2.39.3