Re: Allegations regarding OpenBSD IPSEC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Otto Moerbeek
Date: Wednesday, December 22, 2010 - 1:38 am

On Tue, Dec 21, 2010 at 07:45:09PM +0100, Kurt Knochner wrote:


There's also a different purpose. See below.



Applied Cryptography only has a sketch. Details have to be filled in.

In summary, the kernel arc4 is reseeded completely with bytes from the
entropy pool periodically, while the libc arc4 is seeded once with
bytes form the kernel arc4 at first use after process startup and then
stirred with a sequence of random bytes obtained from the kernel after
every x bytes produced. 

I can maybe guess why it is this way, but I'd like knowledgeable person to
comment on this.

Note that the userland arc4 IS reseeded after an exec and stirred
extra in the child on fork, probably to avoid leaking key state to new
processes.

	-Otto
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 9:59 am)
Re: Allegations regarding OpenBSD IPSEC, Otto Moerbeek, (Tue Dec 21, 10:51 am)
Re: Allegations regarding OpenBSD IPSEC, Ted Unangst, (Tue Dec 21, 10:51 am)
Re: Allegations regarding OpenBSD IPSEC, Joachim Schipper, (Tue Dec 21, 11:21 am)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 11:45 am)
Re: Allegations regarding OpenBSD IPSEC, Otto Moerbeek, (Tue Dec 21, 12:13 pm)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 12:27 pm)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 12:31 pm)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 12:36 pm)
Re: Allegations regarding OpenBSD IPSEC, Otto Moerbeek, (Tue Dec 21, 12:37 pm)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 12:54 pm)
Re: Allegations regarding OpenBSD IPSEC, Joachim Schipper, (Tue Dec 21, 1:04 pm)
Re: Allegations regarding OpenBSD IPSEC, Kjell Wooding, (Tue Dec 21, 1:24 pm)
Re: Allegations regarding OpenBSD IPSEC, Ted Unangst, (Tue Dec 21, 2:00 pm)
Re: Allegations regarding OpenBSD IPSEC, Ted Unangst, (Tue Dec 21, 2:03 pm)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 2:30 pm)
Re: Allegations regarding OpenBSD IPSEC, Jason Wright, (Tue Dec 21, 2:42 pm)
Re: Allegations regarding OpenBSD IPSEC, Ted Unangst, (Tue Dec 21, 2:54 pm)
Re: Allegations regarding OpenBSD IPSEC, Otto Moerbeek, (Tue Dec 21, 3:19 pm)
Re: Allegations regarding OpenBSD IPSEC, Kurt Knochner, (Tue Dec 21, 3:21 pm)
Re: Allegations regarding OpenBSD IPSEC, Otto Moerbeek, (Wed Dec 22, 1:38 am)