mcuboot signature validation

Hi, 

    I am working on DFU-OTA example on BLE. my doubt here is once  the controller copied the image into slot1 bootloader will immediately start to validate whether the image is valid or not. if it's valid then it will go for soft-reset. then control goes to mcuboot. Again mcuboot will check whether the swap is there or not, if yes then it goes for swap. after swap is done. again it will validate the image i.e. (integrity and security check). My doubt here is , earlier it is already validated after copying image. why again it is validating the same image. Kindly help in understanding this.

Related