-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update EFR32 to use GSDK3.2.1. (#8612)
restyle
- Loading branch information
1 parent
4ca8b8f
commit 5d91959
Showing
12 changed files
with
490 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* | ||
* Copyright (c) 2020-2021 Project CHIP Authors | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#pragma once | ||
|
||
// ADD USER PSA CRYPTO CONFIG HERE | ||
#define SL_PSA_KEY_USER_SLOT_COUNT (4) | ||
|
||
#define SL_PSA_ITS_USER_MAX_FILES (128) | ||
// end of user configuration section >>> | ||
|
||
// AUTO GENERATED PSA CONFIG SECTION BELOW. **KEEP AS IS FUTURE GSDK UPDATE** | ||
#define PSA_WANT_KEY_TYPE_AES | ||
#define PSA_WANT_ALG_CMAC | ||
#define MBEDTLS_PSA_BUILTIN_ALG_CMAC 1 | ||
#define PSA_WANT_ALG_SHA_224 | ||
#define PSA_WANT_ALG_SHA_256 | ||
#define PSA_WANT_ALG_CCM | ||
#define PSA_WANT_ALG_CBC_NO_PADDING | ||
#define PSA_WANT_ALG_ECB_NO_PADDING | ||
#define PSA_WANT_ALG_ECDSA | ||
#define PSA_WANT_ALG_ECDH | ||
#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR | ||
#define PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY | ||
#define PSA_WANT_ECC_SECP_R1_256 | ||
#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_ECC_PUBLIC_KEY 1 | ||
#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_ECC_KEY_PAIR 1 | ||
#define MBEDTLS_PSA_BUILTIN_ECC_SECP_R1_256 1 | ||
#define MBEDTLS_PSA_BUILTIN_ALG_ECDH 1 | ||
#define MBEDTLS_PSA_BUILTIN_ALG_ECDSA 1 | ||
#define PSA_WANT_ALG_HKDF | ||
#define PSA_WANT_ALG_HMAC | ||
#define PSA_WANT_KEY_TYPE_HMAC | ||
#define MBEDTLS_PSA_BUILTIN_ALG_HMAC 1 | ||
#define MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG | ||
#define MBEDTLS_PSA_ACCEL_ALG_SHA_1 | ||
#define MBEDTLS_PSA_ACCEL_ALG_SHA_224 | ||
#define MBEDTLS_PSA_ACCEL_ALG_SHA_256 | ||
#define MBEDTLS_PSA_ACCEL_KEY_TYPE_AES | ||
#define MBEDTLS_PSA_ACCEL_ALG_ECB_NO_PADDING | ||
#define MBEDTLS_PSA_ACCEL_ALG_CBC_NO_PADDING | ||
#define MBEDTLS_PSA_ACCEL_ALG_CBC_PKCS7 | ||
#define MBEDTLS_PSA_ACCEL_ALG_CTR | ||
#define MBEDTLS_PSA_ACCEL_ALG_CFB | ||
#define MBEDTLS_PSA_ACCEL_ALG_OFB | ||
#define MBEDTLS_PSA_ACCEL_ALG_GCM | ||
#define MBEDTLS_PSA_ACCEL_ALG_CCM | ||
#define MBEDTLS_PSA_ACCEL_ALG_CMAC | ||
|
||
#define MBEDTLS_PSA_KEY_SLOT_COUNT (15 + 1 + SL_PSA_KEY_USER_SLOT_COUNT) | ||
#define SL_PSA_ITS_MAX_FILES (1 + SL_PSA_ITS_USER_MAX_FILES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.