Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.vnet.ibm.com>2017-07-11 10:36:23 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-07-18 13:16:09 +0300
commit10a515ddb5f19a1ff0b9882c430b4427843169f3 (patch)
treedd27f8af0c53de1189c738574ff4d702e27e142b /crypto/algif_skcipher.c
parent2bbb6983887fefc8026beab01198d30f47b7bd22 (diff)
hwrng: remember rng chosen by user
When a user chooses a rng source via sysfs attribute this rng should be sticky, even when other sources with better quality to register. This patch introduces a simple way to remember the user's choice. This is reflected by a new sysfs attribute file 'rng_selected' which shows if the current rng has been chosen by userspace. The new attribute file shows '1' for user selected rng and '0' otherwise. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions