Home
last modified time | relevance | path

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

/mbedtls-3.4.0/library/
Dpsa_its_file.c70 uint8_t magic[PSA_ITS_MAGIC_LENGTH]; member
107 if( memcmp( header.magic, PSA_ITS_MAGIC_STRING, in psa_its_read_file()
197 memcpy( header.magic, PSA_ITS_MAGIC_STRING, PSA_ITS_MAGIC_LENGTH ); in psa_its_set()
Dpsa_crypto_storage.c234 uint8_t magic[PSA_KEY_STORAGE_MAGIC_HEADER_LENGTH]; member
252 …memcpy( storage_format->magic, PSA_KEY_STORAGE_MAGIC_HEADER, PSA_KEY_STORAGE_MAGIC_HEADER_LENGTH ); in psa_format_key_data_for_storage()
/mbedtls-3.4.0/programs/psa/
Dkey_ladder_demo.c151 char magic[WRAPPED_DATA_MAGIC_LENGTH]; member
413 memcpy( &header.magic, WRAPPED_DATA_MAGIC, WRAPPED_DATA_MAGIC_LENGTH ); in wrap_data()
469 if( memcmp( &header.magic, WRAPPED_DATA_MAGIC, in unwrap_data()
/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_persistent_key.data24 Parse storage: bad magic
27 Parse storage: truncated magic
Dtest_suite_psa_its.data70 Overwrite ITS header magic
Dtest_suite_psa_crypto_persistent_key.function30 uint8_t magic[PSA_KEY_STORAGE_MAGIC_HEADER_LENGTH];
Dtest_suite_psa_its.function262 /* Overwrite the 1st byte of the file, the ITS magic number */
Dtest_suite_ccm.function677 add_second_buffer[1] = 0xAB; // some magic value
799 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
/mbedtls-3.4.0/docs/architecture/
Dmbed-crypto-storage-specification.md53 * magic (8 bytes): `"PSA\0KEY\0"`
203 * magic (8 bytes): `"PSA\0KEY\0"`
262 * magic (8 bytes): `"PSA\0KEY\0"`.
321 * magic (8 bytes): `"PSA\0KEY\0"`.
412 * magic (8 bytes): `"PSA\0KEY\0"`.