aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
authorEric Biggers <ebiggers@kernel.org>2026-04-19 23:34:09 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-07 16:10:00 +0800
commit54957e44db1fc3524da15e34c6c86f77bbd664da (patch)
tree4e7c43f0a4015ba6f4ef37a48070206b2deda0b8 /crypto
parent7f0ef29864ebf2ab5fea04523cc0bd8f1c7d1ccd (diff)
downloadlinux-next-history-54957e44db1fc3524da15e34c6c86f77bbd664da.tar.gz
crypto: drbg - Move module aliases to end of file
Move the MODULE_ALIAS_CRYPTO lines in the middle of the file to the end so that they are in the usual place and next to the other one. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/drbg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/drbg.c b/crypto/drbg.c
index c29f4ca93d1b3..439581d7bb83d 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -159,9 +159,6 @@ static int drbg_uninstantiate(struct drbg_state *drbg);
* HMAC DRBG functions
******************************************************************/
-MODULE_ALIAS_CRYPTO("drbg_pr_hmac_sha512");
-MODULE_ALIAS_CRYPTO("drbg_nopr_hmac_sha512");
-
/* update function of HMAC DRBG as defined in 10.1.2.2 */
static void drbg_hmac_update(struct drbg_state *drbg, struct list_head *seed,
int reseed)
@@ -883,3 +880,5 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("Stephan Mueller <smueller@chronox.de>");
MODULE_DESCRIPTION("NIST SP800-90A Deterministic Random Bit Generator (DRBG)");
MODULE_ALIAS_CRYPTO("stdrng");
+MODULE_ALIAS_CRYPTO("drbg_pr_hmac_sha512");
+MODULE_ALIAS_CRYPTO("drbg_nopr_hmac_sha512");