@@ -38,7 +38,7 @@ def copy_of_mbedtls_headers(mbedtls_root_path, psa_crypto_root_path):
38
38
destination_path = os .path .join (builtin_path , "include" , "mbedtls" )
39
39
40
40
include_files = filter (lambda file_ : not re .match (
41
- "x509.*|mps.*|ssl.*|base64\.*|nist_kw\.*|pem\.*| padlock\.*|pkcs .*|" \
41
+ "x509.*|mps.*|ssl.*|padlock\.*|pkcs7 .*|" \
42
42
"\.gitignore|debug\.h|net_sockets\.h" \
43
43
"" , file_ ),
44
44
os .listdir (source_path ))
@@ -53,7 +53,7 @@ def copy_of_mbedtls_headers(mbedtls_root_path, psa_crypto_root_path):
53
53
def copy_from_library (mbedtls_root_path , psa_crypto_root_path ):
54
54
builtin_path = os .path .join (psa_crypto_root_path , "drivers" , "builtin" )
55
55
library_files = filter (lambda file_ : not re .match (
56
- ".*\.o|x509.*|mps.*|ssl.*|base64\.*|nist_kw\.*|pem\.*| padlock\.*|pkcs .*|" \
56
+ ".*\.o|x509.*|mps.*|ssl.*|padlock\.*|pkcs7 .*|" \
57
57
"\.gitignore|Makefile|CMakeLists\.txt|" \
58
58
"debug\.c|error\.c|net_sockets\.c" \
59
59
"psa_crypto_core_common\.h" , file_ ),
@@ -125,7 +125,13 @@ def copy_from_tests(mbedtls_root_path, psa_crypto_root_path):
125
125
126
126
tests_suites_files = filter (lambda file_ : re .match (
127
127
"test_suite_psa_crypto.*|helpers\.function|" \
128
- "host_test\.function|main_test\.function" , file_ ),
128
+ "host_test\.function|main_test\.function|" \
129
+ "test_suite_base64.*|" \
130
+ "test_suite_pem.*|" \
131
+ "test_suite_pkcs5.*|" \
132
+ "test_suite_pkcs12.*|" \
133
+ "test_suite_nist_kw.*" , \
134
+ file_ ),
129
135
os .listdir (os .path .join (source_path , "suites" )))
130
136
for file_ in tests_suites_files :
131
137
shutil .copy2 (os .path .join (source_path , "suites" , file_ ),
0 commit comments