]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - crypto/drbg.c
Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[mirror_ubuntu-jammy-kernel.git] / crypto / drbg.c
index bc52d956261102a5b6ae59e50ad56d21745abbcf..2a5b16bb000c384e90c7de620efd71db35995324 100644 (file)
@@ -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 ""