Skip to content

Commit e3c0585

Browse files
committed
Header updates
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
1 parent 1ec6906 commit e3c0585

File tree

524 files changed

+527
-6779
lines changed

Some content is hidden

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

524 files changed

+527
-6779
lines changed

.uncrustify.cfg

+1-13
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
# to Mbed TLS.
55
#
66
# Copyright The Mbed TLS Contributors
7-
# SPDX-License-Identifier: Apache-2.0
8-
#
9-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
10-
# not use this file except in compliance with the License.
11-
# You may obtain a copy of the License at
12-
#
13-
# http://www.apache.org/licenses/LICENSE-2.0
14-
#
15-
# Unless required by applicable law or agreed to in writing, software
16-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18-
# See the License for the specific language governing permissions and
19-
# limitations under the License.
7+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
208

219

2210
# Wrap lines at 100 characters

3rdparty/p256-m/p256-m/p256-m.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright The Mbed TLS Contributors
55
* Author: Manuel Pégourié-Gonnard.
6-
* SPDX-License-Identifier: Apache-2.0
6+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
77
*/
88

99
#include "p256-m.h"

3rdparty/p256-m/p256-m/p256-m.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright The Mbed TLS Contributors
55
* Author: Manuel Pégourié-Gonnard.
6-
* SPDX-License-Identifier: Apache-2.0
6+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
77
*/
88
#ifndef P256_M_H
99
#define P256_M_H

3rdparty/p256-m/p256-m_driver_entrypoints.c

+1-13
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,7 @@
33
*/
44
/*
55
* Copyright The Mbed TLS Contributors
6-
* SPDX-License-Identifier: Apache-2.0
7-
*
8-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
9-
* not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
11-
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
13-
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
18-
* limitations under the License.
6+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
197
*/
208

219
#include "mbedtls/platform.h"

3rdparty/p256-m/p256-m_driver_entrypoints.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,7 @@
33
*/
44
/*
55
* Copyright The Mbed TLS Contributors
6-
* SPDX-License-Identifier: Apache-2.0
7-
*
8-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
9-
* not use this file except in compliance with the License.
10-
* You may obtain a copy of the License at
11-
*
12-
* http://www.apache.org/licenses/LICENSE-2.0
13-
*
14-
* Unless required by applicable law or agreed to in writing, software
15-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17-
* See the License for the specific language governing permissions and
18-
* limitations under the License.
6+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
197
*/
208

219
#ifndef P256M_DRIVER_ENTRYPOINTS_H

configs/config-ccm-psk-dtls1_2.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,7 @@
55
*/
66
/*
77
* Copyright The Mbed TLS Contributors
8-
* SPDX-License-Identifier: Apache-2.0
9-
*
10-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
11-
* not use this file except in compliance with the License.
12-
* You may obtain a copy of the License at
13-
*
14-
* http://www.apache.org/licenses/LICENSE-2.0
15-
*
16-
* Unless required by applicable law or agreed to in writing, software
17-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19-
* See the License for the specific language governing permissions and
20-
* limitations under the License.
8+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
219
*/
2210
/*
2311
* Minimal configuration for DTLS 1.2 with PSK and AES-CCM ciphersuites

configs/config-ccm-psk-tls1_2.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,7 @@
55
*/
66
/*
77
* Copyright The Mbed TLS Contributors
8-
* SPDX-License-Identifier: Apache-2.0
9-
*
10-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
11-
* not use this file except in compliance with the License.
12-
* You may obtain a copy of the License at
13-
*
14-
* http://www.apache.org/licenses/LICENSE-2.0
15-
*
16-
* Unless required by applicable law or agreed to in writing, software
17-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19-
* See the License for the specific language governing permissions and
20-
* limitations under the License.
8+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
219
*/
2210
/*
2311
* Minimal configuration for TLS 1.2 with PSK and AES-CCM ciphersuites

configs/config-no-entropy.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,7 @@
55
*/
66
/*
77
* Copyright The Mbed TLS Contributors
8-
* SPDX-License-Identifier: Apache-2.0
9-
*
10-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
11-
* not use this file except in compliance with the License.
12-
* You may obtain a copy of the License at
13-
*
14-
* http://www.apache.org/licenses/LICENSE-2.0
15-
*
16-
* Unless required by applicable law or agreed to in writing, software
17-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19-
* See the License for the specific language governing permissions and
20-
* limitations under the License.
8+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
219
*/
2210
/*
2311
* Minimal configuration of features that do not require an entropy source

configs/config-suite-b.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,7 @@
55
*/
66
/*
77
* Copyright The Mbed TLS Contributors
8-
* SPDX-License-Identifier: Apache-2.0
9-
*
10-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
11-
* not use this file except in compliance with the License.
12-
* You may obtain a copy of the License at
13-
*
14-
* http://www.apache.org/licenses/LICENSE-2.0
15-
*
16-
* Unless required by applicable law or agreed to in writing, software
17-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19-
* See the License for the specific language governing permissions and
20-
* limitations under the License.
8+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
219
*/
2210
/*
2311
* Minimal configuration for TLS NSA Suite B Profile (RFC 6460)

configs/config-symmetric-only.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,7 @@
55
*/
66
/*
77
* Copyright The Mbed TLS Contributors
8-
* SPDX-License-Identifier: Apache-2.0
9-
*
10-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
11-
* not use this file except in compliance with the License.
12-
* You may obtain a copy of the License at
13-
*
14-
* http://www.apache.org/licenses/LICENSE-2.0
15-
*
16-
* Unless required by applicable law or agreed to in writing, software
17-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19-
* See the License for the specific language governing permissions and
20-
* limitations under the License.
8+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
219
*/
2210

2311
/* System support */

configs/config-thread.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,7 @@
55
*/
66
/*
77
* Copyright The Mbed TLS Contributors
8-
* SPDX-License-Identifier: Apache-2.0
9-
*
10-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
11-
* not use this file except in compliance with the License.
12-
* You may obtain a copy of the License at
13-
*
14-
* http://www.apache.org/licenses/LICENSE-2.0
15-
*
16-
* Unless required by applicable law or agreed to in writing, software
17-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19-
* See the License for the specific language governing permissions and
20-
* limitations under the License.
8+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
219
*/
2210

2311
/*

configs/crypto-config-ccm-aes-sha256.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
*/
77
/*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
#ifndef PSA_CRYPTO_CONFIG_H

configs/tfm_mbedcrypto_config_profile_medium.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,7 @@
99
*/
1010
/*
1111
* Copyright (C) 2006-2022, ARM Limited, All Rights Reserved
12-
* SPDX-License-Identifier: Apache-2.0
13-
*
14-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
15-
* not use this file except in compliance with the License.
16-
* You may obtain a copy of the License at
17-
*
18-
* http://www.apache.org/licenses/LICENSE-2.0
19-
*
20-
* Unless required by applicable law or agreed to in writing, software
21-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
22-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23-
* See the License for the specific language governing permissions and
24-
* limitations under the License.
12+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2513
*
2614
* This file is part of mbed TLS (https://tls.mbed.org)
2715
*/

docs/architecture/psa-migration/syms.sh

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
11
#!/bin/sh
22
#
33
# Copyright The Mbed TLS Contributors
4-
# SPDX-License-Identifier: Apache-2.0
5-
#
6-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
7-
# not use this file except in compliance with the License.
8-
# You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing, software
13-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
# See the License for the specific language governing permissions and
16-
# limitations under the License.
4+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
175
#
186
# Purpose
197
#

doxygen/input/doc_encdec.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
/*
77
*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
/**

doxygen/input/doc_hashing.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
/*
77
*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
/**

doxygen/input/doc_mainpage.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
/*
77
*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
/**

doxygen/input/doc_rng.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
/*
77
*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
/**

doxygen/input/doc_ssltls.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
/*
77
*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
/**

doxygen/input/doc_tcpip.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,7 @@
66
/*
77
*
88
* Copyright The Mbed TLS Contributors
9-
* SPDX-License-Identifier: Apache-2.0
10-
*
11-
* Licensed under the Apache License, Version 2.0 (the "License"); you may
12-
* not use this file except in compliance with the License.
13-
* You may obtain a copy of the License at
14-
*
15-
* http://www.apache.org/licenses/LICENSE-2.0
16-
*
17-
* Unless required by applicable law or agreed to in writing, software
18-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20-
* See the License for the specific language governing permissions and
21-
* limitations under the License.
9+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2210
*/
2311

2412
/**

0 commit comments

Comments
 (0)