Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
authentication_security
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
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
liuxu
authentication_security
Commits
a86bbb9f
Commit
a86bbb9f
authored
Sep 15, 2023
by
liuxu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tinker 230915
parent
30e2cf7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Au_Sec/src/authen_sec.c
Au_Sec/src/authen_sec.c
+2
-2
No files found.
Au_Sec/src/authen_sec.c
View file @
a86bbb9f
...
@@ -1551,7 +1551,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in
...
@@ -1551,7 +1551,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in
_security_knas_enc
(
kasme
,
knas_enc
,
NAS_SECURITY_ALGORITHMS_EEA0
);
_security_knas_enc
(
kasme
,
knas_enc
,
NAS_SECURITY_ALGORITHMS_EEA0
);
printf
(
"knas_enc:
\n
"
);
printf
(
"knas_enc:
\n
"
);
for
(
int
i
=
0
;
i
<
32
;
i
++
){
for
(
int
i
=
0
;
i
<
16
;
i
++
){
printf
(
"%02x "
,
knas_enc
[
i
]);
printf
(
"%02x "
,
knas_enc
[
i
]);
}
}
printf
(
"
\n
"
);
printf
(
"
\n
"
);
...
@@ -1559,7 +1559,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in
...
@@ -1559,7 +1559,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in
_security_knas_int
(
kasme
,
knas_int
,
NAS_SECURITY_ALGORITHMS_EIA2
);
_security_knas_int
(
kasme
,
knas_int
,
NAS_SECURITY_ALGORITHMS_EIA2
);
printf
(
"knas_int:
\n
"
);
printf
(
"knas_int:
\n
"
);
for
(
int
i
=
0
;
i
<
32
;
i
++
){
for
(
int
i
=
0
;
i
<
16
;
i
++
){
printf
(
"%02x "
,
knas_int
[
i
]);
printf
(
"%02x "
,
knas_int
[
i
]);
}
}
printf
(
"
\n
"
);
printf
(
"
\n
"
);
...
...
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