Home
last modified time | relevance | path

Searched refs:tfm_plat_otp_read (Results 1 – 25 of 43) sorted by relevance

12

/trusted-firmware-m-latest/bl1/bl1_1/shared_lib/otp/
Dotp_default.c32 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_HUK, 32, key_buf); in bl1_otp_read_key()
36 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_GUK, GUK_SIZE, key_buf); in bl1_otp_read_key()
40 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_KEY_BL2_ENCRYPTION, 32, in bl1_otp_read_key()
45 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_BL1_ROTPK_0, 56, key_buf); in bl1_otp_read_key()
/trusted-firmware-m-latest/platform/ext/common/template/
Dcrypto_keys.c36 err = tfm_plat_otp_read(PLAT_OTP_ID_HUK, buf_len, buf); in tfm_plat_get_huk()
65 err = tfm_plat_otp_read(PLAT_OTP_ID_IAK_LEN, in tfm_plat_get_iak()
77 err = tfm_plat_otp_read(PLAT_OTP_ID_IAK_TYPE, in tfm_plat_get_iak()
85 err = tfm_plat_otp_read(PLAT_OTP_ID_IAK_TYPE, sizeof(psa_ecc_family_t), in tfm_plat_get_iak()
95 return tfm_plat_otp_read(PLAT_OTP_ID_IAK, *key_len, buf); in tfm_plat_get_iak()
Dattest_hal.c38 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(otp_lcs), (uint8_t*)&otp_lcs); in tfm_attest_hal_get_security_lifecycle()
53 err = tfm_plat_otp_read(PLAT_OTP_ID_VERIFICATION_SERVICE_URL, *size, buf); in tfm_attest_hal_get_verification_service()
78 err = tfm_plat_otp_read(PLAT_OTP_ID_PROFILE_DEFINITION, *size, buf); in tfm_attest_hal_get_profile_definition()
100 err = tfm_plat_otp_read(PLAT_OTP_ID_BOOT_SEED, size, buf); in tfm_plat_get_boot_seed()
115 err = tfm_plat_otp_read(PLAT_OTP_ID_IMPLEMENTATION_ID, *size, buf); in tfm_plat_get_implementation_id()
139 err = tfm_plat_otp_read(PLAT_OTP_ID_CERT_REF, *size, buf); in tfm_plat_get_cert_ref()
Dtfm_rotpk.c20 err = tfm_plat_otp_read(id, *rotpk_hash_size, rotpk_hash); in get_rotpk_hash()
Dcrypto_nv_seed.c30 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_ENTROPY_SEED, sizeof(buf), buf); in tfm_plat_crypto_provision_entropy_seed()
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/
Dattest_hal.c39 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(otp_lcs), (uint8_t*)&otp_lcs); in tfm_attest_hal_get_security_lifecycle()
54 err = tfm_plat_otp_read(PLAT_OTP_ID_VERIFICATION_SERVICE_URL, *size, buf); in tfm_attest_hal_get_verification_service()
79 err = tfm_plat_otp_read(PLAT_OTP_ID_PROFILE_DEFINITION, *size, buf); in tfm_attest_hal_get_profile_definition()
101 err = tfm_plat_otp_read(PLAT_OTP_ID_BOOT_SEED, size, buf); in tfm_plat_get_boot_seed()
116 err = tfm_plat_otp_read(PLAT_OTP_ID_IMPLEMENTATION_ID, *size, buf); in tfm_plat_get_implementation_id()
143 err = tfm_plat_otp_read(PLAT_OTP_ID_CERT_REF, sizeof(padded_buf), padded_buf); in tfm_plat_get_cert_ref()
/trusted-firmware-m-latest/platform/ext/target/rpi/rp2350/
Dcrypto_keys.c28 err = tfm_plat_otp_read(PLAT_OTP_ID_HUK, buf_len, buf); in tfm_plat_get_huk()
57 err = tfm_plat_otp_read(PLAT_OTP_ID_IAK_LEN, in tfm_plat_get_iak()
69 err = tfm_plat_otp_read(PLAT_OTP_ID_IAK_TYPE, in tfm_plat_get_iak()
77 err = tfm_plat_otp_read(PLAT_OTP_ID_IAK_TYPE, sizeof(psa_ecc_family_t), in tfm_plat_get_iak()
87 return tfm_plat_otp_read(PLAT_OTP_ID_IAK, *key_len, buf); in tfm_plat_get_iak()
/trusted-firmware-m-latest/platform/ext/target/armchina/mps3/common/provisioning/
Dbl2_provisioning.c25 tfm_plat_otp_read(PLAT_OTP_ID_IAK, sizeof(iak_start), (uint8_t*)&iak_start); in tfm_plat_provisioning_check_for_dummy_keys()
44 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_is_required()
58 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/common/provisioning_bundle/
Dbl2_provisioning.c25 tfm_plat_otp_read(PLAT_OTP_ID_IAK, sizeof(iak_start), (uint8_t*)&iak_start); in tfm_plat_provisioning_check_for_dummy_keys()
44 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_is_required()
58 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/
Dattest_hal.c39 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(otp_lcs), (uint8_t*)&otp_lcs); in tfm_attest_hal_get_security_lifecycle()
54 err = tfm_plat_otp_read(PLAT_OTP_ID_VERIFICATION_SERVICE_URL, *size, buf); in tfm_attest_hal_get_verification_service()
79 err = tfm_plat_otp_read(PLAT_OTP_ID_PROFILE_DEFINITION, *size, buf); in tfm_attest_hal_get_profile_definition()
109 err = tfm_plat_otp_read(PLAT_OTP_ID_IMPLEMENTATION_ID, *size, buf); in tfm_plat_get_implementation_id()
Dcrypto_keys.c224 return tfm_plat_otp_read(PLAT_OTP_ID_HOST_ROTPK_S, buf_len, buf); in tfm_plat_get_host_s_rotpk()
243 return tfm_plat_otp_read(PLAT_OTP_ID_HOST_ROTPK_NS, buf_len, buf); in tfm_plat_get_host_ns_rotpk()
262 return tfm_plat_otp_read(PLAT_OTP_ID_HOST_ROTPK_CCA, buf_len, buf); in tfm_plat_get_host_cca_rotpk()
/trusted-firmware-m-latest/bl1/bl1_1/lib/
Dimage_otp.c19 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_BL1_2_IMAGE_LEN, sizeof(bl1_2_len), in bl1_read_bl1_2_image()
26 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_BL1_2_IMAGE, bl1_2_len, image); in bl1_read_bl1_2_image()
Dprovisioning.c38 tfm_plat_otp_read(PLAT_OTP_ID_GUK, sizeof(guk_start), (uint8_t *)&guk_start); in tfm_plat_provisioning_check_for_dummy_keys()
55 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t *)&lcs); in tfm_plat_provisioning_is_required()
118 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t *)&lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/bringup_helpers/
Drse_bl1_2_image_otp_or_flash.c26 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_BL1_2_IMAGE_LEN, sizeof(bl1_2_len), in bl1_read_bl1_2_image()
33 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_BL1_2_IMAGE, bl1_2_len, image); in bl1_read_bl1_2_image()
/trusted-firmware-m-latest/platform/ext/common/
Dprovisioning.c132 tfm_plat_otp_read(PLAT_OTP_ID_IAK, sizeof(iak_start), (uint8_t*)&iak_start); in tfm_plat_provisioning_check_for_dummy_keys()
149 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_is_required()
266 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_perform()
302 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/bl2/src/
Dprovisioning.c263 tfm_plat_otp_read(PLAT_OTP_ID_IAK, sizeof(iak_start), (uint8_t*)&iak_start); in tfm_plat_provisioning_check_for_dummy_keys()
281 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_is_required()
340 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/bl1/
Dprovisioning.c46 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_is_required()
115 err = tfm_plat_otp_read(PLAT_OTP_ID_LCS, sizeof(lcs), (uint8_t*)&lcs); in tfm_plat_provisioning_perform()
Dbl1_1_shared_symbols.txt24 tfm_plat_otp_read
/trusted-firmware-m-latest/bl1/bl1_1/
Dbl1_1_shared_symbols.txt17 tfm_plat_otp_read
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/bl1/
Dbl1_1_shared_symbols.txt22 tfm_plat_otp_read
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/secure/
Ddummy_otp.c15 enum tfm_plat_err_t tfm_plat_otp_read(enum tfm_otp_element_id_t id, in tfm_plat_otp_read() function
/trusted-firmware-m-latest/platform/ext/target/arm/musca_b1/bl2/
Dboot_hal_bl2.c38 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_SECURE_DEBUG_PK, 32, rotpk_p256); in boot_platform_post_init()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/bl1/
Dbl1_1_shared_symbols.txt44 tfm_plat_otp_read
/trusted-firmware-m-latest/platform/include/
Dtfm_plat_otp.h121 enum tfm_plat_err_t tfm_plat_otp_read(enum tfm_otp_element_id_t id,
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/rse_handshake/
Drse_handshake.c91 err = tfm_plat_otp_read(PLAT_OTP_ID_RSE_ID, in header_init()
503 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_RSE_TO_RSE_SENDER_ROUTING_TABLE, in rse_handshake()
509 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_RSE_TO_RSE_RECEIVER_ROUTING_TABLE, in rse_handshake()
515 plat_err = tfm_plat_otp_read(PLAT_OTP_ID_RSE_ID, sizeof(rse_id), in rse_handshake()

12