Searched refs:BOOT_NUM_SLOTS (Results 1 – 3 of 3) sorted by relevance
55 #define BOOT_NUM_SLOTS 2 macro88 uint8_t enckey[BOOT_NUM_SLOTS][BOOT_ENC_KEY_ALIGN_SIZE];90 uint8_t enctlv[BOOT_NUM_SLOTS][BOOT_ENC_TLV_ALIGN_SIZE];223 } imgs[BOOT_IMAGE_NUMBER][BOOT_NUM_SLOTS];237 struct enc_key_data enc[BOOT_IMAGE_NUMBER][BOOT_NUM_SLOTS];249 bool slot_available[BOOT_NUM_SLOTS];
97 for (i = 0; i < BOOT_NUM_SLOTS; i++) { in boot_read_image_headers()227 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in close_all_flash_areas()228 flash_area_close(BOOT_IMG_AREA(state, BOOT_NUM_SLOTS - 1 - slot)); in close_all_flash_areas()400 memset(&bs->enckey, 0xff, BOOT_NUM_SLOTS * BOOT_ENC_KEY_ALIGN_SIZE); in boot_status_reset()402 memset(&bs->enctlv, 0xff, BOOT_NUM_SLOTS * BOOT_ENC_TLV_ALIGN_SIZE); in boot_status_reset()1353 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in boot_swap_image()2067 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2388 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2403 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {2440 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) {
719 for (slot = 0; slot < BOOT_NUM_SLOTS; slot++) { in boot_enc_zeroize()722 memset(enc_state, 0, sizeof(struct enc_key_data) * BOOT_NUM_SLOTS); in boot_enc_zeroize()