Skip to content

Commit dcba5ff

Browse files
authored
Merge pull request #9529 from kfnta/its_crypto
RollUp PR Crypto with ITS
2 parents 46101f6 + c11904e commit dcba5ff

File tree

145 files changed

+91386
-39481
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+91386
-39481
lines changed

TESTS/mbed-crypto/sanity/main.cpp

Lines changed: 158 additions & 33 deletions
Large diffs are not rendered by default.

TESTS/psa/crypto_init/TARGET_FUTURE_SEQUANA_PSA/crypto_init.hex

Lines changed: 0 additions & 4566 deletions
This file was deleted.

TESTS/psa/entropy_inject/TARGET_FUTURE_SEQUANA_PSA/entropy_inject.hex

Lines changed: 0 additions & 4578 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp

Lines changed: 0 additions & 59 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.h

Lines changed: 0 additions & 50 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/test_pits_impl.cpp

Lines changed: 0 additions & 59 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/test_pits_reset_partition.c

Lines changed: 0 additions & 65 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/psa_test_its_reset_ifs.h

Lines changed: 0 additions & 31 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/test_pits.h

Lines changed: 0 additions & 50 deletions
This file was deleted.

TESTS/psa/entropy_inject/its_reset/test_pits_psa.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

TESTS/psa/entropy_inject/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include "greentea-client/test_env.h"
2424
#include "unity/unity.h"
2525
#include "utest/utest.h"
26-
#include "psa_prot_internal_storage.h"
27-
#include "test_pits.h"
26+
#include "psa/internal_trusted_storage.h"
27+
#include "psa/lifecycle.h"
2828
#include "entropy.h"
2929
#include "entropy_poll.h"
3030
#include "crypto.h"
@@ -134,7 +134,7 @@ static void injection_and_init_deinit()
134134
utest::v1::status_t case_teardown_handler(const Case *const source, const size_t passed, const size_t failed, const failure_t reason)
135135
{
136136
psa_status_t status;
137-
status = test_psa_its_reset();
137+
status = mbed_psa_reboot_and_request_new_security_state(PSA_LIFECYCLE_ASSEMBLY_AND_TEST);
138138
TEST_ASSERT_EQUAL(PSA_ITS_SUCCESS, status);
139139
mbedtls_psa_crypto_free();
140140
return greentea_case_teardown_handler(source, passed, failed, reason);
@@ -143,7 +143,7 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t
143143
utest::v1::status_t case_setup_handler(const Case *const source, const size_t index_of_case)
144144
{
145145
psa_status_t status;
146-
status = test_psa_its_reset();
146+
status = mbed_psa_reboot_and_request_new_security_state(PSA_LIFECYCLE_ASSEMBLY_AND_TEST);
147147
TEST_ASSERT_EQUAL(PSA_ITS_SUCCESS, status);
148148
return greentea_case_setup_handler(source, index_of_case);
149149
}

0 commit comments

Comments
 (0)