Patent ID: 8751814

Claim:
A memory device having a plurality of different type memory areas to be authenticated using an external controller comprising: a first type of memory area being used to store a first key and secret identification information unique to the memory device, the first type of memory area being prohibited from being read and written from outside of the memory device by the external controller at least after shipping; a second type of memory area being used to store encrypted secret identification information generated by encrypting the secret identification information, the second type of memory area being required to be readable from outside of the memory device by the external controller; a third type of memory area being required to be readable and writable from outside of the memory device; a first data generator configured to generate a second key by encrypting a host constant with the first key in an Advanced Encryption Standard operation; a second data generator configured to generate a session key by encrypting a random number with the second key in AES operation; and a one-way function processor configured to generate authentication information by processing the secret identification information with the session key in a one-way function operation; the encrypted secret identification information and the authentication information being configured to be output to outside of the memory device using the external controller.