summaryrefslogtreecommitdiff
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-05-20 15:31:34 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-05-20 15:31:34 +0200
commitcd574ee16ffa2f2cad8414b9c59520e3e08a77f9 (patch)
tree8511c7a250b9bd6f6b0285f7fdfb05cd917c0373 /crypto/drbg.c
parent831fd9fdce82ad6727c15552b430c5e54420d92f (diff)
parent8648646bd7927eccf4334248e94827d5dd47acf9 (diff)
downloadlinux-crypto-cd574ee16ffa2f2cad8414b9c59520e3e08a77f9.tar.gz
linux-crypto-cd574ee16ffa2f2cad8414b9c59520e3e08a77f9.zip
Merge tag 'v5.2-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into fbdev-for-next
Linux 5.2-rc1 Sync with upstream (which now contains fbdev-v5.2 changes) to prepare a base for fbdev-v5.3 changes.
Diffstat (limited to 'crypto/drbg.c')
-rw-r--r--crypto/drbg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/drbg.c b/crypto/drbg.c
index bc52d956..2a5b16bb 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -1587,7 +1587,6 @@ static int drbg_init_hash_kernel(struct drbg_state *drbg)
}
sdesc->shash.tfm = tfm;
- sdesc->shash.flags = 0;
drbg->priv_data = sdesc;
return crypto_shash_alignmask(tfm);
@@ -2039,7 +2038,7 @@ static void __exit drbg_exit(void)
crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
}
-module_init(drbg_init);
+subsys_initcall(drbg_init);
module_exit(drbg_exit);
#ifndef CRYPTO_DRBG_HASH_STRING
#define CRYPTO_DRBG_HASH_STRING ""