From 6dee5c9649651629542c647876b61cf8c80e6e42 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 22 Oct 2018 19:11:00 +0200 Subject: [PATCH 1/2] Add test_suite_psa_crypto_metadata to cmake builds This test suite was run by make builds, but I had forgotten to add it to CMakeLists.txt. --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d8b74f227..a7821d7bc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -111,6 +111,7 @@ add_test_suite(pkparse) add_test_suite(pkwrite) add_test_suite(poly1305) add_test_suite(psa_crypto) +add_test_suite(psa_crypto_metadata) add_test_suite(shax) add_test_suite(ssl) add_test_suite(timing) From 9ba61d0ce5143cafac2aa057ab4ae1d05eccf972 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 22 Oct 2018 19:26:38 +0200 Subject: [PATCH 2/2] Ignore generated files under crypto/ from crypto/.gitignore In /crypto/.gitignore, list files that are generated by a build done under /crypto/. In the outer /.gitignore, list files under /crypto/ only if they are created by the export process. This commit slightly refines both lists and adds some build products to /crypto/.gitignore. --- .gitignore | 11 ++++++----- crypto/.gitignore | 11 +++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2edbc997c..ea732a496 100644 --- a/.gitignore +++ b/.gitignore @@ -30,12 +30,13 @@ massif-* # Exported Mbed Crypto files crypto/LICENSE crypto/VERSION.txt -crypto/include +crypto/include/mbedcrypto/*.h +crypto/include/psa/*.h crypto/library/*.c -crypto/library/libmbedcrypto* +crypto/programs/psa/*.c +crypto/programs/psa/*.sh crypto/scripts crypto/tests/scripts -crypto/tests/suites -crypto/tests/test_suite* -crypto/programs/psa +crypto/tests/suites/*.data +crypto/tests/suites/*.function mbedcrypto.tar.gz diff --git a/crypto/.gitignore b/crypto/.gitignore index bf39198d1..ae4ba4530 100644 --- a/crypto/.gitignore +++ b/crypto/.gitignore @@ -1,2 +1,13 @@ +*.exe +*.o +*.obj /docs/*.pdf /docs/html +/library/libmbedcrypto*.a +/library/libmbedcrypto*.dll +/library/libmbedcrypto*.so +/library/libmbedcrypto*.so.[0-9]* +/programs/psa/crypto_examples +/programs/psa/key_ladder_demo +/programs/psa/psa_constant_names +/tests/test_suite_*