Hi Harald,
> Hello PrasannaKumar
>
> here is now a version which combines patch 2 and patch 3 together
> according to your suggestions:
>
> == cut ==
>
> From: Harald Freudenberger
> Date: Fri, 30 Jun 2017 17:06:40 +0200
> Subject: [PATCH 2/2] crypto:
Hi Harald,
> Here is an updated version with just showing 0 or 1 in the new sysfs
> attribute file:
> == cut ==
> From: Harald Freudenberger <fre...@linux.vnet.ibm.com>
> Date: Mon, 3 Jul 2017 10:19:22 +0200
> Subject: [PATCH 3/3] crypto: hwrng add sysf
nregister(struct hwrng *rng)
>> list_del(>list);
>> if (current_rng == rng) {
>> drop_current_rng();
>> - cur_rng_set_by_user = 0;
>> + selected_rng = NULL;
>> /* rng_list is sorted by qua
On 3 July 2017 at 15:33, Harald Freudenberger wrote:
> This patch introduces a new sysfs attribute file 'rng_selected'
> which shows the the rng chosen by userspace.
>
> If a rng source is chosen by user via echo some valid string
> to rng_current there should be a way
This patch introduces a new sysfs attribute file 'rng_selected'
which shows the the rng chosen by userspace.
If a rng source is chosen by user via echo some valid string
to rng_current there should be a way to signal this choice to
userspace. The new attribute file 'rng_selected' shows either
the