diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-03-28 21:09:24 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-01 06:48:02 +0400 |
commit | a801c89a0bfc83a7026f822e9b429cf6e331bcc8 (patch) | |
tree | aec5b6035ba58d984eaf9179eba4257cc12a33da /crypto/tomcrypt.h | |
parent | 7d8b15e2a328ebe426897bff9dadc3081fc9465e (diff) | |
download | accel-ppp-a801c89a0bfc83a7026f822e9b429cf6e331bcc8.tar.gz accel-ppp-a801c89a0bfc83a7026f822e9b429cf6e331bcc8.zip |
l2tp: try generating Session IDs harder
Don't give up immediately when generating a new Session ID fails. Keep
trying until a valid Session ID is found. Abort when the number of
attempts exceeds the number of valid Session IDs.
This is derived from algorithm 3 of RFC 6056 (Port Randomization
Recommendations). Other algorithms may be used later on if need be.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'crypto/tomcrypt.h')
0 files changed, 0 insertions, 0 deletions