Commit Message: - Title: crypto: rng - Ensure set_ent is always present - Description: Ensure that set_ent is always set since only drbg provides it. Fixed Issue: - Commit: 77ebdabe8de7 ("crypto: af_alg - add extra parameters for DRBG interface") Contributors: - Reported by: Yiqi Sun - Author: Herbert Xu - Committer: Greg Kroah-Hartman Code Changes: - Modified file - Added a new function and integrated it into the function to ensure is always set. Implication: - This patch addresses a potential vulnerability where wasn't being set in the DRBG interface. The fix ensures the interface is more robust and reliable, eliminating a potential security risk.