Skip to content

Commit 6bf29fd

Browse files
Merge pull request #10050 from valeriosetti/issue8151-development
[development] Remove the dynamic SE interface in 4.0
2 parents 48d1c14 + a881db9 commit 6bf29fd

File tree

7 files changed

+2
-11
lines changed

7 files changed

+2
-11
lines changed

framework

library/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ OBJS_CRYPTO= \
113113
$(TF_PSA_CRYPTO_CORE_PATH)/psa_crypto.o \
114114
$(TF_PSA_CRYPTO_CORE_PATH)/psa_crypto_client.o \
115115
$(TF_PSA_CRYPTO_CORE_PATH)/psa_crypto_driver_wrappers_no_static.o \
116-
$(TF_PSA_CRYPTO_CORE_PATH)/psa_crypto_se.o \
117116
$(TF_PSA_CRYPTO_CORE_PATH)/psa_crypto_slot_management.o \
118117
$(TF_PSA_CRYPTO_CORE_PATH)/psa_crypto_storage.o \
119118
$(TF_PSA_CRYPTO_CORE_PATH)/psa_its_file.o \

scripts/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def full_adapter(name, value, active):
162162
'MBEDTLS_PLATFORM_FPRINTF_ALT', # requires FILE* from stdio.h
163163
'MBEDTLS_PLATFORM_NV_SEED_ALT', # requires a filesystem and ENTROPY_NV_SEED
164164
'MBEDTLS_PLATFORM_TIME_ALT', # requires a clock and HAVE_TIME
165-
'MBEDTLS_PSA_CRYPTO_SE_C', # requires a filesystem and PSA_CRYPTO_STORAGE_C
166165
'MBEDTLS_PSA_CRYPTO_STORAGE_C', # requires a filesystem
167166
'MBEDTLS_PSA_ITS_FILE_C', # requires a filesystem
168167
'MBEDTLS_THREADING_C', # requires a threading interface
@@ -238,7 +237,6 @@ def continuation(name, value, active):
238237
return continuation
239238

240239
DEPRECATED = frozenset([
241-
'MBEDTLS_PSA_CRYPTO_SE_C',
242240
*PSA_DEPRECATED_FEATURE
243241
])
244242
def no_deprecated_adapter(adapter):

tests/psa-client-server/psasim/src/psa_sim_generate.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
'mbedtls_psa_get_stats', # uses unsupported type
3030
'mbedtls_psa_inject_entropy', # not in the default config, generally not for client use anyway
3131
'mbedtls_psa_platform_get_builtin_key', # not in the default config, uses unsupported type
32-
'mbedtls_psa_register_se_key', # not in the default config, generally not for client use anyway
3332
'psa_get_key_slot_number', # not in the default config, uses unsupported type
3433
'psa_key_derivation_verify_bytes', # not implemented yet
3534
'psa_key_derivation_verify_key', # not implemented yet

tests/scripts/components-configuration.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ component_test_no_platform () {
277277
scripts/config.py unset MBEDTLS_PLATFORM_C
278278
scripts/config.py unset MBEDTLS_NET_C
279279
scripts/config.py unset MBEDTLS_FS_IO
280-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_SE_C
281280
scripts/config.py unset MBEDTLS_PSA_CRYPTO_STORAGE_C
282281
scripts/config.py unset MBEDTLS_PSA_ITS_FILE_C
283282
scripts/config.py unset MBEDTLS_ENTROPY_NV_SEED

tests/scripts/components-sanitizers.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ component_test_tsan () {
114114
# Interruptible ECC tests are not thread safe
115115
scripts/config.py unset MBEDTLS_ECP_RESTARTABLE
116116

117-
# The deprecated MBEDTLS_PSA_CRYPTO_SE_C interface is not thread safe.
118-
scripts/config.py unset MBEDTLS_PSA_CRYPTO_SE_C
119-
120117
CC=clang cmake -D CMAKE_BUILD_TYPE:String=TSan .
121118
make
122119

@@ -189,4 +186,3 @@ component_release_test_valgrind_psa () {
189186
msg "test: main suites, Valgrind (full config)"
190187
make memcheck
191188
}
192-

tf-psa-crypto

Submodule tf-psa-crypto updated 36 files

0 commit comments

Comments
 (0)