Re: [PATCH 02/12] random: Implement read_random via getentropy.

2018-08-02 Thread Gedare Bloom
On Thu, Aug 2, 2018 at 9:20 AM, Christian Mauderer wrote: > Am 02.08.2018 um 15:16 schrieb Gedare Bloom: >> On Thu, Aug 2, 2018 at 1:28 AM, Christian Mauderer >> wrote: >>> Am 01.08.2018 um 16:28 schrieb Gedare Bloom: Is this relied on for IPSec? How secure is it? >>> >>> Hello Gedare, >>> >

Re: [PATCH 02/12] random: Implement read_random via getentropy.

2018-08-02 Thread Christian Mauderer
Am 02.08.2018 um 15:16 schrieb Gedare Bloom: > On Thu, Aug 2, 2018 at 1:28 AM, Christian Mauderer > wrote: >> Am 01.08.2018 um 16:28 schrieb Gedare Bloom: >>> Is this relied on for IPSec? How secure is it? >> >> Hello Gedare, >> >> the IPSec implementation in FreeBSD and therefore in RTEMS too use

Re: [PATCH 02/12] random: Implement read_random via getentropy.

2018-08-02 Thread Gedare Bloom
On Thu, Aug 2, 2018 at 1:28 AM, Christian Mauderer wrote: > Am 01.08.2018 um 16:28 schrieb Gedare Bloom: >> Is this relied on for IPSec? How secure is it? > > Hello Gedare, > > the IPSec implementation in FreeBSD and therefore in RTEMS too uses that > function. So you are right that it is a critic

Re: [PATCH 02/12] random: Implement read_random via getentropy.

2018-08-01 Thread Christian Mauderer
Am 01.08.2018 um 16:28 schrieb Gedare Bloom: > Is this relied on for IPSec? How secure is it? Hello Gedare, the IPSec implementation in FreeBSD and therefore in RTEMS too uses that function. So you are right that it is a critical one for security. `read_random` is a low-level FreeBSD random numb

Re: [PATCH 02/12] random: Implement read_random via getentropy.

2018-08-01 Thread Gedare Bloom
Is this relied on for IPSec? How secure is it? On Wed, Aug 1, 2018 at 4:04 AM, Christian Mauderer wrote: > --- > freebsd/sys/sys/random.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/freebsd/sys/sys/random.h b/freebsd/sys/sys/random.h > index 396ec2b1..996ca5c1 100644 > -

[PATCH 02/12] random: Implement read_random via getentropy.

2018-08-01 Thread Christian Mauderer
--- freebsd/sys/sys/random.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/freebsd/sys/sys/random.h b/freebsd/sys/sys/random.h index 396ec2b1..996ca5c1 100644 --- a/freebsd/sys/sys/random.h +++ b/freebsd/sys/sys/random.h @@ -50,11 +50,21 @@ read_random_uio(void *a __unused, u_int