Searched refs:BOOT_NUM_SLOTS (Results 1 – 5 of 5) sorted by relevance
57 #define BOOT_NUM_SLOTS 2 macro102 uint8_t enckey[BOOT_NUM_SLOTS][BOOT_ENC_KEY_ALIGN_SIZE];104 uint8_t enctlv[BOOT_NUM_SLOTS][BOOT_ENC_TLV_ALIGN_SIZE];240 } imgs[BOOT_IMAGE_NUMBER][BOOT_NUM_SLOTS];261 struct enc_key_data enc[BOOT_IMAGE_NUMBER][BOOT_NUM_SLOTS];273 bool slot_available[BOOT_NUM_SLOTS];
133 for (i = 0; i < BOOT_NUM_SLOTS; i++) { in boot_read_image_headers()258 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in close_all_flash_areas()259 flash_area_close(BOOT_IMG_AREA(state, BOOT_NUM_SLOTS - 1 - slot)); in close_all_flash_areas()679 memset(&bs->enckey, 0xff, BOOT_NUM_SLOTS * BOOT_ENC_KEY_ALIGN_SIZE); in boot_status_reset()681 memset(&bs->enctlv, 0xff, BOOT_NUM_SLOTS * BOOT_ENC_TLV_ALIGN_SIZE); in boot_status_reset()1743 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2326 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2652 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2667 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2704 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {[all …]
756 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in boot_enc_zeroize()759 memset(enc_state, 0, sizeof(struct enc_key_data) * BOOT_NUM_SLOTS); in boot_enc_zeroize()
945 hdr_slot = BOOT_NUM_SLOTS; in boot_read_image_header()955 if (hdr_slot == BOOT_NUM_SLOTS) { in boot_read_image_header()
297 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in bs_list()710 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in bs_slot_info()716 zcbor_list_start_encode(cbor_state, BOOT_NUM_SLOTS); in bs_slot_info()780 if (slot == (BOOT_NUM_SLOTS - 1)) { in bs_slot_info()781 ok = zcbor_list_end_encode(cbor_state, BOOT_NUM_SLOTS); in bs_slot_info()1016 (img_num % BOOT_NUM_SLOTS) == BOOT_DIRECT_UPLOAD_SECONDARY_SLOT_ID_REMAINDER) { in bs_upload()