X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Feap.h;h=199d1849b8261093ebd0f54a1b100081f27d2f3f;hb=71d3de90eae52087b405e962ca650b71cec79c67;hp=cf5adace7c1c103ae160fbbcc80b86a522ef913e;hpb=d741a3b912f17d84dc8dc87474e0b989c775de50;p=ppp.git diff --git a/pppd/eap.h b/pppd/eap.h index cf5adac..199d184 100644 --- a/pppd/eap.h +++ b/pppd/eap.h @@ -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) */