Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 16:36:43 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        Jia-Shiun Li <jiashiun@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Random number generator on rpi
Message-ID:  <20160607063643.GE85345@server.rulingia.com>
In-Reply-To: <CAHNYxxOEPzoijb0A%2BioOj3aSSVAvbrZVzFtFeuiC69sRyn7R9A@mail.gmail.com>
References:  <CAHNYxxP8fqEdXsL2Jwu-=P4g9_w5P2pnJ-yOvtU1ssEP4ZpqCQ@mail.gmail.com> <20160606120302.bea809ad2b9b89d66c34ebfe@ulrich-grey.de> <20160606123146.532e0bc3862047107f2c10e2@ulrich-grey.de> <CAHNYxxOEPzoijb0A%2BioOj3aSSVAvbrZVzFtFeuiC69sRyn7R9A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2016-Jun-07 12:25:26 +0800, Jia-Shiun Li <jiashiun@gmail.com> wrote:
>Yes, that's Linux specific. And my problem is there seems no other ways to
>tell rng quality on FreeBSD.

FreeBSD doesn't expose hardware RNGs directly to userspace - they are
used solely as entropy inputs to Yarrow, which drives /dev/random.

If you want to test how random the ARM RNG is, then you will need to
adapt the driver to also expose a device interface to the raw RNG data
that can be read, and then find a suitable RNG test suite.

If you're just concerned about the quality of /dev/random then you
should read random(4).

--=20
Peter Jeremy

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJXVmt7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux
NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0CfwP/RAt5ED0ZXsZifP3ETHmcey/
xPKSQ7Bqhimmv+Kf5c38Rja8ihHhgXxrGBvPwJqSw54+3UUZvnphhmAgh4PRagnj
KOqt/d4l0nmCcP2OYZJBeaGAkYbJBsTL5zYGvBRkDlVdSVCis0keb57XR3U2BLKk
g2jVj6nJrZyM2U67gvyTcOpq33NYBKWEAiSUyDM+hNN9jPSUIsGQL4D519qS6W6f
7u+PpiBr7Znh9qy8vocTuX2Use2mMN+Fmce4/FwMY6B8vDOmmPWkrEVFww9oNs16
YLL5zpCBug6VWkKqTWT56mKNwOR0p9V9QxCUOhOc1NmD6Ythvhw0CDTNVqnJhXgL
cPyqIv4xYcClIzY39bA0J3bo9366TBSHm6WF/22QX1ZK9zTr2RTh9a7WSvQWYfU4
HQLBtLXj25alMgeszxStO6aCtAyNKoYQA/wLiUAk3Eauk/8T+U5dyWOgkbX2b9w0
2Aewhi+3JYMA3utVzZEs7qdNHa7lsKGo3mAyaBV7FQx1ndTPEQ2lSCBHdkR1apQh
MNDiXadgicRWQfjA0J3D6OPnZdpwptoo5906fRppP9I6BUHs4XObMVAAB5VFNmCv
4EdieV/s1SDQSuF8fB0IdY+Q+QzIZYjiZJqOvsQq4RY75RDnvKn1onKwrOCBqdjW
rdlFEMBWq9sle0DJxqLf
=8hit
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160607063643.GE85345>