Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
UERANSIM
Commits
053aba61
Commit
053aba61
authored
Feb 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USIM validation on authentication procedure
parent
7a4a2464
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
17 deletions
+19
-17
src/ue/mm/auth.cpp
src/ue/mm/auth.cpp
+19
-17
No files found.
src/ue/mm/auth.cpp
View file @
053aba61
...
...
@@ -17,6 +17,9 @@ namespace nr::ue
void
NasMm
::
receiveAuthenticationRequest
(
const
nas
::
AuthenticationRequest
&
msg
)
{
if
(
!
m_validSim
)
m_logger
->
warn
(
"Authentication request is ignored. USIM is invalid"
);
if
(
msg
.
eapMessage
.
has_value
())
receiveAuthenticationRequestEap
(
msg
);
else
...
...
@@ -428,5 +431,4 @@ crypto::milenage::Milenage NasMm::calculateMilenage(const OctetString &sqn, cons
return
crypto
::
milenage
::
Calculate
(
opc
,
m_base
->
config
->
key
,
rand
,
sqn
,
m_base
->
config
->
amf
);
}
}
\ No newline at end of file
}
// namespace nr::ue
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment