Am 2021-11-16 12:57, schrieb Gaurav Jain:
>> > +int hwrng_generate(u8 *dst, u32 len) >> >> likewise. >> But more important what is the difference to drivers/crypto/fsl/rng.c? >> Why >> do you need a new function here?This one. Why can't you reuse the code which is already there?I might have missed to update this. dm_rng_read() can be used. Will remove hwrng_generate().
Nice, thanks. Slightly lesser code :) -michael