- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
19 lines
693 B
C
19 lines
693 B
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
typedef unsigned char u8;
|
|
|
|
/*--------------------------- prototypes --------------------------*/
|
|
void f1 ( u8 k[16], u8 rand[16], u8 sqn[6], u8 amf[2],
|
|
u8 mac_a[8], const u8 op[16]);
|
|
void f2345 ( u8 k[16], u8 rand[16],
|
|
u8 res[8], u8 ck[16], u8 ik[16], u8 ak[6], const u8 op[16]);
|
|
void f1star( u8 k[16], u8 rand[16], u8 sqn[6], u8 amf[2],
|
|
u8 mac_s[8], const u8 op[16]);
|
|
void f5star( u8 k[16], u8 rand[16],
|
|
u8 ak[6], const u8 op[16]);
|
|
void ComputeOPc(const u8 op[16], u8 op_c_pP[16] );
|
|
void RijndaelKeySchedule( u8 key[16] );
|
|
void RijndaelEncrypt(const u8 input[16], u8 output[16] );
|