Skip to content

Commit 565b4c3

Browse files
Skip all knowledge of SPAKE2+ keys for now
Signed-off-by: Gilles Peskine <[email protected]>
1 parent af6b189 commit 565b4c3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/mbedtls_framework/psa_information.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,18 @@ def remove_unwanted_macros(
2626
"""Remove constructors that should be exckuded from systematic testing."""
2727
# Mbed TLS does not support finite-field DSA, but 3.6 defines DSA
2828
# identifiers for historical reasons.
29+
# Mbed TLS and TF-PSA-Crypto 1.0 do not support SPAKE2+, although
30+
# TF-PSA-Crypto 1.0 defines SPAKE2+ identifiers to be able to build
31+
# the psa-arch-tests compliance test suite.
32+
#
2933
# Don't attempt to generate any related test case.
3034
# The corresponding test cases would be commented out anyway,
31-
# but for DSA, we don't have enough support in the test scripts
35+
# but for these types, we don't have enough support in the test scripts
3236
# to generate these test cases.
3337
constructors.key_types.discard('PSA_KEY_TYPE_DSA_KEY_PAIR')
3438
constructors.key_types.discard('PSA_KEY_TYPE_DSA_PUBLIC_KEY')
39+
constructors.key_types.discard('PSA_KEY_TYPE_SPAKE2P_KEY_PAIR')
40+
constructors.key_types.discard('PSA_KEY_TYPE_SPAKE2P_PUBLIC_KEY')
3541

3642
def read_psa_interface(self) -> macro_collector.PSAMacroEnumerator:
3743
"""Return the list of known key types, algorithms, etc."""

0 commit comments

Comments
 (0)