Skip to content

Commit 6ed1c9b

Browse files
waleed-elmelegy-armtomi-font
authored andcommitted
[zep noup] Update Musca S1/B1 platform configuration
Signed-off-by: Waleed Elmelegy <[email protected]> Patch from tf-m-tests, applied using: git am ../tf-m-tests/tests_psa_arch/fetch_repo/\ 0010-Update-Musca-S1-B1-platform-configuration.patch Signed-off-by: Tomi Fontanilles <[email protected]>
1 parent bb52a3a commit 6ed1c9b

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

api-tests/platform/targets/tgt_dev_apis_tfm_musca_b1/nspe/pal_crypto_config.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
#endif
6767
#endif
6868

69+
/* curves of size <255 are obsolete algorithms, should be disabled. */
70+
#undef ARCH_TEST_ECC_CURVE_SECP192R1
71+
#undef ARCH_TEST_ECC_CURVE_SECP224R1
72+
6973
/**
7074
* \def ARCH_TEST_AES
7175
*
@@ -282,6 +286,9 @@
282286
//#define ARCH_TEST_SHA3_384
283287
//#define ARCH_TEST_SHA3_512
284288

289+
// SHA224 is not in our scope of testing
290+
#undef ARCH_TEST_SHA224
291+
285292
/**
286293
* \def ARCH_TEST_HKDF
287294
*

api-tests/platform/targets/tgt_dev_apis_tfm_musca_s1/nspe/pal_crypto_config.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
#endif
6767
#endif
6868

69+
/* curves of size <255 are obsolete algorithms, should be disabled. */
70+
#undef ARCH_TEST_ECC_CURVE_SECP192R1
71+
#undef ARCH_TEST_ECC_CURVE_SECP224R1
72+
6973
/**
7074
* \def ARCH_TEST_AES
7175
*
@@ -282,6 +286,9 @@
282286
//#define ARCH_TEST_SHA3_384
283287
//#define ARCH_TEST_SHA3_512
284288

289+
// SHA224 is not in our scope of testing
290+
#undef ARCH_TEST_SHA224
291+
285292
/**
286293
* \def ARCH_TEST_HKDF
287294
*
@@ -384,6 +391,14 @@
384391
* Enable ECC support for asymmetric API.
385392
*/
386393
//#define ARCH_TEST_ECC_ASYMMETRIC_API_SUPPORT
394+
395+
/**
396+
* \def ARCH_TEST_PBKDF2
397+
*
398+
* Enable the Password-based Key derivation functions - 2.
399+
*/
400+
#define ARCH_TEST_PBKDF2
401+
387402
#include "pal_crypto_config_check.h"
388403

389404
#endif /* _PAL_CRYPTO_CONFIG_H_ */

0 commit comments

Comments
 (0)