ike_eap_mschapv2.h
error_t ikeFormatEapMschapv2FailureResponse(IkeSaEntry *sa, uint8_t *p, size_t *written)
Format EAP MS-CHAP-V2 Failure Response packet.
Definition: ike_eap_mschapv2.c:404
error_t ikeProcessEapMschapv2SuccessRequest(IkeSaEntry *sa, const IkeEapMschapv2SuccessRequest *request, size_t length)
Process EAP MS-CHAP-V2 Success Request packet.
Definition: ike_eap_mschapv2.c:177
error_t ikeProcessEapMschapv2Request(IkeSaEntry *sa, const IkeEapMschapv2Packet *request, size_t length)
Process EAP MS-CHAP-V2 request.
Definition: ike_eap_mschapv2.c:52
error_t ikeProcessEapMschapv2Challenge(IkeSaEntry *sa, const IkeEapMschapv2Challenge *challenge, size_t length)
Process EAP MS-CHAP-V2 Challenge packet.
Definition: ike_eap_mschapv2.c:101
void ikeEapMschapv2GenerateMasterSessionKey(const char_t *password, const uint8_t *ntResponse, uint8_t *masterSessionKey)
Generate master session key.
Definition: ike_eap_mschapv2.c:725
void ikeEapMschapv2GetAsymmetricStartKey(const uint8_t *masterKey, uint8_t *sessionKey, size_t sessionKeyLen, bool_t isSend)
GetAsymmetricStartKey routine.
Definition: ike_eap_mschapv2.c:809
void ikeEapMschapv2ChallengeResponse(const uint8_t *challenge, const uint8_t *passwordHash, uint8_t *response)
ChallengeResponse routine.
Definition: ike_eap_mschapv2.c:551
void ikeEapMschapv2GenerateAuthResponse(const char_t *password, const uint8_t *ntResponse, const uint8_t *peerChallenge, const uint8_t *authChallenge, const char_t *username, uint8_t *authResponse)
GenerateAuthenticatorResponse routine.
Definition: ike_eap_mschapv2.c:595
void ikeEapMschapv2NtPasswordHash(const char_t *password, uint8_t *passwordHash)
NtPasswordHash routine.
Definition: ike_eap_mschapv2.c:493
error_t ikeFormatEapMschapv2Response(IkeSaEntry *sa, uint8_t *p, size_t *written)
Format EAP MS-CHAP-V2 Response packet.
Definition: ike_eap_mschapv2.c:292
error_t ikeFormatEapMschapv2SuccessResponse(IkeSaEntry *sa, uint8_t *p, size_t *written)
Format EAP MS-CHAP-V2 Success Response packet.
Definition: ike_eap_mschapv2.c:370
IKEv2 (Internet Key Exchange Protocol)
error_t ikeProcessEapMschapv2FailureRequest(IkeSaEntry *sa, const IkeEapMschapv2FailureRequest *request, size_t length)
Process EAP MS-CHAP-V2 Failure Request packet.
Definition: ike_eap_mschapv2.c:254
void ikeEapMschapv2GetMasterKey(const uint8_t *passwordHashHash, const uint8_t *ntResponse, uint8_t *masterKey)
GetMasterKey routine.
Definition: ike_eap_mschapv2.c:771
void ikeEapMschapv2HashNtPasswordHash(const uint8_t *passwordHash, uint8_t *passwordHashHash)
HashNtPasswordHash routine.
Definition: ike_eap_mschapv2.c:530
void ikeEapMschapv2GenerateNtResponse(const uint8_t *authChallenge, const uint8_t *peerChallenge, const char_t *username, const char_t *password, uint8_t *response)
GenerateNTResponse routine.
Definition: ike_eap_mschapv2.c:439
void ikeEapMschapv2ChallengeHash(const uint8_t *peerChallenge, const uint8_t *authChallenge, const char_t *username, uint8_t *challenge)
ChallengeHash routine.
Definition: ike_eap_mschapv2.c:468
bool_t ikeEapMschapv2CheckAuthResponse(const char_t *password, const uint8_t *ntResponse, const uint8_t *peerChallenge, const uint8_t *authChallenge, const char_t *username, const uint8_t *receivedResponse)
CheckAuthenticatorResponse routine.
Definition: ike_eap_mschapv2.c:690
