crypto: jitter - reuse allocated entropy collector
[linux-2.6-block.git] / crypto / jitterentropy-kcapi.c
index 0c6752221451bf41ba1b443eb0c128f1c1ff50d4..76edbf8af0ac782c942f27de7173f1eac57cfefd 100644 (file)
@@ -347,7 +347,7 @@ static int __init jent_mod_init(void)
 
        desc->tfm = tfm;
        crypto_shash_init(desc);
-       ret = jent_entropy_init(CONFIG_CRYPTO_JITTERENTROPY_OSR, 0, desc);
+       ret = jent_entropy_init(CONFIG_CRYPTO_JITTERENTROPY_OSR, 0, desc, NULL);
        shash_desc_zero(desc);
        crypto_free_shash(tfm);
        if (ret) {