MSCHAPv2: Set keying material the proper way

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
2020-01-22 11:14:21 +01:00
parent f4e8ba88ae
commit d8cc9636b5
3 changed files with 24 additions and 7 deletions

View File

@@ -185,7 +185,15 @@ namespace eap
/// @}
friend class method_ttls; // Setting of initial challenge derived from TLS PRF
///
/// Called by EAP-TTLS to provide keying material.
///
/// \param[in] challenge_server MSCHAP server challenge
/// \param[in] ident Ident
///
void set_challenge_data(
_In_bytecount_c_(sizeof(challenge_mschapv2)) const unsigned char *challenge_server,
_In_ unsigned char ident);
protected:
///