Skip to content

Commit e57126f

Browse files
committed
[MBEDTLS] Switch license headers to the dual-licensed version. CORE-17155
This is the default going forward, and separating it out into its own commit removes the noise from the following sync commit.
1 parent cc7cf82 commit e57126f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+3720
-144
lines changed

dll/3rdparty/mbedtls/aes.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* FIPS-197 compliant AES implementation
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348
/*

dll/3rdparty/mbedtls/aesni.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* AES-NI support functions
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348

dll/3rdparty/mbedtls/arc4.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* An implementation of the ARCFOUR algorithm
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348
/*

dll/3rdparty/mbedtls/asn1parse.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* Generic ASN.1 parsing
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348

dll/3rdparty/mbedtls/asn1write.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* ASN.1 buffer writing functionality
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348

dll/3rdparty/mbedtls/base64.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* RFC 1521 base64 encoding/decoding
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348

dll/3rdparty/mbedtls/bignum.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* Multi-precision integer library
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348

dll/3rdparty/mbedtls/blowfish.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* Blowfish implementation
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348
/*

dll/3rdparty/mbedtls/camellia.c

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22
* Camellia implementation
33
*
44
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5-
* SPDX-License-Identifier: GPL-2.0
5+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6+
*
7+
* This file is provided under the Apache License 2.0, or the
8+
* GNU General Public License v2.0 or later.
9+
*
10+
* **********
11+
* Apache License 2.0:
12+
*
13+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
14+
* not use this file except in compliance with the License.
15+
* You may obtain a copy of the License at
16+
*
17+
* http://www.apache.org/licenses/LICENSE-2.0
18+
*
19+
* Unless required by applicable law or agreed to in writing, software
20+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22+
* See the License for the specific language governing permissions and
23+
* limitations under the License.
24+
*
25+
* **********
26+
*
27+
* **********
28+
* GNU General Public License v2.0 or later:
629
*
730
* This program is free software; you can redistribute it and/or modify
831
* it under the terms of the GNU General Public License as published by
@@ -18,6 +41,8 @@
1841
* with this program; if not, write to the Free Software Foundation, Inc.,
1942
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2043
*
44+
* **********
45+
*
2146
* This file is part of mbed TLS (https://tls.mbed.org)
2247
*/
2348
/*

0 commit comments

Comments
 (0)