Checking the integrity of the tftp-recovery.bin file downloaded to the router

Is there any check that the firmware file (...squashfs-tftp-recovery.bin) was received correctly by the router? I.e. the hash sums matched and the file was not modified?