]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/eap.h
New CHAP implementation, rewritten from scratch to avoid the code
[ppp.git] / pppd / eap.h
index cf5adace7c1c103ae160fbbcc80b86a522ef913e..199d1849b8261093ebd0f54a1b100081f27d2f3f 100644 (file)
@@ -17,7 +17,7 @@
  *
  * Original version by James Carlson
  *
- * $Id: eap.h,v 1.1 2002/11/02 19:48:12 carlsonj Exp $
+ * $Id: eap.h,v 1.2 2003/06/11 23:56:26 paulus Exp $
  */
 
 #ifndef PPP_EAP_H
@@ -74,6 +74,10 @@ extern "C" {
 #define        SRP_PSEUDO_ID   "pseudo_"
 #define        SRP_PSEUDO_LEN  7
 
+#define MD5_SIGNATURE_SIZE     16
+#define MIN_CHALLENGE_LENGTH   16
+#define MAX_CHALLENGE_LENGTH   24
+
 enum eap_state_code {
        eapInitial = 0, /* No EAP authentication yet requested */
        eapPending,     /* Waiting for LCP (no timer) */