-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move back test configs #9787
Merged
ronald-cron-arm
merged 1 commit into
Mbed-TLS:mbedtls-3.6
from
ronald-cron-arm:move-back-test-configs
Nov 21, 2024
Merged
Move back test configs #9787
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Submodule framework
updated
4 files
+4 −2 | scripts/all-core.sh | |
+4 −4 | scripts/all-helpers.sh | |
+0 −46 | tests/include/test/drivers/config_test_driver.h | |
+0 −689 | tests/include/test/drivers/crypto_config_test_driver_extension.h |
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,46 @@ | ||
/* | ||
* Mbed TLS configuration for PSA test driver libraries. It includes: | ||
* . the minimum set of modules needed by the PSA core. | ||
* . the Mbed TLS configuration options that may need to be additionally | ||
* enabled for the purpose of a specific test. | ||
* . the PSA configuration file for the Mbed TLS library and its test drivers. | ||
*/ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef MBEDTLS_CONFIG_H | ||
#define MBEDTLS_CONFIG_H | ||
|
||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) | ||
#define _CRT_SECURE_NO_DEPRECATE 1 | ||
#endif | ||
|
||
#define MBEDTLS_PSA_CRYPTO_C | ||
#define MBEDTLS_PSA_CRYPTO_CONFIG | ||
|
||
/* PSA core mandatory configuration options */ | ||
#define MBEDTLS_CIPHER_C | ||
#define MBEDTLS_AES_C | ||
#define MBEDTLS_SHA256_C | ||
#define MBEDTLS_PSA_BUILTIN_ALG_SHA_256 1 | ||
#define MBEDTLS_CTR_DRBG_C | ||
#define MBEDTLS_ENTROPY_C | ||
#define MBEDTLS_ENTROPY_FORCE_SHA256 | ||
|
||
/* | ||
* Configuration options that may need to be additionally enabled for the | ||
* purpose of a specific set of tests. | ||
*/ | ||
//#define MBEDTLS_SHA1_C | ||
//#define MBEDTLS_SHA224_C | ||
//#define MBEDTLS_SHA384_C | ||
//#define MBEDTLS_SHA512_C | ||
//#define MBEDTLS_MD_C | ||
//#define MBEDTLS_PEM_PARSE_C | ||
//#define MBEDTLS_BASE64_C | ||
//#define MBEDTLS_THREADING_C | ||
//#define MBEDTLS_THREADING_PTHREAD | ||
|
||
#endif /* MBEDTLS_CONFIG_H */ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume that moving forward there will be two versions of the test driver?
tests/configs/config_test_driver.h
for 3.6tf-psa-crypto/tests/configs/config_test_driver.h
for devel, and 4.0 onwards?Would it be good to add a comment to link those, so when someone is adding a feature they will know about it to backport it here?