Home
last modified time | relevance | path

Searched refs:zero_count (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/
Dotp_lcm.c119 uint32_t zero_count; in otp_write() local
132 zero_count = count_buffer_zero_bits(buf, buf_len); in otp_write()
134 err = lcm_otp_write(&LCM_DEV_S, zero_count_offset, sizeof(zero_count), in otp_write()
135 (uint8_t *)&zero_count); in otp_write()
157 uint32_t zero_count; in verify_zero_bits_count() local
159 lcm_err = lcm_otp_read(&LCM_DEV_S, zero_count_offset, sizeof(zero_count), in verify_zero_bits_count()
160 (uint8_t*)&zero_count); in verify_zero_bits_count()
165 if (zero_count != count_otp_zero_bits(offset, len)) { in verify_zero_bits_count()
175 uint32_t zero_count; in check_keys_for_tampering() local
217 otp_read(OTP_OFFSET(cm_config_2), OTP_SIZE(cm_config_2), sizeof(zero_count), in check_keys_for_tampering()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/accelerator/cc312/
Dotp_cc312.c356 uint16_t zero_count; in otp_write() local
392 zero_count = count_buffer_zero_bits(in, in_len); in otp_write()
394 err = otp_write(zero_byte_buf, 2, sizeof(zero_count), (uint8_t*)&zero_count, NULL); in otp_write()
444 uint16_t zero_count; in verify_zero_bits_count() local
450 err = otp_read(zero_count_buf, 2, sizeof(zero_count), (uint8_t*)&zero_count); in verify_zero_bits_count()
455 if (zero_count != count_otp_zero_bits(buf, buf_len)) { in verify_zero_bits_count()