Searched refs:MS_AUTH_RESPONSE_LENGTH (Results 1 - 5 of 5) sorted by relevance
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/ |
H A D | chap_ms.h | 67 #define MS_AUTH_RESPONSE_LENGTH 40 /* MS-CHAPv2 authenticator response, */ macro 123 MS_Chap2Response *, u_char[MS_AUTH_RESPONSE_LENGTH+1], int));
|
H A D | chap.h | 123 #define MS_AUTH_RESPONSE_LENGTH 40 /* MS-CHAPv2 authenticator response, */ macro 146 char saresponse[MS_AUTH_RESPONSE_LENGTH+1]; /* Auth response to send */ 147 char earesponse[MS_AUTH_RESPONSE_LENGTH+1]; /* Auth response expected */
|
H A D | chap_ms.c | 278 u_char saresponse[MS_AUTH_RESPONSE_LENGTH+1]; 678 if ((len < MS_AUTH_RESPONSE_LENGTH + 2) || strncmp((char*)msg, "S=", 2)) { 685 if (len < MS_AUTH_RESPONSE_LENGTH 686 || memcmp(msg, private, MS_AUTH_RESPONSE_LENGTH)) { 692 msg += MS_AUTH_RESPONSE_LENGTH; /* Eat it */ 693 len -= MS_AUTH_RESPONSE_LENGTH; 966 u_char authResponse[MS_AUTH_RESPONSE_LENGTH+1]) 1011 for (i = 0; i < MAX((MS_AUTH_RESPONSE_LENGTH / 2), sizeof(Digest)); i++) 1012 snprintf((char*)&authResponse[i * 2], MS_AUTH_RESPONSE_LENGTH+1 - i * 2, "%02X", Digest[i]);
|
H A D | chap.c | 764 if ((len >= MS_AUTH_RESPONSE_LENGTH + 2) && !strncmp(inp, "S=", 2)) { 766 if (!strncasecmp(inp, cstate->earesponse, MS_AUTH_RESPONSE_LENGTH)) { 768 inp += MS_AUTH_RESPONSE_LENGTH; /* Eat it */ 769 len -= MS_AUTH_RESPONSE_LENGTH;
|
/macosx-10.9.5/ppp-727.90.1/Authenticators/DSAuthentication/ |
H A D | main.c | 357 if ((responseDataBufPtr->fBufferLength == MS_AUTH_RESPONSE_LENGTH + 4) 358 && *((u_int32_t*)(responseDataBufPtr->fBufferData)) == MS_AUTH_RESPONSE_LENGTH) { 360 responseDataBufPtr->fBufferData[4 + MS_AUTH_RESPONSE_LENGTH] = 0;
|
Completed in 148 milliseconds