发明名称 Flash memory storage system, and controller and method for anti-falsifying data thereof
摘要 A flash memory storage system is provided. The flash memory storage system includes a controller having a rewritable non-volatile memory and a flash memory chip. The rewritable non-volatile memory stores a data token and the flash memory chip stores a security data and a message digest. When the security data in the flash memory chip is updated, the controller updates the data token and generates an eigenvalue, and updates the message digest according to the updated data token and the updated eigenvalue by using a one-way hash function, respectively. When the security data in the flash memory chip is processed by the controller, the controller determinates whether the security data is falsified according to the data token, the eigenvalue and the message digest. In such a way, the security data stored in the flash memory storage system can be effectively protected.
申请公布号 US8769309(B2) 申请公布日期 2014.07.01
申请号 US200912371820 申请日期 2009.02.16
申请人 Phison Electronics Corp. 发明人 Chang Ching-Wen
分类号 G06F12/14 主分类号 G06F12/14
代理机构 J.C. Patents 代理人 J.C. Patents
主权项 1. A flash memory storage system, comprising: a flash memory chip, for storing at least one security data, and at least one message digest; and a controller, coupled to the flash memory chip and comprising at least one non-volatile memory, wherein the controller is configured to receive at least one security data from a smart card chip and store the at least one security data in the flash memory chip, wherein the controller is further configured to generate at least one data token corresponding to the at least one security data and store the at least one data token in the at least one non-volatile memory, wherein the controller is further configured to generate at least one eigenvalue corresponding to the at least one security data and store the at least one eigenvalue in the flash memory chip, wherein the controller is further configured to use a one-way hash function to generate at least one message digest according to the at least one data token and the at least one eigenvalue and store the at least one message digest in the flash memory chip, wherein when the at least one security data is updated by the smart card chip, the controller changes the at least one data token and the at least one eigenvalue, and uses the one-way hash function to change the at least one message digest according to the changed at least one data token and the changed at least one eigenvalue; and when the controller processes the at least one security data stored in the flash memory chip, the controller reads the at least one data token, the at least one eigenvalue, and the at least one message digest, and generates at least one comparison message digest according to the read at least one data token and the read at least one eigenvalue, and determines whether the read at least one message digest is identical with the generated at least one comparison message digest, wherein when it is determined that the read at least one message digest is different from the generated at least one comparison message digest, the controller outputs a warning message.
地址 Miaoli TW