Skip to content

Commit a675e64

Browse files
committed
IDF release/v4.4 0a1e309ee4
1 parent e19106a commit a675e64

File tree

369 files changed

+56259
-9937
lines changed

Some content is hidden

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

369 files changed

+56259
-9937
lines changed

Diff for: platform.txt

+3-3
Large diffs are not rendered by default.

Diff for: tools/platformio-build-esp32.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
"UNITY_INCLUDE_CONFIG_H",
304304
"WITH_POSIX",
305305
"_GNU_SOURCE",
306-
("IDF_VER", '\\"v4.4-98-geb3797dc3f\\"'),
306+
("IDF_VER", '\\"v4.4-112-g0a1e309ee4\\"'),
307307
"ESP_PLATFORM",
308308
"_POSIX_READER_WRITER_LOCKS",
309309
"ARDUINO_ARCH_ESP32",

Diff for: tools/platformio-build-esp32c3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
"UNITY_INCLUDE_CONFIG_H",
294294
"WITH_POSIX",
295295
"_GNU_SOURCE",
296-
("IDF_VER", '\\"v4.4-98-geb3797dc3f\\"'),
296+
("IDF_VER", '\\"v4.4-112-g0a1e309ee4\\"'),
297297
"ESP_PLATFORM",
298298
"_POSIX_READER_WRITER_LOCKS",
299299
"ARDUINO_ARCH_ESP32",

Diff for: tools/platformio-build-esp32s2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
"UNITY_INCLUDE_CONFIG_H",
291291
"WITH_POSIX",
292292
"_GNU_SOURCE",
293-
("IDF_VER", '\\"v4.4-98-geb3797dc3f\\"'),
293+
("IDF_VER", '\\"v4.4-112-g0a1e309ee4\\"'),
294294
"ESP_PLATFORM",
295295
"_POSIX_READER_WRITER_LOCKS",
296296
"ARDUINO_ARCH_ESP32",

Diff for: tools/sdk/esp32/include/config/sdkconfig.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@
417417
#define CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE 1
418418
#define CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC 1
419419
#define CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 16384
420+
#define CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE 1
420421
#define CONFIG_MBEDTLS_CERTIFICATE_BUNDLE 1
421422
#define CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL 1
422423
#define CONFIG_MBEDTLS_HARDWARE_AES 1
@@ -681,5 +682,5 @@
681682
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
682683
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
683684
#define CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
684-
#define CONFIG_ARDUINO_IDF_COMMIT "eb3797dc3f"
685+
#define CONFIG_ARDUINO_IDF_COMMIT "0a1e309ee4"
685686
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"

Diff for: tools/sdk/esp32/include/expat/expat/expat/lib/expat.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Copyright (c) 2000-2005 Fred L. Drake, Jr. <[email protected]>
1212
Copyright (c) 2001-2002 Greg Stein <[email protected]>
1313
Copyright (c) 2002-2016 Karl Waclawek <[email protected]>
14-
Copyright (c) 2016-2021 Sebastian Pipping <[email protected]>
14+
Copyright (c) 2016-2022 Sebastian Pipping <[email protected]>
1515
Copyright (c) 2016 Cristian Rodríguez <[email protected]>
1616
Copyright (c) 2016 Thomas Beutlich <[email protected]>
1717
Copyright (c) 2017 Rhodri James <[email protected]>
@@ -1041,7 +1041,7 @@ XML_SetBillionLaughsAttackProtectionActivationThreshold(
10411041
*/
10421042
#define XML_MAJOR_VERSION 2
10431043
#define XML_MINOR_VERSION 4
1044-
#define XML_MICRO_VERSION 1
1044+
#define XML_MICRO_VERSION 3
10451045

10461046
#ifdef __cplusplus
10471047
}

Diff for: tools/sdk/esp32/include/expat/port/include/expat_config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
#define PACKAGE_NAME "expat"
6464

6565
/* Define to the full name and version of this package. */
66-
#define PACKAGE_STRING "expat 2.2.5"
66+
#define PACKAGE_STRING "expat 2.4.3"
6767

6868
/* Define to the one symbol short name of this package. */
6969
#define PACKAGE_TARNAME "expat"
@@ -72,13 +72,13 @@
7272
#define PACKAGE_URL ""
7373

7474
/* Define to the version of this package. */
75-
#define PACKAGE_VERSION "2.2.5"
75+
#define PACKAGE_VERSION "2.4.3"
7676

7777
/* Define to 1 if you have the ANSI C header files. */
7878
#define STDC_HEADERS 1
7979

8080
/* Version number of package */
81-
#define VERSION "2.2.5"
81+
#define VERSION "2.4.3"
8282

8383
/* whether byteorder is bigendian */
8484
/* #undef WORDS_BIGENDIAN */

Diff for: tools/sdk/esp32/include/mbedtls/mbedtls/include/mbedtls/aes.h

+17-29
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@
2222

2323
/*
2424
* Copyright The Mbed TLS Contributors
25-
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
26-
*
27-
* This file is provided under the Apache License 2.0, or the
28-
* GNU General Public License v2.0 or later.
29-
*
30-
* **********
31-
* Apache License 2.0:
25+
* SPDX-License-Identifier: Apache-2.0
3226
*
3327
* Licensed under the Apache License, Version 2.0 (the "License"); you may
3428
* not use this file except in compliance with the License.
@@ -41,37 +35,17 @@
4135
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4236
* See the License for the specific language governing permissions and
4337
* limitations under the License.
44-
*
45-
* **********
46-
*
47-
* **********
48-
* GNU General Public License v2.0 or later:
49-
*
50-
* This program is free software; you can redistribute it and/or modify
51-
* it under the terms of the GNU General Public License as published by
52-
* the Free Software Foundation; either version 2 of the License, or
53-
* (at your option) any later version.
54-
*
55-
* This program is distributed in the hope that it will be useful,
56-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
57-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
58-
* GNU General Public License for more details.
59-
*
60-
* You should have received a copy of the GNU General Public License along
61-
* with this program; if not, write to the Free Software Foundation, Inc.,
62-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
63-
*
64-
* **********
6538
*/
6639

6740
#ifndef MBEDTLS_AES_H
6841
#define MBEDTLS_AES_H
6942

7043
#if !defined(MBEDTLS_CONFIG_FILE)
71-
#include "config.h"
44+
#include "mbedtls/config.h"
7245
#else
7346
#include MBEDTLS_CONFIG_FILE
7447
#endif
48+
#include "mbedtls/platform_util.h"
7549

7650
#include <stddef.h>
7751
#include <stdint.h>
@@ -201,6 +175,7 @@ void mbedtls_aes_xts_free( mbedtls_aes_xts_context *ctx );
201175
* \return \c 0 on success.
202176
* \return #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH on failure.
203177
*/
178+
MBEDTLS_CHECK_RETURN_TYPICAL
204179
int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key,
205180
unsigned int keybits );
206181

@@ -219,6 +194,7 @@ int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key,
219194
* \return \c 0 on success.
220195
* \return #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH on failure.
221196
*/
197+
MBEDTLS_CHECK_RETURN_TYPICAL
222198
int mbedtls_aes_setkey_dec( mbedtls_aes_context *ctx, const unsigned char *key,
223199
unsigned int keybits );
224200

@@ -239,6 +215,7 @@ int mbedtls_aes_setkey_dec( mbedtls_aes_context *ctx, const unsigned char *key,
239215
* \return \c 0 on success.
240216
* \return #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH on failure.
241217
*/
218+
MBEDTLS_CHECK_RETURN_TYPICAL
242219
int mbedtls_aes_xts_setkey_enc( mbedtls_aes_xts_context *ctx,
243220
const unsigned char *key,
244221
unsigned int keybits );
@@ -259,6 +236,7 @@ int mbedtls_aes_xts_setkey_enc( mbedtls_aes_xts_context *ctx,
259236
* \return \c 0 on success.
260237
* \return #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH on failure.
261238
*/
239+
MBEDTLS_CHECK_RETURN_TYPICAL
262240
int mbedtls_aes_xts_setkey_dec( mbedtls_aes_xts_context *ctx,
263241
const unsigned char *key,
264242
unsigned int keybits );
@@ -287,6 +265,7 @@ int mbedtls_aes_xts_setkey_dec( mbedtls_aes_xts_context *ctx,
287265
288266
* \return \c 0 on success.
289267
*/
268+
MBEDTLS_CHECK_RETURN_TYPICAL
290269
int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx,
291270
int mode,
292271
const unsigned char input[16],
@@ -334,6 +313,7 @@ int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx,
334313
* \return #MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH
335314
* on failure.
336315
*/
316+
MBEDTLS_CHECK_RETURN_TYPICAL
337317
int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx,
338318
int mode,
339319
size_t length,
@@ -378,6 +358,7 @@ int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx,
378358
* smaller than an AES block in size (16 Bytes) or if \p
379359
* length is larger than 2^20 blocks (16 MiB).
380360
*/
361+
MBEDTLS_CHECK_RETURN_TYPICAL
381362
int mbedtls_aes_crypt_xts( mbedtls_aes_xts_context *ctx,
382363
int mode,
383364
size_t length,
@@ -426,6 +407,7 @@ int mbedtls_aes_crypt_xts( mbedtls_aes_xts_context *ctx,
426407
*
427408
* \return \c 0 on success.
428409
*/
410+
MBEDTLS_CHECK_RETURN_TYPICAL
429411
int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx,
430412
int mode,
431413
size_t length,
@@ -470,6 +452,7 @@ int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx,
470452
*
471453
* \return \c 0 on success.
472454
*/
455+
MBEDTLS_CHECK_RETURN_TYPICAL
473456
int mbedtls_aes_crypt_cfb8( mbedtls_aes_context *ctx,
474457
int mode,
475458
size_t length,
@@ -524,6 +507,7 @@ int mbedtls_aes_crypt_cfb8( mbedtls_aes_context *ctx,
524507
*
525508
* \return \c 0 on success.
526509
*/
510+
MBEDTLS_CHECK_RETURN_TYPICAL
527511
int mbedtls_aes_crypt_ofb( mbedtls_aes_context *ctx,
528512
size_t length,
529513
size_t *iv_off,
@@ -606,6 +590,7 @@ int mbedtls_aes_crypt_ofb( mbedtls_aes_context *ctx,
606590
*
607591
* \return \c 0 on success.
608592
*/
593+
MBEDTLS_CHECK_RETURN_TYPICAL
609594
int mbedtls_aes_crypt_ctr( mbedtls_aes_context *ctx,
610595
size_t length,
611596
size_t *nc_off,
@@ -626,6 +611,7 @@ int mbedtls_aes_crypt_ctr( mbedtls_aes_context *ctx,
626611
*
627612
* \return \c 0 on success.
628613
*/
614+
MBEDTLS_CHECK_RETURN_TYPICAL
629615
int mbedtls_internal_aes_encrypt( mbedtls_aes_context *ctx,
630616
const unsigned char input[16],
631617
unsigned char output[16] );
@@ -641,6 +627,7 @@ int mbedtls_internal_aes_encrypt( mbedtls_aes_context *ctx,
641627
*
642628
* \return \c 0 on success.
643629
*/
630+
MBEDTLS_CHECK_RETURN_TYPICAL
644631
int mbedtls_internal_aes_decrypt( mbedtls_aes_context *ctx,
645632
const unsigned char input[16],
646633
unsigned char output[16] );
@@ -690,6 +677,7 @@ MBEDTLS_DEPRECATED void mbedtls_aes_decrypt( mbedtls_aes_context *ctx,
690677
* \return \c 0 on success.
691678
* \return \c 1 on failure.
692679
*/
680+
MBEDTLS_CHECK_RETURN_CRITICAL
693681
int mbedtls_aes_self_test( int verbose );
694682

695683
#endif /* MBEDTLS_SELF_TEST */

Diff for: tools/sdk/esp32/include/mbedtls/mbedtls/include/mbedtls/aesni.h

+3-30
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88
*/
99
/*
1010
* Copyright The Mbed TLS Contributors
11-
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
12-
*
13-
* This file is provided under the Apache License 2.0, or the
14-
* GNU General Public License v2.0 or later.
15-
*
16-
* **********
17-
* Apache License 2.0:
11+
* SPDX-License-Identifier: Apache-2.0
1812
*
1913
* Licensed under the Apache License, Version 2.0 (the "License"); you may
2014
* not use this file except in compliance with the License.
@@ -27,38 +21,17 @@
2721
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2822
* See the License for the specific language governing permissions and
2923
* limitations under the License.
30-
*
31-
* **********
32-
*
33-
* **********
34-
* GNU General Public License v2.0 or later:
35-
*
36-
* This program is free software; you can redistribute it and/or modify
37-
* it under the terms of the GNU General Public License as published by
38-
* the Free Software Foundation; either version 2 of the License, or
39-
* (at your option) any later version.
40-
*
41-
* This program is distributed in the hope that it will be useful,
42-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
43-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44-
* GNU General Public License for more details.
45-
*
46-
* You should have received a copy of the GNU General Public License along
47-
* with this program; if not, write to the Free Software Foundation, Inc.,
48-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
49-
*
50-
* **********
5124
*/
5225
#ifndef MBEDTLS_AESNI_H
5326
#define MBEDTLS_AESNI_H
5427

5528
#if !defined(MBEDTLS_CONFIG_FILE)
56-
#include "config.h"
29+
#include "mbedtls/config.h"
5730
#else
5831
#include MBEDTLS_CONFIG_FILE
5932
#endif
6033

61-
#include "aes.h"
34+
#include "mbedtls/aes.h"
6235

6336
#define MBEDTLS_AESNI_AES 0x02000000u
6437
#define MBEDTLS_AESNI_CLMUL 0x00000002u

Diff for: tools/sdk/esp32/include/mbedtls/mbedtls/include/mbedtls/arc4.h

+2-29
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88
*/
99
/*
1010
* Copyright The Mbed TLS Contributors
11-
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
12-
*
13-
* This file is provided under the Apache License 2.0, or the
14-
* GNU General Public License v2.0 or later.
15-
*
16-
* **********
17-
* Apache License 2.0:
11+
* SPDX-License-Identifier: Apache-2.0
1812
*
1913
* Licensed under the Apache License, Version 2.0 (the "License"); you may
2014
* not use this file except in compliance with the License.
@@ -28,33 +22,12 @@
2822
* See the License for the specific language governing permissions and
2923
* limitations under the License.
3024
*
31-
* **********
32-
*
33-
* **********
34-
* GNU General Public License v2.0 or later:
35-
*
36-
* This program is free software; you can redistribute it and/or modify
37-
* it under the terms of the GNU General Public License as published by
38-
* the Free Software Foundation; either version 2 of the License, or
39-
* (at your option) any later version.
40-
*
41-
* This program is distributed in the hope that it will be useful,
42-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
43-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44-
* GNU General Public License for more details.
45-
*
46-
* You should have received a copy of the GNU General Public License along
47-
* with this program; if not, write to the Free Software Foundation, Inc.,
48-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
49-
*
50-
* **********
51-
*
5225
*/
5326
#ifndef MBEDTLS_ARC4_H
5427
#define MBEDTLS_ARC4_H
5528

5629
#if !defined(MBEDTLS_CONFIG_FILE)
57-
#include "config.h"
30+
#include "mbedtls/config.h"
5831
#else
5932
#include MBEDTLS_CONFIG_FILE
6033
#endif

0 commit comments

Comments
 (0)