Commit 6a9f533b authored by aligungr's avatar aligungr

Authentication abnormal case handling

parent 64374bad
......@@ -484,4 +484,12 @@ crypto::milenage::Milenage NasMm::calculateMilenage(const OctetString &sqn, cons
return crypto::milenage::Calculate(opc, m_base->config->key, rand, sqn, amf);
}
void NasMm::networkFailingTheAuth()
{
m_logger->err("Network failing the authentication check");
localReleaseConnection();
// TODO: treat the active cell as barred
}
} // namespace nr::ue
\ No newline at end of file
......@@ -116,6 +116,7 @@ class NasMm
void receiveEapResponseMessage(const eap::Eap &eap);
EAutnValidationRes validateAutn(const OctetString &rand, const OctetString &autn);
crypto::milenage::Milenage calculateMilenage(const OctetString &sqn, const OctetString &rand, bool dummyAmf);
void networkFailingTheAuth();
private: /* Security */
void receiveSecurityModeCommand(const nas::SecurityModeCommand &msg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment