Skip to content

Commit a772d9d

Browse files
author
Nir Sonnenschein
committed
add comment explaining attestation keys for test use
1 parent d473f6d commit a772d9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/frameworks/TARGET_PSA/pal/pal_mbed_os_intf.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ extern "C" psa_status_t psa_ps_reset();
2626
test_entry_f test_g = NULL;
2727
compliance_test_type type_g = COMPLIANCE_TEST_UNDEFINED;
2828

29+
// randomly generated attestation key used for testing the attestation feature.
30+
// The specific key chosen shouldn't matter to the attestation test
31+
// the test just needs a key to be injected before it is run.
2932
static const uint8_t private_key_data[] = {
3033
0x49, 0xc9, 0xa8, 0xc1, 0x8c, 0x4b, 0x88, 0x56,
3134
0x38, 0xc4, 0x31, 0xcf, 0x1d, 0xf1, 0xc9, 0x94,

0 commit comments

Comments
 (0)