Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RollUp PR Crypto with ITS #9529

Merged
merged 35 commits into from
Feb 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b5cf455
tls/crypto: Make mbed-crypto importer independent
Patater Jan 22, 2019
c74993b
crypto: Re-import Mbed Crypto 0.1.0b2
Patater Jan 22, 2019
4a15846
crypto: importer: Update with fetch
Patater Jan 22, 2019
c322307
crypto: Update to Mbed Crypto 1.0.0d1
Patater Jan 22, 2019
f882a07
crypto: Update tests to use key handles
Jan 24, 2019
e66b220
crypto: Add test of key handles
Jan 24, 2019
81a4ff6
crypto service: Implement IPC according to Mbed Crypto 1.0.0d1 API
Jan 10, 2019
861fb0c
crypto service: Implement function psa_hash_clone over IPC
Jan 27, 2019
fa46e3b
crypto: Add test of hash clone
Jan 27, 2019
99b8eaf
Align with PSA spec
Jan 28, 2019
84ec1f7
crypto: Update to Mbed Crypto 1.0.0d2
Patater Jan 28, 2019
b08c0e2
Create new PSA compliant headers
Jan 24, 2019
8841ba6
Align to new spec changes and prep for TFM SPM
Jan 24, 2019
34895a0
CR fixes
orenc17 Jan 25, 2019
642fce5
ITS 1.0
Jan 24, 2019
d2025b7
Tests
Jan 24, 2019
156d3b7
Replace psa_prot_internal_storage.h with psa/internal_trusted_storage.h
Jan 24, 2019
0de098e
Add FUTURE_SEQUANA prebuilt binaries
Jan 24, 2019
51b7635
Remove ITS Reset partitions from tests
Jan 24, 2019
cae1ebf
Add new ITS reset SID
Jan 24, 2019
95f8dbc
Add new platform partition
Jan 22, 2019
3d3ee38
Update tests to use new APIs
Jan 22, 2019
47365d4
Update ITS test
Jan 24, 2019
f5e4f69
Update FUTURE_SEQUANA_PSA secure_binaries
Jan 24, 2019
98707d0
Fix Typo
orenc17 Jan 25, 2019
b0cbe81
Regenerate SPM data
orenc17 Jan 25, 2019
20478ba
Last update
Jan 27, 2019
5d448d7
Astyle
Jan 29, 2019
ff18a64
Check mbed-crypto-example with fork
Jan 29, 2019
ea9f104
Fix Licenses
Jan 30, 2019
b7b8551
crypto service: Add documentation
Jan 31, 2019
bdea678
Add MBED_SPM label to K64F
Jan 31, 2019
27cface
Remove demand for MBED_SPM on single v7 platforms
Jan 31, 2019
3f92beb
Update FUTURE_SEQUANA_PSA secure binaries
Jan 31, 2019
c11904e
Fix compilation for single v7 platforms
orenc17 Jan 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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