In general it is a bad idea to use one random secret for two things.
authorbluhm <bluhm@openbsd.org>
Fri, 14 Sep 2018 12:55:17 +0000 (12:55 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 14 Sep 2018 12:55:17 +0000 (12:55 +0000)
commit1d4d3d772b21a748fbc3855d9e7a497e8e9b850c
treef20e04f578c519cafccf3091d720c29a3971b9ca
parent726ca1ae222ed3ffe4e1e544a849398f0693c34a
In general it is a bad idea to use one random secret for two things.
The inet PCB uses one hash with local and foreign addresses, and
one with local port numbers.  Give both hashes separate keys.  Also
document the struct fields.
OK visa@
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h