Commit Graph

4 Commits

Author SHA1 Message Date
Paul Mackerras
fd72d1cb02 Add an underscore to the MD5 routine names so they can more
easily be replaced by the openssl versions.
2004-11-09 22:39:25 +00:00
Paul Mackerras
71d3de90ea New CHAP implementation, rewritten from scratch to avoid the code
copyrighted by the uncontactable Gregory Christy.  The new code is
much cleaner and splits out all the digest-specific code to separate
files.  Thus the CHAP-MD5 stuff is now in chap-md5.c and all the
CHAP-MS and CHAP-MSv2 stuff has moved into chap_ms.c, instead of
having half of it in chap.c.

There are a few minor differences in this implementation; we don't
retransmit responses, but instead just wait for a new challenge.
The success/failure messages are more boring as well.  In fact the
digest code now sets the success/failure message.

CHAP_DIGEST_MD5 has been renamed to CHAP_MD5 for consistency.
There is a new function random_bytes() in magic.c, which generates
a string of random bytes.
2003-06-11 23:56:26 +00:00
Frank Cusack
953892bd95 suppress compiler warning about unused SRP var 2002-11-14 21:50:12 +00:00
James Carlson
d741a3b912 Added EAP support with MD5-Challenge and SRP-SHA1 methods. Tested
on Linux (with both methods) and on Solaris (just MD5-Challenge).
Fixed several Makefiles that were missing references to required
modules such as tty.o.
2002-11-02 19:48:13 +00:00