Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AUSF
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
OpenXG
OpenXG-AUSF
Commits
d1a55d41
Commit
d1a55d41
authored
May 25, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
9a05b739
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
13 deletions
+1
-13
src/5gaka/authentication_algorithms_with_5gaka.cpp
src/5gaka/authentication_algorithms_with_5gaka.cpp
+1
-1
src/5gaka/f12345.h
src/5gaka/f12345.h
+0
-2
src/ausf_app/ausf_app.cpp
src/ausf_app/ausf_app.cpp
+0
-10
No files found.
src/5gaka/authentication_algorithms_with_5gaka.cpp
View file @
d1a55d41
...
@@ -606,8 +606,8 @@ void Authentication_5gaka::generate_random(uint8_t* random_p, ssize_t length) {
...
@@ -606,8 +606,8 @@ void Authentication_5gaka::generate_random(uint8_t* random_p, ssize_t length) {
random_p
[
i
]
=
(
r
&
mask
)
>>
shift
;
random_p
[
i
]
=
(
r
&
mask
)
>>
shift
;
}
}
}
}
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
/*---------------------ausf-----------------------------*/
/*---------------------ausf-----------------------------*/
Sha256
ctx
;
Sha256
ctx
;
void
Authentication_5gaka
::
sha256
(
void
Authentication_5gaka
::
sha256
(
...
...
src/5gaka/f12345.h
View file @
d1a55d41
...
@@ -56,8 +56,6 @@ u8 OP[16] = {0x63, 0xbf, 0xa5, 0x0e, 0xe6, 0x52, 0x33, 0x65,
...
@@ -56,8 +56,6 @@ u8 OP[16] = {0x63, 0xbf, 0xa5, 0x0e, 0xe6, 0x52, 0x33, 0x65,
0xff
,
0x14
,
0xc1
,
0xf4
,
0x5f
,
0x88
,
0x73
,
0x7d
};
0xff
,
0x14
,
0xc1
,
0xf4
,
0x5f
,
0x88
,
0x73
,
0x7d
};
/*------- Insert your value of OP here -------*/
/*------- Insert your value of OP here -------*/
// u8 op_c[16] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,
// 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f};
uint8_t
op_c
[
16
]
=
{
0xcd
,
0x63
,
0xcb
,
0x71
,
0x95
,
0x4a
,
0x9f
,
0x4e
,
uint8_t
op_c
[
16
]
=
{
0xcd
,
0x63
,
0xcb
,
0x71
,
0x95
,
0x4a
,
0x9f
,
0x4e
,
0x48
,
0xa5
,
0x99
,
0x4e
,
0x37
,
0xa0
,
0x2b
,
0xaf
};
0x48
,
0xa5
,
0x99
,
0x4e
,
0x37
,
0xa0
,
0x2b
,
0xaf
};
/*--------------------------- prototypes --------------------------*/
/*--------------------------- prototypes --------------------------*/
...
...
src/ausf_app/ausf_app.cpp
View file @
d1a55d41
...
@@ -30,15 +30,6 @@
...
@@ -30,15 +30,6 @@
#include "ausf_app.hpp"
#include "ausf_app.hpp"
#include <unistd.h>
#include <unistd.h>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/date_time/posix_time/time_formatters.hpp>
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <chrono>
#include "logger.hpp"
#include "logger.hpp"
#include "ausf_client.hpp"
#include "ausf_client.hpp"
#include "ProblemDetails.h"
#include "ProblemDetails.h"
...
@@ -54,7 +45,6 @@
...
@@ -54,7 +45,6 @@
using
namespace
std
;
using
namespace
std
;
using
namespace
oai
::
ausf
::
app
;
using
namespace
oai
::
ausf
::
app
;
using
namespace
std
::
chrono
;
extern
ausf_app
*
ausf_app_inst
;
extern
ausf_app
*
ausf_app_inst
;
ausf_client
*
ausf_client_inst
=
nullptr
;
ausf_client
*
ausf_client_inst
=
nullptr
;
...
...
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