Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
a4359cd8
Commit
a4359cd8
authored
Jul 27, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update license
parent
5bc32595
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
128 additions
and
129 deletions
+128
-129
src/common/3gpp_29.500.h
src/common/3gpp_29.500.h
+3
-2
src/common/3gpp_29.502.h
src/common/3gpp_29.502.h
+2
-2
src/common/3gpp_29.503.h
src/common/3gpp_29.503.h
+2
-2
src/common/3gpp_29.571.h
src/common/3gpp_29.571.h
+2
-2
src/common/amf.h
src/common/amf.h
+2
-2
src/common/dynamic_memory_check.h
src/common/dynamic_memory_check.h
+2
-2
src/common/nas/3gpp_24.007.h
src/common/nas/3gpp_24.007.h
+3
-2
src/common/nas/3gpp_33.401.h
src/common/nas/3gpp_33.401.h
+2
-2
src/common/nas/3gpp_36.401.h
src/common/nas/3gpp_36.401.h
+3
-2
src/common/nas/common_types.h
src/common/nas/common_types.h
+3
-2
src/common/nas/security_types.h
src/common/nas/security_types.h
+3
-2
src/common/smf.h
src/common/smf.h
+2
-2
src/common/utils/TLVDecoder.c
src/common/utils/TLVDecoder.c
+2
-2
src/common/utils/TLVDecoder.h
src/common/utils/TLVDecoder.h
+2
-2
src/common/utils/TLVEncoder.c
src/common/utils/TLVEncoder.c
+4
-4
src/common/utils/TLVEncoder.h
src/common/utils/TLVEncoder.h
+2
-2
src/common/utils/asn1_conversions.h
src/common/utils/asn1_conversions.h
+3
-2
src/common/utils/assertions.h
src/common/utils/assertions.h
+3
-2
src/common/utils/backtrace.c
src/common/utils/backtrace.c
+3
-2
src/common/utils/epc.cpp
src/common/utils/epc.cpp
+11
-5
src/common/utils/if.hpp
src/common/utils/if.hpp
+3
-2
src/common/utils/mime_parser.cpp
src/common/utils/mime_parser.cpp
+10
-4
src/common/utils/mime_parser.hpp
src/common/utils/mime_parser.hpp
+2
-2
src/nas/security/kdf.c
src/nas/security/kdf.c
+4
-4
src/nas/security/key_nas_deriver.c
src/nas/security/key_nas_deriver.c
+4
-4
src/nas/security/key_nas_encryption.c
src/nas/security/key_nas_encryption.c
+4
-4
src/nas/security/nas_stream_nea1.c
src/nas/security/nas_stream_nea1.c
+4
-4
src/nas/security/nas_stream_nea2.c
src/nas/security/nas_stream_nea2.c
+4
-4
src/nas/security/nas_stream_nia1.c
src/nas/security/nas_stream_nia1.c
+4
-26
src/nas/security/nas_stream_nia2.c
src/nas/security/nas_stream_nia2.c
+4
-4
src/nas/security/rijndael.c
src/nas/security/rijndael.c
+4
-4
src/nas/security/rijndael.h
src/nas/security/rijndael.h
+4
-4
src/nas/security/secu_defs.h
src/nas/security/secu_defs.h
+4
-4
src/nas/security/snow3g.c
src/nas/security/snow3g.c
+4
-4
src/nas/security/snow3g.h
src/nas/security/snow3g.h
+4
-4
src/nas/securityDef.h
src/nas/securityDef.h
+4
-4
src/pfcp/msg_pfcp.hpp
src/pfcp/msg_pfcp.hpp
+2
-2
No files found.
src/common/3gpp_29.500.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
#ifndef FILE_3GPP_29_500_SMF_SEEN
#define FILE_3GPP_29_500_SMF_SEEN
...
...
src/common/3gpp_29.502.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/3gpp_29.503.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/3gpp_29.571.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/amf.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/dynamic_memory_check.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/nas/3gpp_24.007.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -18,6 +18,7 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#ifndef FILE_3GPP_24_007_SEEN
#define FILE_3GPP_24_007_SEEN
...
...
src/common/nas/3gpp_33.401.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/nas/3gpp_36.401.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
/*! \file 3gpp_36.401.h
\brief
\author Lionel Gauthier
...
...
src/common/nas/common_types.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
#ifndef FILE_COMMON_TYPES_SEEN
#define FILE_COMMON_TYPES_SEEN
...
...
src/common/nas/security_types.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
/*! \file security_types.h
\brief
\author Sebastien ROUX, Lionel Gauthier
...
...
src/common/smf.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/utils/TLVDecoder.c
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/utils/TLVDecoder.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/utils/TLVEncoder.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/utils/TLVEncoder.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/common/utils/asn1_conversions.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
/*! \file asn1_conversions.h
\brief
\author Sebastien ROUX, Lionel Gauthier
...
...
src/common/utils/assertions.h
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
...
...
src/common/utils/backtrace.c
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
...
...
src/common/utils/epc.cpp
View file @
a4359cd8
/*
* Copyright (c) 2017 Sprint
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
*
http://www.apache.org/licenses/LICENSE-2.0
*
http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#include <stdlib.h>
#include <iostream>
...
...
src/common/utils/if.hpp
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,6 +19,7 @@
* contact@openairinterface.org
*/
/*! \file get_gateway_netlink.h
\brief
\author Lionel Gauthier
...
...
src/common/utils/mime_parser.cpp
View file @
a4359cd8
/* From https://gist.github.com/javiermon/6272065#file-gateway_netlink-c */
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
*
http://www.apache.org/licenses/LICENSE-2.0
*
http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#include "mime_parser.hpp"
...
...
src/common/utils/mime_parser.hpp
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/kdf.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/key_nas_deriver.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/key_nas_encryption.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/nas_stream_nea1.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/nas_stream_nea2.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/nas_stream_nia1.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -187,38 +187,18 @@ nas_stream_encrypt_nia1 (
IV
[
2
]
=
((((
uint32_t
)
stream_cipher
->
bearer
)
&
0x0000001F
)
<<
27
);
IV
[
1
]
=
(
uint32_t
)
(
stream_cipher
->
count
)
^
((
uint32_t
)
(
stream_cipher
->
direction
)
<<
31
);
IV
[
0
]
=
((((
uint32_t
)
stream_cipher
->
bearer
)
&
0x0000001F
)
<<
27
)
^
((
uint32_t
)
(
stream_cipher
->
direction
&
0x00000001
)
<<
15
);
//printf ("K:\n");
//hexprint(K, 16);
//printf ("K[0]:%08X\n",K[0]);
//printf ("K[1]:%08X\n",K[1]);
//printf ("K[2]:%08X\n",K[2]);
//printf ("K[3]:%08X\n",K[3]);
//printf ("IV:\n");
//hexprint(IV, 16);
//printf ("IV[0]:%08X\n",IV[0]);
//printf ("IV[1]:%08X\n",IV[1]);
//printf ("IV[2]:%08X\n",IV[2]);
//printf ("IV[3]:%08X\n",IV[3]);
z
[
0
]
=
z
[
1
]
=
z
[
2
]
=
z
[
3
]
=
z
[
4
]
=
0
;
/*
* Run SNOW 3G to produce 5 keystream words z_1, z_2, z_3, z_4 and z_5.
*/
snow3g_initialize
(
K
,
IV
,
&
snow_3g_context
);
snow3g_generate_key_stream
(
5
,
z
,
&
snow_3g_context
);
//printf ("z[0]:%08X\n",z[0]);
//printf ("z[1]:%08X\n",z[1]);
//printf ("z[2]:%08X\n",z[2]);
//printf ("z[3]:%08X\n",z[3]);
//printf ("z[4]:%08X\n",z[4]);
P
=
((
uint64_t
)
z
[
0
]
<<
32
)
|
(
uint64_t
)
z
[
1
];
Q
=
((
uint64_t
)
z
[
2
]
<<
32
)
|
(
uint64_t
)
z
[
3
];
//printf ("P:%16lX\n",P);
//printf ("Q:%16lX\n",Q);
/*
* Calculation
*/
D
=
ceil
(
stream_cipher
->
blength
/
64
.
0
)
+
1
;
//printf ("D:%d\n",D);
EVAL
=
0
;
c
=
0x1b
;
...
...
@@ -228,7 +208,6 @@ nas_stream_encrypt_nia1 (
for
(
i
=
0
;
i
<
D
-
2
;
i
++
)
{
V
=
EVAL
^
((
uint64_t
)
hton_int32
(
message
[
2
*
i
])
<<
32
|
(
uint64_t
)
hton_int32
(
message
[
2
*
i
+
1
]));
EVAL
=
MUL64
(
V
,
P
,
c
);
//printf ("Mi: %16X %16X\tEVAL: %16lX\n",hton_int32(message[2*i]),hton_int32(message[2*i+1]), EVAL);
}
/*
...
...
@@ -258,7 +237,6 @@ nas_stream_encrypt_nia1 (
*/
EVAL
=
MUL64
(
EVAL
,
Q
,
c
);
MAC_I
=
(
uint32_t
)
(
EVAL
>>
32
)
^
z
[
4
];
//printf ("MAC_I:%16X\n",MAC_I);
MAC_I
=
hton_int32
(
MAC_I
);
memcpy
((
void
*
)
out
,
&
MAC_I
,
4
);
return
0
;
...
...
src/nas/security/nas_stream_nia2.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/rijndael.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/rijndael.h
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/secu_defs.h
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/snow3g.c
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/security/snow3g.h
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/nas/securityDef.h
View file @
a4359cd8
...
...
@@ -2,12 +2,12 @@
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* except in compliance with the License.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
src/pfcp/msg_pfcp.hpp
View file @
a4359cd8
...
...
@@ -3,11 +3,11 @@
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the
Apache License, Version 2.0
(the "License"); you may not use this file
* the
OAI Public License, Version 1.1
(the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.
apache.org/licenses/LICENSE-2.0
* http://www.
openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
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