Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-02 Thread Arthur Mesh
ecting it based on configuration. I.e., if the box is configured to boot in FIPS mode, it should use NIST SP800-90 HMAC-DRBG adaptor. Otherwise, it uses the default FreeBSD adaptor (Fortuna I guess). We do not need ability to switch adaptors at run-time. Thanks -- Arthur Mesh Juniper Networ

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-02 Thread Arthur Mesh
od check list item for people evaluating the use of freebsd in an > appliance. Adrian, Absolutely, once our FIPS lab approves our implementation. Otherwise, it may cause more harm than good. -- Arthur Mesh Juniper Networks +1 408 936-4968 pgpBvL1bWKrEW.pgp Description: PGP signature

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-02 Thread Arthur Mesh
* In case where both the random driver and RNG's are built * as seperate modules, random.ko is loaded prior to *_rng.ko's * (by dependency). This event handler is there to delay * creation of /dev/{u,}random and attachment of this *_rng.ko. */ EVENTHANDLER_INVOKE(random_adaptor_attach, &random_hmac_drbg); return (0); } return (EINVAL); } RANDOM_ADAPTOR_MODULE(random_hmac_drbg, random_hmac_drbg_modevent, 1); -- Arthur Mesh Juniper Networks +1 408 936-4968 pgp_tB5_CRwr2.pgp Description: PGP signature

RE: svn commit: r240135 - in head/sys: amd64/conf conf dev/random i386/conf modules/random

2012-09-11 Thread Arthur Mesh
Funny, I've also implemented RdRand backing for /dev/random over the weekend, w/o being aware of kib@'s work. Oh well. One comment I have: IVY_RNG is potentially not the best name. RdRand will be available on future architectures, such as Haswell. Perhaps RDRAND_RNG would make a better name? Th

Re: svn commit: r240135 - in head/sys: amd64/conf conf dev/random i386/conf modules/random

2012-09-12 Thread Arthur Mesh
On Wed, Sep 12, 2012 at 07:33:02AM +0300, Konstantin Belousov wrote: > Can you submit the desired patch ? Sure, Index: sys/i386/conf/GENERIC === --- sys/i386/conf/GENERIC (revision 240406) +++ sys/i386/conf/GENERIC (worki