Home
last modified time | relevance | path

Searched refs:lcm_err (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/provisioning/
Dbl1_provisioning.c49 enum lcm_error_t lcm_err; in enable_sp_mode() local
51 lcm_err = lcm_get_sp_enabled(&LCM_DEV_S, &sp_enabled); in enable_sp_mode()
52 if (lcm_err != LCM_ERROR_NONE) { in enable_sp_mode()
124 enum lcm_error_t lcm_err; in set_tp_mode() local
128 lcm_err = lcm_set_tp_mode(&LCM_DEV_S, tp_mode); in set_tp_mode()
129 if (lcm_err != LCM_ERROR_NONE) { in set_tp_mode()
143 enum lcm_error_t lcm_err; in tfm_plat_provisioning_perform() local
149 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in tfm_plat_provisioning_perform()
150 if (lcm_err != LCM_ERROR_NONE) { in tfm_plat_provisioning_perform()
162 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
[all …]
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/provisioning/
Dbl1_provisioning.c220 enum lcm_error_t lcm_err; in set_tp_mode() local
230 lcm_err = lcm_set_tp_mode(&LCM_DEV_S, tp_mode); in set_tp_mode()
231 if (lcm_err != LCM_ERROR_NONE) { in set_tp_mode()
242 enum lcm_error_t lcm_err; in tfm_plat_provisioning_perform() local
248 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in tfm_plat_provisioning_perform()
249 if (lcm_err != LCM_ERROR_NONE) { in tfm_plat_provisioning_perform()
262 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
263 if (lcm_err != LCM_ERROR_NONE) { in tfm_plat_provisioning_perform()
296 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_provisioning_perform()
297 if (lcm_err != LCM_ERROR_NONE) { in tfm_plat_provisioning_perform()
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/
Drse_key_derivation.c46 enum lcm_error_t lcm_err; in rse_get_boot_state() local
69 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in rse_get_boot_state()
70 if (lcm_err != LCM_ERROR_NONE) { in rse_get_boot_state()
71 return lcm_err; in rse_get_boot_state()
277 enum lcm_error_t lcm_err; in derive_using_krtl_or_zero_key() local
281 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in derive_using_krtl_or_zero_key()
282 if (lcm_err != LCM_ERROR_NONE) { in derive_using_krtl_or_zero_key()
Dotp_lcm.c400 enum lcm_error_t lcm_err; in check_if_otp_is_emulated() local
403 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in check_if_otp_is_emulated()
404 if (lcm_err != LCM_ERROR_NONE) { in check_if_otp_is_emulated()
837 enum lcm_error_t lcm_err; in otp_write_lcs() local
947 lcm_err = lcm_set_lcs(&LCM_DEV_S, new_lcs, gppc_val); in otp_write_lcs()
948 if (lcm_err != LCM_ERROR_NONE) { in otp_write_lcs()
1026 enum lcm_error_t lcm_err; in tfm_plat_otp_secure_provisioning_start() local
1042 lcm_err = lcm_get_sp_enabled(&LCM_DEV_S, &sp_enabled); in tfm_plat_otp_secure_provisioning_start()
1043 if (lcm_err != LCM_ERROR_NONE) { in tfm_plat_otp_secure_provisioning_start()
1054 lcm_err = lcm_get_lcs(&LCM_DEV_S, &lcs); in tfm_plat_otp_secure_provisioning_start()
[all …]
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/bl1/
Dboot_hal_bl1_1.c66 enum lcm_error_t lcm_err; in boot_platform_init() local
86 lcm_err = lcm_get_tp_mode(&LCM_DEV_S, &tp_mode); in boot_platform_init()
87 if (lcm_err != LCM_ERROR_NONE) { in boot_platform_init()
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/
Dotp_lcm.c461 enum lcm_error_t lcm_err; in verify_zero_bits_count() local
465 lcm_err = lcm_otp_read(&LCM_DEV_S, len_offset, sizeof(len), in verify_zero_bits_count()
467 if (lcm_err != LCM_ERROR_NONE) { in verify_zero_bits_count()
471 lcm_err = lcm_otp_read(&LCM_DEV_S, len_zero_count_offset, sizeof(zero_count), in verify_zero_bits_count()
473 if (lcm_err != LCM_ERROR_NONE) { in verify_zero_bits_count()
481 lcm_err = lcm_otp_read(&LCM_DEV_S, zero_count_offset, sizeof(zero_count), in verify_zero_bits_count()
483 if (lcm_err != LCM_ERROR_NONE) { in verify_zero_bits_count()
496 enum lcm_error_t lcm_err; in check_keys_for_tampering() local
512 lcm_err = lcm_otp_read(&LCM_DEV_S, USER_AREA_OFFSET(cm_locked_size), in check_keys_for_tampering()
514 if (lcm_err != LCM_ERROR_NONE) { in check_keys_for_tampering()
[all …]