Skip to content

Commit

Permalink
Merge pull request #9529 from kfnta/its_crypto
Browse files Browse the repository at this point in the history
RollUp PR Crypto with ITS
  • Loading branch information
0xc0170 committed Feb 4, 2019
2 parents 46101f6 + c11904e commit dcba5ff
Show file tree
Hide file tree
Showing 145 changed files with 91,386 additions and 39,481 deletions.
191 changes: 158 additions & 33 deletions TESTS/mbed-crypto/sanity/main.cpp

Large diffs are not rendered by default.

4,566 changes: 0 additions & 4,566 deletions TESTS/psa/crypto_init/TARGET_FUTURE_SEQUANA_PSA/crypto_init.hex

This file was deleted.

4,578 changes: 0 additions & 4,578 deletions TESTS/psa/entropy_inject/TARGET_FUTURE_SEQUANA_PSA/entropy_inject.hex

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions TESTS/psa/entropy_inject/its_reset/psa_test_its_reset_ifs.h

This file was deleted.

50 changes: 0 additions & 50 deletions TESTS/psa/entropy_inject/its_reset/test_pits.h

This file was deleted.

21 changes: 0 additions & 21 deletions TESTS/psa/entropy_inject/its_reset/test_pits_psa.json

This file was deleted.

8 changes: 4 additions & 4 deletions TESTS/psa/entropy_inject/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include "greentea-client/test_env.h"
#include "unity/unity.h"
#include "utest/utest.h"
#include "psa_prot_internal_storage.h"
#include "test_pits.h"
#include "psa/internal_trusted_storage.h"
#include "psa/lifecycle.h"
#include "entropy.h"
#include "entropy_poll.h"
#include "crypto.h"
Expand Down Expand Up @@ -134,7 +134,7 @@ static void injection_and_init_deinit()
utest::v1::status_t case_teardown_handler(const Case *const source, const size_t passed, const size_t failed, const failure_t reason)
{
psa_status_t status;
status = test_psa_its_reset();
status = mbed_psa_reboot_and_request_new_security_state(PSA_LIFECYCLE_ASSEMBLY_AND_TEST);
TEST_ASSERT_EQUAL(PSA_ITS_SUCCESS, status);
mbedtls_psa_crypto_free();
return greentea_case_teardown_handler(source, passed, failed, reason);
Expand All @@ -143,7 +143,7 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t
utest::v1::status_t case_setup_handler(const Case *const source, const size_t index_of_case)
{
psa_status_t status;
status = test_psa_its_reset();
status = mbed_psa_reboot_and_request_new_security_state(PSA_LIFECYCLE_ASSEMBLY_AND_TEST);
TEST_ASSERT_EQUAL(PSA_ITS_SUCCESS, status);
return greentea_case_setup_handler(source, index_of_case);
}
Expand Down
Loading

0 comments on commit dcba5ff

Please sign in to comment.