This application is a National Stage Entry of PCT/JP2019/001641 filed on Jan. 21, 2019, which claims priority from Japanese Patent Application 2018-017006 filed on Feb. 2, 2018, the contents of all of which are incorporated herein by reference, in their entirety.

TECHNICAL FIELD

The present invention relates to an information processing device, an information processing method, and a storage medium.

BACKGROUND ART

In recent years, due to the spread of IoT devices, a security measure is required in a device such as a network camera or a smart meter having low computing capacity. For example, Patent Literature 1 discloses an information terminal that inspects whether or not there is a tampering for each program based on a hash value registered in a white list in advance.

CITATION LIST

Patent Literature

PTL 1: Japanese Patent Application Laid-open No. 2009-9372

SUMMARY OF INVENTION

Technical Problem

The information terminal disclosed in Patent Literature 1 calculates in advance a hash value on a program basis and inspects program authenticity by comparing a hash value newly calculated at the time of inspection with the hash value. Since the whole program corresponds to an inspection region, there is a problem of an inspection process requiring long time in a device having low computing capacity.

Accordingly, in view of the above problem, the present invention intends to provide an information processing device, an information processing method, and a storage medium that can reduce time for inspecting program authenticity.

Solution to Problem

According to one example aspect of the present invention, provided is an information processing device including: a storage unit that stores a first unique value calculated for each portion of a program in advance; and an inspection unit that inspects whether or not there is a tampering in the portion by newly calculating a second unique value for the portion and comparing the first unique value with the second unique value.

According to another example aspect of the present invention, provided is an information processing method including: storing, in a storage region, a first unique value calculated for each portion of a program in advance; and inspecting whether or not there is a tampering in the portion by newly calculating a second unique value for the portion and comparing the first unique value with the second unique value.

According to yet another example aspect of the present invention, provided is a storage medium storing a program that causes a computer to perform: storing, in a storage region, a first unique value calculated for each portion of a program in advance; and inspecting whether or not there is a tampering in the portion by newly calculating a second unique value for the portion and comparing the first unique value with the second unique value.

Advantageous Effects of Invention

According to the present invention, an information processing device, an information processing method, and a storage medium that can reduce time for inspecting program authenticity can be provided.

