Commit bb9c648b authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu
Browse files

crypto: lib/poly1305 - restore ability to remove modules



Though the module_exit functions are now no-ops, they should still be
defined, since otherwise the modules become unremovable.

Fixes: 1f81c582 ("crypto: arm/poly1305 - remove redundant shash algorithm")
Fixes: f4b1a73a ("crypto: arm64/poly1305 - remove redundant shash algorithm")
Fixes: 378a337a ("crypto: powerpc/poly1305 - implement library instead of shash")
Fixes: 21969da6 ("crypto: x86/poly1305 - remove redundant shash algorithm")
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8821d269
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -116,5 +116,10 @@ static int __init arm_poly1305_mod_init(void)
}
arch_initcall(arm_poly1305_mod_init);

static void __exit arm_poly1305_mod_exit(void)
{
}
module_exit(arm_poly1305_mod_exit);

MODULE_DESCRIPTION("Accelerated Poly1305 transform for ARM");
MODULE_LICENSE("GPL v2");
+5 −0
Original line number Diff line number Diff line
@@ -107,5 +107,10 @@ static int __init neon_poly1305_mod_init(void)
}
arch_initcall(neon_poly1305_mod_init);

static void __exit neon_poly1305_mod_exit(void)
{
}
module_exit(neon_poly1305_mod_exit);

MODULE_DESCRIPTION("Poly1305 authenticator (ARM64 optimized)");
MODULE_LICENSE("GPL v2");
+5 −0
Original line number Diff line number Diff line
@@ -127,6 +127,11 @@ static int __init poly1305_p10_init(void)
}
arch_initcall(poly1305_p10_init);

static void __exit poly1305_p10_exit(void)
{
}
module_exit(poly1305_p10_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Danny Tsen <dtsen@linux.ibm.com>");
MODULE_DESCRIPTION("Optimized Poly1305 for P10");
+5 −0
Original line number Diff line number Diff line
@@ -208,6 +208,11 @@ static int __init poly1305_simd_mod_init(void)
}
arch_initcall(poly1305_simd_mod_init);

static void __exit poly1305_simd_mod_exit(void)
{
}
module_exit(poly1305_simd_mod_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jason A. Donenfeld <Jason@zx2c4.com>");
MODULE_DESCRIPTION("Poly1305 authenticator");