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
35d6bc81
Commit
35d6bc81
authored
Jun 26, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5439
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
6cbd85f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
openair-cn/NAS/EURECOM-NAS/src/emm/Makefile
openair-cn/NAS/EURECOM-NAS/src/emm/Makefile
+14
-2
openair-cn/NAS/EURECOM-NAS/src/emm/SecurityModeControl.c
openair-cn/NAS/EURECOM-NAS/src/emm/SecurityModeControl.c
+4
-4
No files found.
openair-cn/NAS/EURECOM-NAS/src/emm/Makefile
View file @
35d6bc81
...
...
@@ -5,8 +5,20 @@ endif
include
$(PROJDIR)/Makerules
include
$(PROJDIR)/Makefile.inc
INCLUDES
=
-I
.
-I
$(INCDIR)
-I
$(UTILDIR)
-I
$(USIMAPIDIR)
-I
$(MMEAPIDIR)
\
-I
$(ESMDIR)
-I
$(EMMSAPDIR)
-I
$(ESMDIR)
-I
$(ESMSAPDIR)
-I
$(EMMMSGDIR)
-I
$(IESDIR)
INCLUDES
=
-I
.
\
-I
$(INCDIR)
\
-I
$(UTILDIR)
\
-I
$(USIMAPIDIR)
\
-I
$(MMEAPIDIR)
\
-I
$(ESMDIR)
\
-I
$(EMMSAPDIR)
\
-I
$(ESMDIR)
\
-I
$(ESMSAPDIR)
\
-I
$(EMMMSGDIR)
\
-I
$(IESDIR)
\
-I
$(OPENAIRCN_DIR)
/COMMON
\
-I
$(OPENAIRCN_DIR)
/SECU
all
:
$(OBJS)
@
$(CD)
$(EMMMSGDIR)
&&
$(MAKE)
...
...
openair-cn/NAS/EURECOM-NAS/src/emm/SecurityModeControl.c
View file @
35d6bc81
...
...
@@ -435,9 +435,9 @@ int emm_proc_security_mode_control(unsigned int ueid, int ksi, int eea, int eia,
if
(
!
emm_ctx
->
security
->
knas_int
.
value
)
{
emm_ctx
->
security
->
knas_int
.
value
=
malloc
(
AUTH_KNAS_INT_SIZE
);
}
else
{
AssertFatal
(
emm_ctx
->
security
->
knas_int
.
length
>=
AUTH_KNAS_INT_SIZE
,
LOG_TRACE
(
ERROR
,
" TODO realloc emm_ctx->security->knas_int OctetString"
);
LOG_FUNC_RETURN
(
RETURNerror
);
}
emm_ctx
->
security
->
knas_int
.
length
=
AUTH_KNAS_INT_SIZE
;
derive_key_nas
(
...
...
@@ -449,9 +449,9 @@ int emm_proc_security_mode_control(unsigned int ueid, int ksi, int eea, int eia,
if
(
!
emm_ctx
->
security
->
knas_enc
.
value
)
{
emm_ctx
->
security
->
knas_enc
.
value
=
malloc
(
AUTH_KNAS_ENC_SIZE
);
}
else
{
AssertFatal
(
emm_ctx
->
security
->
knas_enc
.
length
>=
AUTH_KNAS_ENC_SIZE
,
LOG_TRACE
(
ERROR
,
" TODO realloc emm_ctx->security->knas_enc OctetString"
);
LOG_FUNC_RETURN
(
RETURNerror
);
}
emm_ctx
->
security
->
knas_enc
.
length
=
AUTH_KNAS_ENC_SIZE
;
derive_key_nas
(
...
...
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