fi2rec            125 tools/packfi2/fi2enc.c 	struct fi2_rec_s  fi2rec;
fi2rec            142 tools/packfi2/fi2enc.c 	memset(&fi2rec, 0, sizeof (fi2rec));
fi2rec            148 tools/packfi2/fi2enc.c 	fi2rec.addr=0;
fi2rec            149 tools/packfi2/fi2enc.c 	fi2rec.fboot = 1;
fi2rec            185 tools/packfi2/fi2enc.c 	fi2rec.upklen = flen;
fi2rec            186 tools/packfi2/fi2enc.c 	fi2rec.offset = 0;						// save data block offset
fi2rec            187 tools/packfi2/fi2enc.c 	fi2rec.len = align128( i + 4 );
fi2rec            189 tools/packfi2/fi2enc.c 	aes128_cbc_encrypt( buf, exkey, iv, fi2rec.len );
fi2rec            193 tools/packfi2/fi2enc.c         for( i = 0; i < (int)fi2rec.len/4; i++) cs += wbuf[i];	// update block checksum
fi2rec            196 tools/packfi2/fi2enc.c         for( i = 0; i < (int)fi2rec.len; i++) cs += buf[i];	// update block checksum
fi2rec            214 tools/packfi2/fi2enc.c 	memcpy( buf+32, &fi2rec, fi2rec_size(dryos_ver));
fi2rec            232 tools/packfi2/fi2enc.c 		if (fi2rec.len != fwrite( pblk, 1, fi2rec.len, fo ) ){
fi2rec            233 tools/packfi2/fi2enc.c 			printf("\nError writing data block to %s (%d bytes)\n", outfname, fi2rec.len);