Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 10 of 10) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_its_file.c57 uint8_t magic[PSA_ITS_MAGIC_LENGTH]; member
96 if (memcmp(header.magic, PSA_ITS_MAGIC_STRING, in psa_its_read_file()
190 memcpy(header.magic, PSA_ITS_MAGIC_STRING, PSA_ITS_MAGIC_LENGTH); in psa_its_set()
Dpsa_crypto_storage.c226 uint8_t magic[PSA_KEY_STORAGE_MAGIC_HEADER_LENGTH]; member
244 memcpy(storage_format->magic, PSA_KEY_STORAGE_MAGIC_HEADER, in psa_format_key_data_for_storage()
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c138 char magic[WRAPPED_DATA_MAGIC_LENGTH]; member
395 memcpy(&header.magic, WRAPPED_DATA_MAGIC, WRAPPED_DATA_MAGIC_LENGTH); in wrap_data()
454 if (memcmp(&header.magic, WRAPPED_DATA_MAGIC, in unwrap_data()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_its.data70 Overwrite ITS header magic
Dtest_suite_psa_crypto_persistent_key.data24 Parse storage: bad magic
27 Parse storage: truncated magic
Dtest_suite_psa_crypto_persistent_key.function28 uint8_t magic[PSA_KEY_STORAGE_MAGIC_HEADER_LENGTH];
Dtest_suite_psa_its.function260 /* Overwrite the 1st byte of the file, the ITS magic number */
Dtest_suite_ccm.function712 add_second_buffer[1] = 0xAB; // some magic value
842 msg_second_buffer[1] = 0xAB; // some magic value
Dtest_suite_asn1parse.function15 /* Use this magic value in some tests to indicate that the expected result
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md55 * magic (8 bytes): `"PSA\0KEY\0"`
205 * magic (8 bytes): `"PSA\0KEY\0"`
264 * magic (8 bytes): `"PSA\0KEY\0"`.
323 * magic (8 bytes): `"PSA\0KEY\0"`.
414 * magic (8 bytes): `"PSA\0KEY\0"`.