An encryption/decryption processing unit performs encryption/decryption
processing of data transmitted from a host system, and
encryption/decryption processing of key data used for
encryption/decryption of the data. A key data buffer temporarily stores
encrypted key data. A key data buffer temporarily stores unencrypted key
data. An external memory interface controls flash memory attached
outside, and reads/writes encrypted key data stored in the key data
buffer.