Searched refs:kentropy (Results 1 – 1 of 1) sorted by relevance
289 u8 *kentropy = NULL; in rng_setentropy() local301 kentropy = memdup_sockptr(entropy, len); in rng_setentropy()302 if (IS_ERR(kentropy)) in rng_setentropy()303 return PTR_ERR(kentropy); in rng_setentropy()306 crypto_rng_alg(pctx->drng)->set_ent(pctx->drng, kentropy, len); in rng_setentropy()311 pctx->entropy = kentropy; in rng_setentropy()