|
@@ -33,11 +33,6 @@ struct crypto_rng *crypto_default_rng;
|
|
|
EXPORT_SYMBOL_GPL(crypto_default_rng);
|
|
|
static int crypto_default_rng_refcnt;
|
|
|
|
|
|
-static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm)
|
|
|
-{
|
|
|
- return container_of(tfm, struct crypto_rng, base);
|
|
|
-}
|
|
|
-
|
|
|
int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen)
|
|
|
{
|
|
|
u8 *buf = NULL;
|