A data processing device, in a system performing authentication among a
plurality of storage device (IC cards etc.), able to maintain security of
authentication at other device even when secrecy of key data held by part
of the devices is lost, wherein a key generation unit generates
individual key data unique to an IC card based on identification data
unique to the IC cards received from the ICs of the IC cards and a card
processing unit performs mutual authentication with the IC based on the
individual key data.