License update

This commit is contained in:
Sukchan Lee 2020-11-12 20:58:08 -05:00
parent 961db54c2f
commit d7c188dc00
34 changed files with 267 additions and 358 deletions

View File

@ -1,4 +1,6 @@
/* /*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* The code is stolen from optparse * The code is stolen from optparse
* https://github.com/skeeto/optparse * https://github.com/skeeto/optparse
* *
@ -28,25 +30,6 @@
* For more information, please refer to <http://unlicense.org/> * For more information, please refer to <http://unlicense.org/>
*/ */
/*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "ogs-getopt.h" #include "ogs-getopt.h"
#define OGS_GETOPT_MSG_INVALID "invalid option" #define OGS_GETOPT_MSG_INVALID "invalid option"

View File

@ -1,4 +1,6 @@
/* /*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* The code is stolen from optparse * The code is stolen from optparse
* https://github.com/skeeto/optparse * https://github.com/skeeto/optparse
* *
@ -28,25 +30,6 @@
* For more information, please refer to <http://unlicense.org/> * For more information, please refer to <http://unlicense.org/>
*/ */
/*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)
#error "This header cannot be included directly." #error "This header cannot be included directly."
#endif #endif

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "ogs-core.h" #include "ogs-core.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "ogs-core.h" #include "ogs-core.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -1,4 +1,6 @@
/* /*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* The code is stolen from process.h * The code is stolen from process.h
* https://github.com/sheredom/process.h * https://github.com/sheredom/process.h
* *
@ -28,25 +30,6 @@
* For more information, please refer to <http://unlicense.org/> * For more information, please refer to <http://unlicense.org/>
*/ */
/*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "core-config-private.h" #include "core-config-private.h"
#if HAVE_SYS_WAIT_H #if HAVE_SYS_WAIT_H

View File

@ -1,4 +1,6 @@
/* /*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* The code is stolen from process.h * The code is stolen from process.h
* https://github.com/sheredom/process.h * https://github.com/sheredom/process.h
* *
@ -28,25 +30,6 @@
* For more information, please refer to <http://unlicense.org/> * For more information, please refer to <http://unlicense.org/>
*/ */
/*
* Copyright (C) 2019-2020 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)
#error "This header cannot be included directly." #error "This header cannot be included directly."
#endif #endif

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "ogs-core.h" #include "ogs-core.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "core-config-private.h" #include "core-config-private.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "core-config-private.h" #include "core-config-private.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -30,7 +30,7 @@
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *

View File

@ -30,7 +30,7 @@
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *

View File

@ -43,18 +43,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#ifdef __APPLE__ #ifdef __APPLE__

View File

@ -43,18 +43,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "core-config-private.h" #include "core-config-private.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION) #if !defined(OGS_CORE_INSIDE) && !defined(OGS_CORE_COMPILATION)

View File

@ -12,19 +12,19 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "ogs-crypt.h" #include "ogs-crypt.h"
#if (OGS_AES_BLOCK_SIZE != 16) #if (OGS_AES_BLOCK_SIZE != 16)

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "ogs-crypt.h" #include "ogs-crypt.h"

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#include "ogs-crypt.h" #include "ogs-crypt.h"

View File

@ -19,18 +19,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)

View File

@ -12,19 +12,19 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
/*- /*-
* HMAC-SHA-224/256/384/512 implementation * HMAC-SHA-224/256/384/512 implementation
* Last update: 06/15/2005 * Last update: 06/15/2005

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)

View File

@ -12,19 +12,19 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
/* /*
* sha1.c * sha1.c
* *

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)

View File

@ -12,19 +12,19 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
/*- /*-
* HMAC-SHA-224/256/384/512 implementation * HMAC-SHA-224/256/384/512 implementation
* Last update: 06/15/2005 * Last update: 06/15/2005

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)

View File

@ -12,19 +12,19 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
/* /*
* FIPS 180-2 SHA-224/256/384/512 implementation * FIPS 180-2 SHA-224/256/384/512 implementation
* Last update: 02/02/2007 * Last update: 02/02/2007

View File

@ -12,18 +12,17 @@
* *
* This file is part of Open5GS. * This file is part of Open5GS.
* *
* This program is free software: you can redistribute it and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License as published by * you may not use this file except in compliance with the License.
* the Free Software Foundation, either version 3 of the License, or * You may obtain a copy of the License at
* (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * http://www.apache.org/licenses/LICENSE-2.0
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <https://www.gnu.org/licenses/>. * 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.
*/ */
#if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION) #if !defined(OGS_CRYPT_INSIDE) && !defined(OGS_CRYPT_COMPILATION)