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

Krzysztof Kozlowski krzk at kernel.org
Tue Apr 11 04:09:50 EDT 2017


On Mon, Apr 10, 2017 at 12:55 PM, Herbert Xu
<herbert at gondor.apana.org.au> 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



More information about the linux-arm-kernel mailing list