Skip to content

Commit 4120975

Browse files
author
me-no-dev
committed
IDF release/v3.3 7c8602753
1 parent dacfbd4 commit 4120975

File tree

142 files changed

+260
-264
lines changed

Some content is hidden

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

142 files changed

+260
-264
lines changed

tools/sdk/include/config/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,5 +397,5 @@
397397
#define CONFIG_BTDM_MODEM_SLEEP_MODE_ORIG 1
398398
#define CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_ERROR 1
399399
#define CONFIG_FATFS_API_ENCODING_ANSI_OEM 1
400-
#define CONFIG_ARDUINO_IDF_COMMIT "85c43024c"
400+
#define CONFIG_ARDUINO_IDF_COMMIT "7c8602753"
401401
#define CONFIG_ARDUINO_IDF_BRANCH "release/v3.3"

tools/sdk/include/mbedtls/mbedtls/aes.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
/*
24-
* Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved.
24+
* Copyright The Mbed TLS Contributors
2525
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
2626
*
2727
* This file is provided under the Apache License 2.0, or the
@@ -62,8 +62,6 @@
6262
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
6363
*
6464
* **********
65-
*
66-
* This file is part of Mbed TLS (https://tls.mbed.org)
6765
*/
6866

6967
#ifndef MBEDTLS_AES_H

tools/sdk/include/mbedtls/mbedtls/aesni.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* functions; you must not call them directly.
88
*/
99
/*
10-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
10+
* Copyright The Mbed TLS Contributors
1111
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1212
*
1313
* This file is provided under the Apache License 2.0, or the
@@ -48,8 +48,6 @@
4848
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4949
*
5050
* **********
51-
*
52-
* This file is part of mbed TLS (https://tls.mbed.org)
5351
*/
5452
#ifndef MBEDTLS_AESNI_H
5553
#define MBEDTLS_AESNI_H

tools/sdk/include/mbedtls/mbedtls/arc4.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* security risk. We recommend considering stronger ciphers instead.
88
*/
99
/*
10-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
10+
* Copyright The Mbed TLS Contributors
1111
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1212
*
1313
* This file is provided under the Apache License 2.0, or the
@@ -49,8 +49,6 @@
4949
*
5050
* **********
5151
*
52-
* This file is part of mbed TLS (https://tls.mbed.org)
53-
*
5452
*/
5553
#ifndef MBEDTLS_ARC4_H
5654
#define MBEDTLS_ARC4_H

tools/sdk/include/mbedtls/mbedtls/aria.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* and also described by the IETF in <em>RFC 5794</em>.
1111
*/
1212
/*
13-
* Copyright (C) 2006-2018, ARM Limited, All Rights Reserved
13+
* Copyright The Mbed TLS Contributors
1414
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1515
*
1616
* This file is provided under the Apache License 2.0, or the
@@ -51,8 +51,6 @@
5151
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5252
*
5353
* **********
54-
*
55-
* This file is part of mbed TLS (https://tls.mbed.org)
5654
*/
5755

5856
#ifndef MBEDTLS_ARIA_H

tools/sdk/include/mbedtls/mbedtls/asn1.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Generic ASN.1 parsing
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_ASN1_H
5250
#define MBEDTLS_ASN1_H

tools/sdk/include/mbedtls/mbedtls/asn1write.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief ASN.1 buffer writing functionality
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_ASN1_WRITE_H
5250
#define MBEDTLS_ASN1_WRITE_H

tools/sdk/include/mbedtls/mbedtls/base64.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief RFC 1521 base64 encoding/decoding
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_BASE64_H
5250
#define MBEDTLS_BASE64_H

tools/sdk/include/mbedtls/mbedtls/bignum.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Multi-precision integer library
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_BIGNUM_H
5250
#define MBEDTLS_BIGNUM_H
@@ -90,12 +88,12 @@
9088
* Maximum window size used for modular exponentiation. Default: 6
9189
* Minimum value: 1. Maximum value: 6.
9290
*
93-
* Result is an array of ( 2 << MBEDTLS_MPI_WINDOW_SIZE ) MPIs used
91+
* Result is an array of ( 2 ** MBEDTLS_MPI_WINDOW_SIZE ) MPIs used
9492
* for the sliding window calculation. (So 64 by default)
9593
*
9694
* Reduction in size, reduces speed.
9795
*/
98-
#define MBEDTLS_MPI_WINDOW_SIZE 6 /**< Maximum windows size used. */
96+
#define MBEDTLS_MPI_WINDOW_SIZE 6 /**< Maximum window size used. */
9997
#endif /* !MBEDTLS_MPI_WINDOW_SIZE */
10098

10199
#if !defined(MBEDTLS_MPI_MAX_SIZE)

tools/sdk/include/mbedtls/mbedtls/blowfish.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Blowfish block cipher
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_BLOWFISH_H
5250
#define MBEDTLS_BLOWFISH_H

tools/sdk/include/mbedtls/mbedtls/bn_mul.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Multi-precision integer library
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
/*
5250
* Multiply source vector [s] with b, add result

tools/sdk/include/mbedtls/mbedtls/camellia.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Camellia block cipher
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_CAMELLIA_H
5250
#define MBEDTLS_CAMELLIA_H

tools/sdk/include/mbedtls/mbedtls/ccm.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* consistent with RFC 3610.
2929
*/
3030
/*
31-
* Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved
31+
* Copyright The Mbed TLS Contributors
3232
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
3333
*
3434
* This file is provided under the Apache License 2.0, or the
@@ -69,8 +69,6 @@
6969
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
7070
*
7171
* **********
72-
*
73-
* This file is part of Mbed TLS (https://tls.mbed.org)
7472
*/
7573

7674
#ifndef MBEDTLS_CCM_H
@@ -177,7 +175,7 @@ void mbedtls_ccm_free( mbedtls_ccm_context *ctx );
177175
* than zero, \p output must be a writable buffer of at least
178176
* that length.
179177
* \param tag The buffer holding the authentication field. This must be a
180-
* readable buffer of at least \p tag_len Bytes.
178+
* writable buffer of at least \p tag_len Bytes.
181179
* \param tag_len The length of the authentication field to generate in Bytes:
182180
* 4, 6, 8, 10, 12, 14 or 16.
183181
*
@@ -222,7 +220,7 @@ int mbedtls_ccm_encrypt_and_tag( mbedtls_ccm_context *ctx, size_t length,
222220
* than zero, \p output must be a writable buffer of at least
223221
* that length.
224222
* \param tag The buffer holding the authentication field. This must be a
225-
* readable buffer of at least \p tag_len Bytes.
223+
* writable buffer of at least \p tag_len Bytes.
226224
* \param tag_len The length of the authentication field to generate in Bytes:
227225
* 0, 4, 6, 8, 10, 12, 14 or 16.
228226
*

tools/sdk/include/mbedtls/mbedtls/certs.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Sample certificates and DHM parameters for testing
55
*/
66
/*
7-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149
#ifndef MBEDTLS_CERTS_H
5250
#define MBEDTLS_CERTS_H

tools/sdk/include/mbedtls/mbedtls/chacha20.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
/*
16-
* Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved.
16+
* Copyright The Mbed TLS Contributors
1717
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1818
*
1919
* This file is provided under the Apache License 2.0, or the
@@ -54,8 +54,6 @@
5454
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5555
*
5656
* **********
57-
*
58-
* This file is part of Mbed TLS (https://tls.mbed.org)
5957
*/
6058

6159
#ifndef MBEDTLS_CHACHA20_H

tools/sdk/include/mbedtls/mbedtls/chachapoly.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
/*
16-
* Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved.
16+
* Copyright The Mbed TLS Contributors
1717
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1818
*
1919
* This file is provided under the Apache License 2.0, or the
@@ -54,8 +54,6 @@
5454
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5555
*
5656
* **********
57-
*
58-
* This file is part of Mbed TLS (https://tls.mbed.org)
5957
*/
6058

6159
#ifndef MBEDTLS_CHACHAPOLY_H

tools/sdk/include/mbedtls/mbedtls/check_config.h

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* \brief Consistency checks for configuration options
55
*/
66
/*
7-
* Copyright (C) 2006-2018, ARM Limited, All Rights Reserved
7+
* Copyright The Mbed TLS Contributors
88
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
99
*
1010
* This file is provided under the Apache License 2.0, or the
@@ -45,8 +45,6 @@
4545
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4646
*
4747
* **********
48-
*
49-
* This file is part of mbed TLS (https://tls.mbed.org)
5048
*/
5149

5250
/*
@@ -199,6 +197,16 @@
199197
#error "MBEDTLS_ENTROPY_FORCE_SHA256 defined, but not all prerequisites"
200198
#endif
201199

200+
#if defined(__has_feature)
201+
#if __has_feature(memory_sanitizer)
202+
#define MBEDTLS_HAS_MEMSAN
203+
#endif
204+
#endif
205+
#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN) && !defined(MBEDTLS_HAS_MEMSAN)
206+
#error "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN requires building with MemorySanitizer"
207+
#endif
208+
#undef MBEDTLS_HAS_MEMSAN
209+
202210
#if defined(MBEDTLS_TEST_NULL_ENTROPY) && \
203211
( !defined(MBEDTLS_ENTROPY_C) || !defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES) )
204212
#error "MBEDTLS_TEST_NULL_ENTROPY defined, but not all prerequisites"

tools/sdk/include/mbedtls/mbedtls/cipher.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* \author Adriaan de Jong <[email protected]>
99
*/
1010
/*
11-
* Copyright (C) 2006-2018, Arm Limited (or its affiliates), All Rights Reserved
11+
* Copyright The Mbed TLS Contributors
1212
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1313
*
1414
* This file is provided under the Apache License 2.0, or the
@@ -49,8 +49,6 @@
4949
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5050
*
5151
* **********
52-
*
53-
* This file is part of Mbed TLS (https://tls.mbed.org)
5452
*/
5553

5654
#ifndef MBEDTLS_CIPHER_H

tools/sdk/include/mbedtls/mbedtls/cipher_internal.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* \author Adriaan de Jong <[email protected]>
77
*/
88
/*
9-
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
9+
* Copyright The Mbed TLS Contributors
1010
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1111
*
1212
* This file is provided under the Apache License 2.0, or the
@@ -47,8 +47,6 @@
4747
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4848
*
4949
* **********
50-
*
51-
* This file is part of mbed TLS (https://tls.mbed.org)
5250
*/
5351
#ifndef MBEDTLS_CIPHER_WRAP_H
5452
#define MBEDTLS_CIPHER_WRAP_H

tools/sdk/include/mbedtls/mbedtls/cmac.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Authentication is defined in <em>RFC-4493: The AES-CMAC Algorithm</em>.
88
*/
99
/*
10-
* Copyright (C) 2015-2018, Arm Limited (or its affiliates), All Rights Reserved
10+
* Copyright The Mbed TLS Contributors
1111
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
1212
*
1313
* This file is provided under the Apache License 2.0, or the
@@ -48,8 +48,6 @@
4848
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4949
*
5050
* **********
51-
*
52-
* This file is part of Mbed TLS (https://tls.mbed.org)
5351
*/
5452

5553
#ifndef MBEDTLS_CMAC_H

0 commit comments

Comments
 (0)