Home
last modified time | relevance | path

Searched refs:exported (Results 1 – 19 of 19) sorted by relevance

/mbedtls-latest/tests/src/
Dpsa_exercise_key.c845 const uint8_t *exported, size_t exported_length) in mbedtls_test_psa_exported_key_sanity_check() argument
855 uint8_t *p = (uint8_t *) exported; in mbedtls_test_psa_exported_key_sanity_check()
856 const uint8_t *end = exported + exported_length; in mbedtls_test_psa_exported_key_sanity_check()
918 uint8_t *p = (uint8_t *) exported; in mbedtls_test_psa_exported_key_sanity_check()
919 const uint8_t *end = exported + exported_length; in mbedtls_test_psa_exported_key_sanity_check()
969 TEST_EQUAL(exported[0], 4); in mbedtls_test_psa_exported_key_sanity_check()
978 (void) exported; in mbedtls_test_psa_exported_key_sanity_check()
990 if (exported[i] & m) { in mbedtls_test_psa_exported_key_sanity_check()
1010 uint8_t *exported = NULL; in exercise_export_key() local
1026 TEST_CALLOC(exported, exported_size); in exercise_export_key()
[all …]
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_slot_management.function830 uint8_t exported[sizeof(size_t)];
856 exported, sizeof(exported),
858 TEST_MEMORY_COMPARE(exported, exported_length,
887 uint8_t exported[sizeof(size_t)];
931 exported, sizeof(exported),
933 TEST_MEMORY_COMPARE(exported, exported_length,
960 exported, sizeof(exported),
963 TEST_MEMORY_COMPARE(exported, exported_length,
966 TEST_MEMORY_COMPARE(exported, exported_length,
988 uint8_t exported[sizeof(size_t)];
[all …]
Dtest_suite_psa_crypto_persistent_key.function263 unsigned char *exported = NULL;
268 TEST_CALLOC(exported, export_size);
305 PSA_ASSERT(psa_export_key(key_id, exported, export_size,
308 TEST_MEMORY_COMPARE(data->x, data->len, exported, exported_length);
321 mbedtls_free(exported);
Dtest_suite_psa_crypto_se_driver_hal_mocks.function398 uint8_t exported[sizeof(key_material)];
424 exported, sizeof(exported),
515 uint8_t exported[sizeof(key_material)];
540 TEST_ASSERT(psa_export_public_key(id, exported, sizeof(exported),
Dtest_suite_ecp.function1262 unsigned char *exported = NULL;
1266 TEST_CALLOC(exported, exported_size);
1267 TEST_EQUAL(mbedtls_ecp_write_key(&key, exported, exported_size),
1279 key_start = exported + exported_size - length;
1280 zeros_start = exported;
1284 key_start = exported;
1285 zeros_start = exported + length;
1312 mbedtls_free(exported);
1322 unsigned char *exported = NULL;
1330 TEST_CALLOC(exported, exported_size);
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function887 uint8_t exported[sizeof(key_material)];
981 exported, sizeof(exported),
984 exported, exported_length);
Dtest_suite_psa_crypto.function1244 uint8_t *exported = NULL;
1250 TEST_CALLOC(exported, exported_size);
1252 exported, exported_size,
1254 uint8_t *p = exported;
1255 uint8_t *end = exported + exported_length;
1288 mbedtls_free(exported);
1759 unsigned char *exported = NULL;
1768 TEST_CALLOC(exported, export_size);
1796 status = psa_export_key(key, exported, export_size, &exported_length);
1799 /* The exported length must be set by psa_export_key() to a value between 0
[all …]
Dtest_suite_pk.function2524 /* Generate an EC key which cannot be exported. */
/mbedtls-latest/tests/include/test/
Dpsa_exercise_key.h201 const uint8_t *exported, size_t exported_length);
/mbedtls-latest/docs/
Duse-psa-crypto.md74 operations and its public part can be exported.
D3.0-migration-guide.md767 connection an exported key belongs to.
770 is being exported. For TLS 1.2, only the master secret is
771 exported, but upcoming TLS 1.3 support will add other kinds of keys.
Dpsa-transition.md88 …ecause they are stored in a secure environment that does not allow the key material to be exported.
/mbedtls-latest/library/
Dssl_tls13_client.c3032 ssl->session->exported = 1; in ssl_tls13_process_new_session_ticket()
3047 ssl->session->exported = 0; in ssl_tls13_process_new_session_ticket()
Dssl_tls.c3370 if (ssl->session->exported == 1) { in mbedtls_ssl_get_session()
3380 ssl->session->exported = 1; in mbedtls_ssl_get_session()
/mbedtls-latest/include/mbedtls/
Dssl.h1241 unsigned char MBEDTLS_PRIVATE(exported);
/mbedtls-latest/docs/architecture/
Dtls13-support.md178 - TLS 1.3 specific exported functions, structures and types are
Dpsa-shared-memory.md514 Key import / export | Copying | Copying | Keys may be imported and exported in DER format, which is…
/mbedtls-latest/docs/proposed/
Dpsa-driver-interface.md1033 …ped with a master key which is located in the cryptoprocessor and never exported from it. The core…
1211 …ith the given attributes. The driver must set `*data_length` to the exact size of the exported key.
/mbedtls-latest/
DChangeLog1615 * Explicitly mark the fields mbedtls_ssl_session.exported and
1781 indicating the type of secret that's being exported,
2465 * Fix the endianness of Curve25519 keys imported/exported through the PSA