It is an object of the present invention is carried out at high speed, without compromising the safety of the falsification detection processing program loaded in the memory. In block partition size for the program is the tampering detection target was determined division size determination means 12 is based on the random number information before loading the program, dividing unit 13 is divided into block data the program, the first conversion means 14 to calculate the authentication data by converting the data authentication temporary block partition size less by a logical operation block data, the second conversion means 15, to the second conversion process the data the authentication temporary, along with the block division size and authentication data I want to store the. After the loading of the program, a program with the program is loaded, i is calculated comparison data performed using the block division size stored, block segmentation, the first transformation, the second transformation. And detecting falsification of the program by comparing the comparison data with the authentication data.
展开▼