Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
80746369
Commit
80746369
authored
Aug 05, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5661
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
4afbe162
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
openair-cn/NAS/EURECOM-NAS/src/emm/Attach.c
openair-cn/NAS/EURECOM-NAS/src/emm/Attach.c
+14
-0
No files found.
openair-cn/NAS/EURECOM-NAS/src/emm/Attach.c
View file @
80746369
...
...
@@ -286,6 +286,8 @@ int emm_proc_attach(emm_proc_attach_type_t type)
if
(
_emm_data
.
security
->
type
!=
EMM_KSI_NOT_AVAILABLE
)
{
emm_as
->
ksi
=
_emm_data
.
security
->
eksi
;
}
LOG_TRACE
(
INFO
,
"EMM-PROC - encryption 0x%X"
,
_emm_data
.
security
->
capability
.
encryption
);
LOG_TRACE
(
INFO
,
"EMM-PROC - integrity 0x%X"
,
_emm_data
.
security
->
capability
.
integrity
);
emm_as
->
encryption
=
_emm_data
.
security
->
capability
.
encryption
;
emm_as
->
integrity
=
_emm_data
.
security
->
capability
.
integrity
;
}
...
...
@@ -2309,6 +2311,18 @@ static int _emm_attach_accept(emm_data_context_t *emm_ctx, attach_data_t *data)
/* Setup EPS NAS security data */
emm_as_set_security_data
(
&
emm_sap
.
u
.
emm_as
.
u
.
establish
.
sctx
,
emm_ctx
->
security
,
FALSE
,
TRUE
);
LOG_TRACE
(
INFO
,
"EMM-PROC - encryption = 0x%X "
,
emm_sap
.
u
.
emm_as
.
u
.
establish
.
encryption
);
LOG_TRACE
(
INFO
,
"EMM-PROC - integrity = 0x%X "
,
emm_sap
.
u
.
emm_as
.
u
.
establish
.
integrity
);
emm_sap
.
u
.
emm_as
.
u
.
establish
.
encryption
=
emm_ctx
->
security
->
selected_algorithms
.
encryption
;
emm_sap
.
u
.
emm_as
.
u
.
establish
.
integrity
=
emm_ctx
->
security
->
selected_algorithms
.
integrity
;
LOG_TRACE
(
INFO
,
"EMM-PROC - encryption = 0x%X (0x%X)"
,
emm_sap
.
u
.
emm_as
.
u
.
establish
.
encryption
,
emm_ctx
->
security
->
selected_algorithms
.
encryption
);
LOG_TRACE
(
INFO
,
"EMM-PROC - integrity = 0x%X (0x%X)"
,
emm_sap
.
u
.
emm_as
.
u
.
establish
.
integrity
,
emm_ctx
->
security
->
selected_algorithms
.
integrity
);
/* Get the activate default EPS bearer context request message to
* transfer within the ESM container of the attach accept message */
emm_sap
.
u
.
emm_as
.
u
.
establish
.
NASmsg
=
data
->
esm_msg
;
...
...
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