Lines Matching refs:checksum
124 u8 checksum; /* 0x1F */
734 u32 checksum;
738 * For now compare checksum, and magic. Later we can
748 checksum = do_checksum32((u32 *)hdr, hdr->prolog_size);
749 checksum -= hdr->prolog_checksum;
750 if (checksum != checksum_ref) {
751 printf("Error: Bad Prolog checksum. 0x%x != 0x%x\n",
752 checksum, checksum_ref);
757 checksum = do_checksum32((u32 *)((u8 *)hdr + hdr->prolog_size), hdr->boot_image_size);
758 if (checksum != checksum_ref) {
759 printf("Error: Bad Image checksum. 0x%x != 0x%x\n",
760 checksum, checksum_ref);
764 printf("Image checksum...OK!\n");
790 /* bubt checksum validation only supports nontrusted images */
830 printf("Warning: Image_%d hash checksum is disabled, ",
863 printf("Error: Image_%d checksum is not correct\n",
868 printf("Image checksum...OK!\n");
913 u8 checksum;
923 checksum = image_checksum8(hdr, hdr_size);
924 checksum -= hdr->checksum;
925 if (checksum != hdr->checksum) {
926 printf("Error: Bad A38x image header checksum. 0x%x != 0x%x\n",
927 checksum, hdr->checksum);
948 printf("Error: Bad A38x image data checksum. 0x%08x != 0x%08x\n",
953 printf("Image checksum...OK!\n");