Re: [PATCH v4 2/2] crypto: hw_random - Add new Exynos RNG driver

From: Krzysztof Kozlowski
Date: Tue Apr 11 2017 - 04:10:23 EST


On Mon, Apr 10, 2017 at 12:55 PM, Herbert Xu
<herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Apr 08, 2017 at 03:32:45PM +0200, Krzysztof Kozlowski wrote:
>>
>> +static struct rng_alg exynos_rng_alg = {
>> + .generate = exynos_rng_generate,
>> + .seed = exynos_rng_seed,
>> + .seedsize = EXYNOS_RNG_SEED_SIZE,
>> + .base = {
>> + .cra_name = "exynos_rng",
>
> Please use stdrng. Or is there a reason why this can't be used
> by the crypto layer itself?

I think there is no reason against, I'll fix it.

Best regards,
Krzysztof