Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-AMF
Commits
15ba283c
Commit
15ba283c
authored
Mar 29, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UL count
parent
e0d5966d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+2
-2
No files found.
src/amf-app/amf_n1.cpp
View file @
15ba283c
...
...
@@ -325,7 +325,7 @@ void amf_n1::handle_itti_message(itti_downlink_nas_transfer& itti_msg) {
uint32_t
ulcount
=
nc
->
security_ctx
.
value
().
ul_count
.
seq_num
|
(
nc
->
security_ctx
.
value
().
ul_count
.
overflow
<<
8
);
Authentication_5gaka
::
derive_kgnb
(
0
,
0x01
,
kamf
,
kgnb
);
// TODO: remove hardcoded value
ulcount
,
0x01
,
kamf
,
kgnb
);
// TODO: remove hardcoded value
output_wrapper
::
print_buffer
(
"amf_n1"
,
"Kamf"
,
kamf
,
AUTH_VECTOR_LENGTH_OCTETS
);
...
...
@@ -3153,7 +3153,7 @@ void amf_n1::security_mode_complete_handle(
uint32_t
ulcount
=
nc
->
security_ctx
.
value
().
ul_count
.
seq_num
|
(
nc
->
security_ctx
.
value
().
ul_count
.
overflow
<<
8
);
Authentication_5gaka
::
derive_kgnb
(
0
,
0x01
,
kamf
,
kgnb
);
// TODO: remove harcoded value
ulcount
,
0x01
,
kamf
,
kgnb
);
// TODO: remove harcoded value
output_wrapper
::
print_buffer
(
"amf_n1"
,
"Kamf"
,
kamf
,
AUTH_VECTOR_LENGTH_OCTETS
);
...
...
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