Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1542147

Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG

From PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG
Date 2016-12-14 20:40 +0100
Message-ID <sOnzb-2MP-17@gated-at.bofh.it> (permalink)
References (3 earlier) <sLJcR-8nG-9@gated-at.bofh.it> <sLJZf-db-9@gated-at.bofh.it> <sM2Se-4hp-3@gated-at.bofh.it> <sNW62-2d2-11@gated-at.bofh.it> <sO9Zg-2jA-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> I have found two solutions:
>
> No we already have algif_rng so let's not confuse things even
> further by making hwrng take PRNGs.

Even if both the solutions could not be adopted I think there must be
a way for applications to use similar API to get true rng or prng.
Given the case that no user complained about prng data when using
/dev/hwrng is it safe to assume that the random data generated is
acceptable for users? If so, the drivers can be left without any
modification.

Should there be a mandate that driver will be accepted only when it
passes 'rngtest'. This will make sure that prng drivers won't get
added in future.

Regards,
PrasannaKumar

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 15:20 +0100
  Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-12-13 16:30 +0100
    Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-13 16:40 +0100
  Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-14 06:10 +0100
    Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-14 07:10 +0100
    Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-12-14 20:40 +0100
      Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-15 07:10 +0100

csiph-web