Skip to content

Commit ab04259

Browse files
authored
Merge branch 'espressif:master' into master
2 parents 9ba54b4 + 1f46216 commit ab04259

File tree

199 files changed

+3039
-2291
lines changed

Some content is hidden

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

199 files changed

+3039
-2291
lines changed

components/bt/CMakeLists.txt

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -642,23 +642,25 @@ if(CONFIG_BT_ENABLED)
642642

643643
if(NOT (CONFIG_BT_LE_CRYPTO_STACK_MBEDTLS OR CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS))
644644
list(APPEND include_dirs
645-
porting/ext/tinycrypt/include
645+
common/tinycrypt/include
646+
common/tinycrypt/port
646647
)
647-
list(APPEND srcs "porting/ext/tinycrypt/src/utils.c"
648-
"porting/ext/tinycrypt/src/sha256.c"
649-
"porting/ext/tinycrypt/src/ecc.c"
650-
"porting/ext/tinycrypt/src/ctr_prng.c"
651-
"porting/ext/tinycrypt/src/ctr_mode.c"
652-
"porting/ext/tinycrypt/src/aes_decrypt.c"
653-
"porting/ext/tinycrypt/src/aes_encrypt.c"
654-
"porting/ext/tinycrypt/src/ccm_mode.c"
655-
"porting/ext/tinycrypt/src/ecc_dsa.c"
656-
"porting/ext/tinycrypt/src/cmac_mode.c"
657-
"porting/ext/tinycrypt/src/ecc_dh.c"
658-
"porting/ext/tinycrypt/src/hmac_prng.c"
659-
"porting/ext/tinycrypt/src/ecc_platform_specific.c"
660-
"porting/ext/tinycrypt/src/hmac.c"
661-
"porting/ext/tinycrypt/src/cbc_mode.c")
648+
list(APPEND srcs "common/tinycrypt/src/utils.c"
649+
"common/tinycrypt/src/sha256.c"
650+
"common/tinycrypt/src/ecc.c"
651+
"common/tinycrypt/src/ctr_prng.c"
652+
"common/tinycrypt/src/ctr_mode.c"
653+
"common/tinycrypt/src/aes_decrypt.c"
654+
"common/tinycrypt/src/aes_encrypt.c"
655+
"common/tinycrypt/src/ccm_mode.c"
656+
"common/tinycrypt/src/ecc_dsa.c"
657+
"common/tinycrypt/src/cmac_mode.c"
658+
"common/tinycrypt/src/ecc_dh.c"
659+
"common/tinycrypt/src/hmac_prng.c"
660+
"common/tinycrypt/src/ecc_platform_specific.c"
661+
"common/tinycrypt/src/hmac.c"
662+
"common/tinycrypt/src/cbc_mode.c"
663+
"common/tinycrypt/port/esp_tinycrypt_port.c")
662664
endif()
663665

664666
if(CONFIG_BT_NIMBLE_ENABLED)
File renamed without changes.
File renamed without changes.

components/bt/porting/ext/tinycrypt/include/tinycrypt/aes.h renamed to components/bt/common/tinycrypt/include/tinycrypt/aes.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* aes.h - TinyCrypt interface to an AES-128 implementation */
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
26

37
/*
48
* Copyright (C) 2017 by Intel Corporation, All Rights Reserved.

components/bt/porting/ext/tinycrypt/include/tinycrypt/cbc_mode.h renamed to components/bt/common/tinycrypt/include/tinycrypt/cbc_mode.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* cbc_mode.h - TinyCrypt interface to a CBC mode implementation */
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
26

37
/*
48
* Copyright (C) 2017 by Intel Corporation, All Rights Reserved.

components/bt/porting/ext/tinycrypt/include/tinycrypt/ccm_mode.h renamed to components/bt/common/tinycrypt/include/tinycrypt/ccm_mode.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* ccm_mode.h - TinyCrypt interface to a CCM mode implementation */
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
26

37
/*
48
* Copyright (C) 2017 by Intel Corporation, All Rights Reserved.

components/bt/porting/ext/tinycrypt/include/tinycrypt/cmac_mode.h renamed to components/bt/common/tinycrypt/include/tinycrypt/cmac_mode.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
/* cmac_mode.h -- interface to a CMAC implementation */
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
26

37
/*
48
* Copyright (C) 2017 by Intel Corporation, All Rights Reserved

0 commit comments

Comments
 (0)