Memory device with cryptographic components
By integrating error correction code components and cryptography components in the memory device, data correction and cryptography operations are performed directly on the memory array, which solves the problems of external controller correction and security transmission, and improves security and efficiency.
Patent Information
- Application Number
- CN201980089840.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-01-23
- Filing Date
- 2019-10-30
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2039-10-30
AI Technical Summary
When the memory device performs cryptographic operations, the data needs to be sent to an external controller for security correction, resulting in compromised security and time-consuming, and the security provided by the external controller may be expensive and unnecessary.
Integrate error correction code components and cryptography components into the memory device, and perform data correction and cryptography operations directly on the memory array to avoid sending data to an external controller.
The security of the memory device is improved, the time and cost of cryptographic operations are reduced, and security risks and delays in data transmission are avoided.
Smart Images

Figure CN113348456B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to memory devices, and more particularly, to memory devices having cryptographic components. Background Art
[0002] The memory system may be implemented in an electronic system such as a computer, a cellular phone, a handheld electronic device, and the like. Some memory systems such as solid state drives (SSDs), embedded multimedia controller (eMMC) devices, universal flash storage (UFS) devices, and the like may include non-volatile storage memory for storing host (e.g., user) data from a host. The non-volatile storage memory provides persistent data by preserving the stored data when powered off, and may include NAND flash memory, NOR flash memory, read-only memory (ROM), electrically erasable programmable ROM (EEPROM), erasable programmable ROM (EPROM), and resistance variable memory such as phase change random access memory (PCRAM), three-dimensional cross-point memory (e.g., 3D XPoint), resistance random access memory (RRAM), ferroelectric random access memory (FeRAM), magnetoresistive random access memory (MRAM), and programmable conductive memory, and other types of memory.
[0003] In some examples, a memory device may store security information and may be susceptible to malicious attacks aimed at obtaining and / or altering the security information. Such attacks may include, for example, replay attacks, which may involve malicious or fraudulent repetition or delay of security information and may involve interception and retransmission of security information. Summary of the invention
[0004] In one aspect, the present application provides an apparatus for cryptographic memory operations, comprising: a controller including a first error correction code component; and a memory device coupled to the controller, the memory device comprising: an array of memory cells; a second error correction code component coupled to the array and configured to correct data from the array; and a cryptographic component coupled to the second error correction code component and configured to receive the corrected data from the second error correction code component.
[0005] In another aspect, the present application further provides a memory device for cryptographic memory operations, comprising: an array of memory cells, comprising a portion corresponding to a secure partition; a buffer coupled to the array and configured to receive a data structure from the secure partition, the data structure comprising a plurality of corresponding segments of data, wherein each of the corresponding segments comprises corresponding user data and corresponding first error correction code data calculated outside the memory device; an error correction code component coupled to the buffer and configured to receive the corresponding user data from the data structure in the buffer, calculate corresponding second error correction code data from the corresponding user data, and add the corresponding second error correction code data to the corresponding segment of the data structure; a controller configured to write the data structure from the buffer to the secure partition after adding the corresponding second error correction code data to the corresponding segment of the data structure; and a cryptographic component coupled to a second error correction code component; wherein the error correction code component is configured to use the corresponding second error correction code data to correct the corresponding user data and send the corrected corresponding user data to the cryptographic component.
[0006] In yet another aspect, the present application further provides a method for cryptographic memory operations, comprising: reading data from a memory array of a memory device, the data comprising user data, first error correction data calculated from the user data by an external controller, and second error correction data calculated from the user data by an error correction code component of the memory device; correcting the user data by the error correction code component using the second error correction data; sending the corrected user data from the error correction code component to a cryptographic component of the memory device; and performing a cryptographic operation on the corrected user data by the cryptographic component. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 is a simplified block diagram of a device according to several embodiments of the present disclosure.
[0008] Figure 2A The data structure according to several embodiments of the present disclosure is described.
[0009] Figure 2B Data structures having ECC data calculated by a memory device according to several embodiments of the present disclosure are described.
[0010] Figure 3A is a block diagram of an apparatus (eg, in the form of a memory system) according to several embodiments of the present disclosure.
[0011] Figure 3B Secure memory partitioning according to several embodiments of the present disclosure is described.
[0012] Figure 4 Security commands according to several embodiments of the present disclosure are described.
[0013] Figure 5 is a schematic diagram of a portion of a memory array according to several embodiments of the present disclosure. DETAILED DESCRIPTION
[0014] An example apparatus, such as a memory system, such as a NAND memory system, may have a controller including a first error correction code component and a memory device, such as a NAND memory device, coupled to the controller. The memory device may have: an array of memory cells; a second error correction code component coupled to the array and configured to correct data from the array; and a cryptographic component coupled to receive corrected data from the second error correction code component.
[0015] Having a cryptographic component on the memory device allows the memory device to perform cryptographic operations on data stored on the memory array (e.g., determining whether the data stored in the memory array is secure) via the cryptographic component without sending the data to a controller outside the memory device (as is typically done in previous methods).
[0016] For example, in some previous approaches, the cryptographic component may be in an external controller, and data may be sent from the memory device to the external controller to determine whether the data is secure. However, sending data to the external controller may be an unsafe process, and the security of the data sent to the external controller may be compromised. Sending data to the external controller may also be time consuming. In addition, the security provided via the external controller may be expensive because it may involve paying a fee to a third party that provides the security function. Thus, having a cryptographic component on the memory device may improve security and may reduce the time and cost involved in performing cryptographic operations compared to having a cryptographic component in an external controller.
[0017] When reading user data from a memory array, some memory devices, such as NAND memory devices, may have a relatively high bit error rate (BER). Therefore, problems may occur when performing cryptographic operations on user data having such a high BER. An error correction scheme may be employed to correct the data read from the memory array. However, in previous approaches, data error correction operations may be performed by an external controller on user data sent from a memory device to an external controller. This means that, in some instances, data is sent to an external controller for correction and the corrected data is sent back to the memory device for cryptographic operations. However, sending data back and forth between a memory device and an external controller may be an unsafe and time-consuming process. The disclosed embodiments address these issues by locating an error correction component on a memory device and using the error correction component to correct data from the array for use by the cryptographic component of the memory device.
[0018] Figure 1 1 is a simplified block diagram of an apparatus in the form of a computing system 100 according to several embodiments of the present disclosure. The computing system 100 includes an apparatus in the form of a memory system 102, which may be, for example, a storage system such as an SSD, a UFS device, an eMMC device, and the like. In some examples, the memory system 102 may be a NAND memory system. However, the disclosed embodiments are not limited to a particular type of memory system. For example, the memory system 102 may serve as the main memory of the system 100.
[0019] like Figure 1 , the memory system 102 may include a controller 104, which may be referred to as a memory system controller (e.g., a NAND controller) because the controller 104 may control a memory device 106 (e.g., a NAND memory device) coupled to the controller 104. The controller 104 may be located external to the memory device 106 and may therefore be referred to as an external controller, such as an external host controller. In some examples, the controller 104 and the memory device 106 may be integrated on a single chip.
[0020] Controller 104 has an error correction component 108 (e.g., an external error correction component). Memory device 106 has a memory array (e.g., a NAND memory array) 109 coupled to an error correction component 110 (e.g., an internal error correction component) that can correct data from array 109. For example, array 109 can be coupled to a buffer 111 (e.g., a data buffer) that can be a page buffer. Buffer 111 can be coupled to a data path 112, which can be coupled to error correction component 110. Cryptography component 114 can be coupled to receive corrected data from error correction component 110. As will be further discussed herein, cryptography component 114 can perform cryptographic operations on the corrected data, such as determining whether the data is secure. In some examples, the cryptographic operations can include computing a secure cryptographic such as a cryptographic hash, a message authentication code (MAC), a hashed MACS (HMAC), and the like.
[0021] Array 109 may be logically arranged into logical partitions 116-1 to 116-N and secure logical partition 117. For example, a logical partition may include several physical blocks of memory cells, each of which is configured to be erased together as a group. Secure partition 117 may be accessed by secure commands issued by host 120 coupled to controller 104. Logical partitions 116-1 to 116-N may be non-secure partitions accessible by non-secure commands from host 120.
[0022] In some examples, memory cells corresponding to logical partitions 116-1 to 116-N may be programmed to store a single bit per cell or multiple bits per cell, such as two bits per cell, three bits per cell, four bits per cell, etc. However, in several embodiments, memory cells corresponding to secure logical partition 117 may be programmed to store only a single bit per cell to ensure a relatively lower BER than multi-bit cells. Memory cells configured to store a single bit per cell may be referred to as single-level cells (SLCs), and memory cells configured to store multiple bits per cell may be referred to as multi-level cells (MLCs).
[0023] The memory cells are programmable up to 2 m The memory cell may be programmed to one of four data states, 11, 10, 01, and 00, for two bits per cell, and may be programmed to one of two data states, 0 and 1, for one bit per cell.
[0024] A secure command may refer to a command received from the host 120 via the controller 104 that requires, for example, authentication. A secure command may refer to a command directed to an address corresponding to the secure partition 117, rather than to an address corresponding to the non-secure partition 116. As will be discussed further herein, a secure command may include an opcode, a cryptographic signature, and a freshness indicator. In contrast, a non-secure command may not require authentication and therefore may not include a signature or freshness indicator.
[0025] Memory device 106 may be coupled to controller 104 via interface 121, such as a memory interface. For example, interface 121 may couple controller 104 to input / output (I / O) 122 of memory device 106. I / O 122 may, in turn, be coupled to data path 112. In some examples, interface 121 may include a data bus that may support various standards and / or conform to various interface types, such as double data rate (DDR), open NAND flash interface (ONFI), serial peripheral interface (SPI), etc.
[0026] The controller 104 may receive secure and non-secure commands, such as secure and non-secure read and write commands, from the host 120. For example, the controller 104 may receive user data to be written to the memory array 109 from the host 120 (e.g., via the host interface 123). For example, the controller 104 may map the secure data to the secure logical partition 117 and the non-secure data to the logical partitions 116-1 to 116-N.
[0027] The host 120 may be, for example, a host system such as a personal laptop computer, a desktop computer, a digital camera, a mobile phone (e.g., a cellular phone), a network server, an Internet of Things (IoT) enabled device, or a memory card reader, and various other types of hosts. For example, the host 120 may include one or more processors capable of accessing the memory system 102 (e.g., via the controller 104) through an interface 123, which may include a bus. The interface 123 may be a standardized interface such as Serial Advanced Technology Attachment (SATA), Peripheral Component Interconnect Express (PCIe), or Universal Serial Bus (USB), and various other interfaces.
[0028] Figure 2A A data structure 225 (e.g., managed cells) is illustrated according to several embodiments of the present disclosure. The controller 104 may send the data structure 225 to the memory device 106 during a write (program) operation to write the data structure 225 to the array 109. In some examples, the data structure 225 may be referred to as a codeword. For example, the data structure 225 may correspond to a page of data in a block of memory cells.
[0029] The data structure 225 may include segments 227-1 to 227-4, which may be data of Frame 1 to Frame 4, respectively. However, the present disclosure is not limited thereto, and any number of segments may be present in the data structure 225. In some examples, the respective segments 227-1 to 227-4 may be referred to as respective sub-codewords.
[0030] The segments 227-1 to 227-4 may include user data fields 228-1 to 228-4, respectively, spare data fields 229-1 to 229-4 that may store spare data SPARE1 to SPARE4, respectively, and error correction code (ECC) columns 230-1 to 230-4 that may store ECC data ECC1 to ECC4, respectively. In some examples, each of the user data fields 228-1 to 228-4 may store 4 kilobytes of user data, each of the spare data fields 229-1 to 229-4 may store 16 bytes of spare data, and each of the error correction code columns 230-1 to 230-4 may store 516 bytes of ECC data. However, the present disclosure is not limited thereto.
[0031] The controller 104 may place the user data USER1 to USER4 from the host 120 in the user data fields 228-1 to 228-4, respectively. The ECC component 108 may calculate ECC data ECC1 to ECC4 from the user data USER1 to USER4, respectively, and the controller 104 may place the ECC data ECC1 to ECC4 in the user data fields 228-1 to 228-4, respectively. For example, the ECC data ECC1 to ECC4 correspond to the user data USER1 to USER4, respectively.
[0032] The data structure 225 may include a correction code 231, such as a Bose-Chaudhuri-Hocquenghem (BCH) code, that can be used to correct the entire data structure 225. For example, ECC1 to ECC4 may be referred to as an internal correction code, and the correction code 231 may be referred to as an external correction code. In some examples, the correction code 231 may be used when one or more of ECC1 to ECC4 cannot correct its corresponding user data. In some examples, the correction code 231 may be 80 bytes, but the present disclosure is not limited thereto.
[0033] When the data structure 225 is non-secure and the user data USER1 to USER4 are non-secure data, the controller 104 may use the spare data domains 229-1 to 229-4 for various purposes. For example, the controller 104 may program various modes of the spare data SPARE1 to SPARE4 located in the spare data domains 229-1 to 229-4, respectively. The controller 104 may send the non-secure data structure 225 to the buffer 111, and the non-secure data structure 225 in the buffer 111 may be written to the non-secure partition 116. For example, the non-secure data structure 225 may be written to a group (e.g., page) of an SLC or MLC in the non-secure partition 116.
[0034] When the user data USER1 to USER4 is security data, the controller 104 may not use the spare data fields 229-1 to 229-4. For example, the controller 104 may write the spare data SPARE1 to SPARE4 as an all-1 or all-0 pattern in the spare data fields 229-1 to 229-4. Then, the controller 104 may send the security data structure to the data buffer 111.
[0035] In some examples, the secure user data USER1 to USER4 may also be sent to the ECC component 110, and the ECC component 110 may calculate ECC data from the user data USER1 to USER4. The ECC data calculated by the ECC component 110 from the user data USER1 to USER4 may be stored in the spare data fields 229-1 to 229-4 while the data structure 225 is stored in the buffer 111. For example, the spare data SPARE1 to SPARE4 may be the ECC calculated from the user data USER1 to USER4, respectively. In some examples, the corresponding ECC calculated from the user data USER1 to USER4 may be used to overwrite the all-one or all-zero pattern of the corresponding spare data SPARE1 to SPARE4.
[0036] Figure 2B A data structure 225' having secure user data and ECC data calculated by the memory device 106 is illustrated in accordance with several embodiments of the present disclosure. Figure 2B , ECC data ECC'1 to ECC'4 are calculated by ECC component 110 from user data USER1 to USER4 respectively and stored in spare data fields 229-1 to 229-4 respectively. For example, the corresponding ECC data ECC'1 to ECC'4 can be used to overwrite the all-1 or all-0 pattern of the corresponding spare data SPARE1 to SPARE4. The security data structure 225' can be located in the buffer 111 and can be written to the security partition 117. For example, Figure 2B The security data structure 225′ in can be programmed only in the SLC groups in the secure partition 117.
[0037] For example, ECC component 110 may be referred to as a "light ECC" component because it may use fewer ECC bits than ECC component 108. For example, ECC' data may be referred to as light ECC data. In some examples, ECC' may be an 8-bit ECC and may use approximately 10 -8 The BER is restored to about 10 -15 For example, light ECC may be sufficient due to the lower BER associated with storing secure user data in SLCs in partition 117. ECC component 108 may be a heavier ECC component than ECC component 110 because ECC component 108 may be used to correct user data from MLCs in partition 116. It should be noted that MLCs may have a higher BER than SLCs.
[0038] In some instances, Figure 2B The secure data structure 225' depicted in can be read from the secure partition 117 to the buffer 111. The user data USER1 to USER4 can be corrected by the ECC component 110 using the ECC data ECC'1 to ECC'4, respectively. Then, the cryptography component 114 can calculate the corresponding cryptograms from the corresponding corrected user data USER1 to USER4.
[0039] Figure 3A 302 (which may be memory system 102) according to several embodiments of the present disclosure. The figures herein follow a numbering convention in which the first or first few digits correspond to the figure number and the remaining digits identify the element or component in the figure. Similar elements or components between different figures may be identified by using similar element symbols. For example, in element symbol 117, the numeral 1 refers to Figure 1 , and the number 17 is recognized Figure 1 Similarly, in the component symbol 317, the number 3 refers to the security partition in the component symbol 317. Figure 3A and 3B , and the number 17 is recognized Figure 3A and 3B Similar security partitions in .
[0040] Memory system 302 may include memory device 306 coupled to controller 304 through interface 321. For example, controller 304 may be coupled to I / O 322 through interface 321. Controller 304 may be controller 104 and may include ECC component 308, which may be ECC component 108. Controller 304 may be coupled to a host, such as host 120, through host interface 323. I / O 322 may be coupled to data path 312. Data path 312 may be coupled to buffer 311, which may be coupled to read / write circuitry 335 and may be buffer 111.
[0041] Read / write circuitry 335 may be coupled to memory array 309. Portions of array 309, such as blocks or groups of blocks, may correspond to non-secure logical partitions 316-1 through 316-N and secure logical partitions 317 and 317'.
[0042] Figure 3B The secure partition 317 according to several embodiments of the present disclosure is illustrated. The secure partition 317 can store several data structures 325' (e.g., 325'-1 to 325'-M). Each of the data structures 325'-1 to 325'-M can be configured as, for example, a secure data structure 225'. The data structures 325'-1 to 325'-M can be addressed by addresses (e.g., page addresses) Addr-1 to Addr-M, respectively.
[0043] The secure partition 317 may include a secret area 332 that is not accessible to users. For example, the secret area 332 may be located outside of a user-accessible address space. A key (e.g., a root key) 333 may be stored in the secret area 332. In some examples, the key 333 may be stored in the secret area 332 at a manufacturing facility before the memory system 302 is sold to a user (e.g., a consumer). Alternatively, the key 333 may be generated by the memory device 306, as will be discussed further herein.
[0044] A cryptographic measure, such as a golden measurement 334, may be stored in the secret area 332. For example, the golden measurement 334 may be calculated for the secure partition 317 when data is first stored in the secure partition 317 before any operation, such as a read, write, or erase operation, is performed. For example, the golden measurement 334 may remain constant during the life of the memory device 306. The golden measurement 334 may correspond to the user data stored in the data structures 325'-1 to 325'-M. The golden measurement 334 may be compared to a cryptographic measure calculated by the memory device 306 from the user data stored in the data structures 325'-1 to 325'-M to determine whether the user data is secure, as will be discussed further herein.
[0045] In some examples, the secure partition 317 may be a secure subpartition of several such subpartitions that may make up a larger secure partition. In such examples, each subpartition may be addressed by a respective subpartition address. Each respective subpartition may, for example, have a number of respective data structures 325' and a respective golden measurement 334 corresponding to user data in the number of respective data structures. However, the key 333 may be used for the entire partition. For example, the key 333 may be used in cryptographic operations performed on the various subpartitions.
[0046] Partition 317' may store the same data as secure partition 317. Partition 317' may be a backup partition of partition 317 that may be swapped with partition 317 during a remediation process, as will be discussed further herein. For example, when data is first stored in partitions 317 and 317', the data in partitions 317 and 317' may be identical. However, the data in partition 317' may remain unchanged (e.g., never updated) so that the data remains in its initial state. For example, after the data is stored in partition 317', operations such as read, write, or erase operations may not be performed on the data. Alternatively, the data in partitions 317 and 317' may be updated together to have the same schema. In some instances, partition 317' may be a secret partition that may be hidden from a user so that the user cannot access partition 317'.
[0047] Read / write circuitry 335 may write secure data (eg, secure data structure 225') from buffer 311 into secure partition 317. Read / write circuitry 335 may read secure data from secure partition 317 into buffer 311.
[0048] In some instances, during a non-secure write operation, non-secure data (e.g., a non-secure data structure in the format of a data structure 225 having non-secure user data) may be sent from the controller 304 to the buffer 311 via the interface 321, I / O 322, and data path 312, and the read / write circuit system 335 may write the non-secure data to the partition 316.
[0049] During a non-secure read operation, read / write circuitry 335 may read non-secure data structures from non-secure logical partition 316 into buffer 311. The read non-secure data may be sent to controller 304 and the user data may be corrected by ECC component 308.
[0050] A data selector 337 of the memory device 306 can be coupled to the data path 312. The data selector 337 can be coupled to an ECC component 310 (e.g., a light ECC component), which can be the ECC component 110. The ECC component 310 can be coupled to an input of a multiplexer 339. The data path 312 can be coupled directly (e.g., without intervening components) to another input of the multiplexer 339 via a data bus 341.
[0051] I / O 322 may be coupled to a command interface 342 (eg, a command user interface). Command interface 342 may be coupled to a controller 345 of memory device 306. Controller 345 may be coupled to another input of multiplexer 339.
[0052] Controller 345 may be referred to as an internal controller because it is within memory device 306, whereas controller 304 is an external controller because controller 304 is external to memory device 306. In some examples, controller 304 may be a memory system controller (because it may control memory device 306), and controller 345 may be referred to as an embedded controller.
[0053] Controller 345 may send respective control signals to ECC component 310, data selector 337, data path 312, buffer 311, and read / write circuitry 335. For example, the respective control signals may activate ECC component 310, data selector 337, data path 312, buffer 311, and read / write circuitry 335. Controller 345 may send respective control signals to multiplexer 339. Each respective signal may cause multiplexer 339 to select a respective input.
[0054] The output of multiplexer 339 may be coupled to the input of demultiplexer 350, which may be, for example, part of cryptographic component 314 (which may be cryptographic component 114). Cryptographic component 314 may include a message authentication code (MAC) component, such as HMAC component 352. Cryptographic component 314 may also include a cryptographic hash component, such as SHA component 354, coupled to HMAC component 352. For example, SHA component 354 may implement a SHA-256 HASH algorithm. Respective outputs of demultiplexer 350 may be coupled to SHA component 354 and HMAC component 352, respectively.
[0055] The cryptography component 314 may include control logic 356 coupled to the HMAC component 352 and the SHA component 354. The control logic 356 may be coupled to receive a control signal from the controller 345 that may activate the control logic 356. The control logic 356 may output the control signal to the demultiplexer 350. For example, a control signal may cause the demultiplexer 350 to select an output coupled to the HMAC component 352, and another control signal may cause the demultiplexer 350 to select an output coupled to the SHA component 354. In some examples, the control logic 356 may send various results and / or flags related to the operations performed by the cryptography component 314 to the controller 345 and / or the command interface 342.
[0056] The memory device 306 may include a monotonic counter 360 coupled to the controller 345 and a physically unclonable function (PUF) component 362 coupled to the controller 345. The monotonic counter 360 may increment a monotonic increasing count (MTC) each time a security command is received by the memory device 306 from the controller 304. In some examples, the monotonic counter 360 may increment the MTC at each power cycle that resets the memory device 306. The MTC may be a freshness indicator that may be compared to a corresponding freshness indicator embedded in a security command to determine the freshness of the security command. This may prevent (e.g., eliminate) the possibility of replay.
[0057] The PUF can be based on physical phenomena and / or physical characteristics of memory device 306, such as temperature, noise, signal speed, structural characteristics, etc. For example, PUF component 362 can generate random numbers. In some examples, the PUF generated by PUF component 362 can be used to generate a key, such as key 333, that can be used by HMAC component 352 for cryptographic operations.
[0058] The key may be, for example, a PUF. In some examples, the controller 345 may send the PUF and MTC to the SHA component 354 via the multiplexer 339 and the demultiplexer 350, so that the SHA component 354 may generate the key by hashing the PUF with the MTC (e.g., key=HASH(PUF|MTC)). Alternatively, the controller 345 may send the PUF, MTC, and data from the controller 304 to the SHA component 354, so that the SHA component 354 may generate the key by hashing the PUF with the MTC and the data (e.g., key=HASH(PUF|MTC|data)).
[0059] I / O 322 can route commands from controller 304 to command interface 342 according to a specific protocol, such as SPI protocol or ONFI protocol and other protocols. Command interface 342 can receive non-safe commands and can evaluate the commands to determine whether the commands are correct. For example, command interface 342 can determine whether the command is correct by determining whether the command includes an expected opcode and expected command parameters. In response to determining that the command is correct, command interface 342 can send a control signal to activate data path 312 and I / O 322 to route data. Command interface 342 can also activate controller 345 to execute the command.
[0060] In the case of a non-secure write command, activating data path 312 and I / O 322 causes data corresponding to the non-secure write command to be routed from controller 304 to buffer 311 via I / O 322 and data path 312. In the case of a non-secure read command, activating data path 312 and I / O 322 causes data corresponding to the non-secure read command to be routed from buffer 311 to controller 304 via data path 312 and I / O 322.
[0061] Figure 4 A secure command 470 according to several embodiments of the present disclosure is illustrated. Command 470 may include an Opcode field 471, which may store an Opcode (e.g., hexadecimal code 0x9B). Command 470 may include a Command Type field 472, which may store a sub-opcode as the command type. Command 470 may include a Command Argument field 473, which may include a Freshness field 474, which may store the freshness of the command, such as MTC or NONCE (e.g., an arbitrary number used only once). Command Argument field 473 may also include a Command Parameter field 475, which may store parameters of the command, and a Command Signature field 476, which may store a signature of the command. Command Payload 477 may include, for example, an Opcode, a Sub-opcode, Freshness, and Parameters.
[0062] The command interface 342 may receive a security command 470 from the controller 304. The command interface 342 may activate the controller 345 in response to determining that the Opcode is correct. Then, the controller 345 may authenticate the command 470. For example, the controller 345 may determine whether the sub-opcode, the number of bytes in the payload 477, and the freshness are correct. If any of these are incorrect, the controller 345 may abort the command and send an error message to the controller 304 through the command interface 342 and the I / O 322. It should be noted that the controller 345 may determine the freshness by, for example, comparing the MTC in the command 470 with the MTC from the monotonic counter 360. In response to determining that the sub-opcode, the number of bytes in the payload 477, and the freshness are correct, the controller may verify the signature in the command 470.
[0063] In some examples, controller 345 may verify the signature by comparing the signature to a local cryptographic signature computed by cryptography component 314. For example, cryptography component 314 may compute the local signature as a MAC of payload 477 and a key K, such as key 333. For example, payload 477 may be sent from controller 345 to cryptography component 314 via multiplexer 339 and demultiplexer 350.
[0064] Cryptography component 314 may send the partial signature to controller 345 via bus 378. Controller 345 may execute command 470 in response to the signature in command 470 matching the partial signature or abort command 470 in response to the signature in command 470 not matching the partial signature.
[0065] In some examples, the partial signature may be an HMAC calculated by the HMAC component 352 from the payload 477 and the key K (e.g., as HMAC(payload, K). For example, the controller 345 may send a control signal to the control logic 356 to request the HMAC calculation. The controller 345 may also send a control signal to the multiplexer 339, which causes the multiplexer 339 to select an input from the controller 345 for output from the multiplexer 339, so that the multiplexer 339 can output the payload 477 to the demultiplexer 350. The control logic 356 may send a control signal to the demultiplexer 350, which causes the demultiplexer 350 to direct the payload 477 to the HMAC component 352. The controller 345 may send the control signal to the control logic 356, and the control logic 356 may cause the HMAC component 352 to calculate the partial signature in response to the control logic 356 receiving the control signal. The control logic 356 may send the partial signature to the controller 345 via the bus 378.
[0066] In some examples, the partial signature can be calculated using the HMAC component 352 in conjunction with the SHA component 354. For example, the HMAC component 352 combines the key K with an inner pad (ipad), such as by XORing K with ipad (e.g., K XORipad). The HMAC component 352 can combine the result of the XOR calculation with the payload to produce (K XOR ipad)||payload. The SHA component 354 can then calculate a cryptographic HASH of (K XOR ipad)||payload as HASH[(K XOR ipad)||payload]. The HMAC component 352 can then XOR K with an outer pad (opad) and combine the result of the XOR calculation with HASH[(K XOR ipad)||payload] to produce (K XOR opad)||HASH[(K XOR ipad)||payload]. Next, SHA component 354 may compute a cryptographic HASH of (K XOR opad)||HASH[(K XOR ipad)||payload] as HASH[(K XOR opad)||HASH[(K XOR ipad)||payload]], which may be a partial signature. Note that in this example, SHA component 354 is used twice.
[0067] In some examples, cryptographic operations may be performed by the cryptographic component 314 on non-secure user data from the controller 304 in response to a command from the controller 304. For example, the cryptographic component 314 may calculate a MAC of user data and a key received from the controller 304 (e.g., MAC (user data, key)) in response to a MAC command from the controller 304 or calculate a HASH of user data received from the controller 304 in response to a HASH command from the controller 304. The calculated MAC or HASH may then be returned to the controller 304.
[0068] In some examples, a command (e.g., a MAC or HASH command) may be received from controller 304 at command interface 342, and command interface 342 may activate controller 345. Controller 345 may activate I / O 322 and data path 312 via a control signal so that a data structure (e.g., data structure 225) corresponding to the command may be sent from controller 304 via I / O 322 and data path 312 to buffer 311.
[0069] Controller 345 may activate buffer 311 and data path 312 via control signals so that user data in the data structure in buffer 311 may be sent from buffer 311 to the input of multiplexer 339 coupled to data bus 341. Controller 345 may cause multiplexer 339 to select the user data for output to demultiplexer 350.
[0070] The controller 345 may activate the control logic 356 (e.g., via a "handshake" operation between the controller 345 and the control logic 356). The activated control logic 356 may activate the HMAC component 352 and may cause the demultiplexer 350 to direct the user data to the HMAC component 352. In an example where the controller 304 provides a key, a command may be used to send the key to the controller 345, and the controller 345 may send the key to the control logic 356 via the bus 378.
[0071] when Figure 2A When the user data in the data structure 225 in the data buffer 311 is secure, the data structure 225 may be written to the data buffer 311 in response to the authentication security write command, as previously described. For example, the controller 345 may activate the I / O 322 and the data path 312 in response to the authentication write command so that the data structure 225 may be sent to the data buffer 311 via the I / O 322 and the data path 312.
[0072] The controller 345 may activate the buffer 311, the data path 312, the data selector 337, and the ECC component 310 via the control signal. Then, the corresponding frames Frame 1 to Frame 4 of the data structure 225 may be sent from the buffer 311 to the data selector 337, so that the data selector 337 may select the corresponding user data USER1 to USER4 and send the corresponding user data USER1 to USER4 to the ECC component 310. The ECC component 310 may calculate the corresponding ECC'1 to ECC'4 from the corresponding user data USER1 to USER4.
[0073] The ECC component 310 may send the corresponding ECC'1 to ECC'4 back to the buffer 311 so that the corresponding ECC'1 to ECC'4 can be written into the corresponding spare columns 229-1 to 229-4. For example, the corresponding ECC'1 to ECC'4 may be used to overwrite the corresponding spare data SPARE1 to SPARE4 (e.g., with an all-1 or all-0 data pattern) (e.g., to generate the data structure 225'). The data structure 225' may be written from the buffer 311 to the secure partition 317 by the read / write circuit system 335 in response to the controller 345 activating the read / write circuit system 335 via a control signal.
[0074] The secure data structure (e.g., secure data structure 225') may be read from partition 317 in response to identifying a secure read command from controller 304, as previously described. Controller 345 may activate read / write circuitry 335 in response to identifying the read command so that read / write circuitry 335 may read the data structure into data buffer 311.
[0075] Controller 345 may activate buffer 311, data path 312, and I / O 322 so that the data structure may be routed from buffer 311 to controller 304. In some examples, ECC component 308 may use corresponding ECC data (e.g., ECC1, ECC2, ECC3, and ECC4) to correct user data, such as USER1, USER2, USER3, and USER4 ( Figure 2B ).
[0076] In some examples, the memory device 306 may determine whether the user data in the secure partition 317 is secure each time the memory device 306 is powered on or reset. For example, the controller 304 may send a security command to the memory device 306 each time the memory system 302 is powered on or reset, which may cause the memory device 306 to determine whether the user data in the partition 317 is secure.
[0077] Memory device 306 may determine whether the user data is secure by determining whether the user data has changed, such as since the last time memory device 306 was powered off. This may be accomplished by computing a cryptographic measurement of the user data in secure partition 317 and comparing the cryptographic measurement to golden measurement 334.
[0078] In some examples, the cryptographic measurement can be an HMAC of all user data in partition 317. The HMAC can be similar to the HMAC previously described in conjunction with the local signature (e.g., HMAC(user data, K)). For example, the cryptographic measurement can be a local signature HASH calculated by HMAC component 352 in conjunction with SHA component 354, where the user data is the payload.
[0079] The security command may be authenticated by the controller 345, as previously described. The controller 345 may execute the authentication command to determine the cryptographic measurement of the partition 317. The controller 345 may activate the read / write circuit system 335 to read the data structures 325'-1 to 325'-M from the partition 317 one by one into the buffer 311. The controller 345 may activate the buffer 311, the data path 312, the data selector 337, and the ECC component 310 via control signals. The ECC component 310 may correct the corresponding user data in each of the data structures 325'-1 to 325'-M using the corresponding ECC data calculated by the ECC component 310. The ECC component 310 may send the corrected user data to the cryptographic component 314, and the cryptographic component 314 may calculate the cryptographic measurement of the corrected user data.
[0080] Controller 345 may send a control signal to multiplexer 339, which may cause multiplexer 339 to select an input coupled to ECC component 310 so that ECC component 310 may send the corrected user data to demultiplexer 350. In some examples, controller 345 may activate control logic 356 via a “handshake” operation, and control logic 356 may send a signal to demultiplexer 350, which causes demultiplexer 350 to pass the corrected user data to HMAC component 352. HMAC component 352 (e.g., in conjunction with SHA component 354) may then calculate a cryptographic measurement from the corrected user data.
[0081] The cryptographic measurement may be compared to the golden measurement 334. If the cryptographic measurement is equal to the golden measurement 334, then the user data in the partition has not changed and is therefore secure. However, if the cryptographic measurement is not equal to the golden measurement 334, then the user data in the partition has been changed (e.g., due to a hacker attack) and is therefore considered unsecure.
[0082] For example, wherein each of the corresponding data structures 325'-1 to 325'-M is configured as a data structure 225'. The corresponding frames Frame 1 to Frame 4 can be sent from the buffer 311 to the data selector 337, so that the data selector 337 can select the corresponding user data USER1 to USER4 and the corresponding ECC data ECC'1 to ECC'4 and send USER1 to USER4 and the corresponding ECC data ECC'1 to ECC'4 to the ECC component 310. The ECC component 310 can use the corresponding ECC'1 to ECC'4 to correct the corresponding user data USER1 to USER4 and send the corrected user data USER1 to USER4 to the cryptography component 314. Each of the corresponding data structures 325'-1 to 325'-4 can repeat this process.
[0083] In some examples, a golden measurement 334 may be calculated, as previously described for cryptographic measurements, but for an initial state of user data (e.g., initial user data) in a partition 317 when the user data is first stored in the secure partition 317 and no operations, such as read, write, or erase operations, are performed on the partition 317. For example, the golden measurement 334 may be an HMAC. The HMAC may be similar to the HMAC previously described in connection with the local signature (e.g., HMAC (initial user data, K)). For example, the golden measurement 334 may be a local signature HASH calculated by the HMAC component 352 in conjunction with the SHA component 354, where the initial user data is the payload.
[0084] When errors in user data in a frame of a data structure cannot be corrected by ECC component 310, internal controller 345 may, for example, cause read / write circuitry 335 to reread the data structure so that ECC component 310 can correct the user data in each frame of the reread data structure.
[0085] In some examples, the controller 304 may read the data structure in the buffer 311 in response to the ECC component 310 being unable to correct the user data in the frame of the data structure. For example, the ECC component 308 may correct the data in the corresponding frame of the data structure, such as USER1, USER2, USER3, and USER4, using the corresponding ECC data (e.g., ECC1, ECC2, ECC3, and ECC4) calculated by the ECC component 308. Then, the controller 304 may send the data structure with the corrected user data (e.g., externally corrected user data) to the data buffer 311. Then, the controller 345 may cause the data selector 337 to select the externally corrected user data. In some examples, the controller 345 may place the ECC component 310 in a bypass mode so that the data selector 337 may select the externally corrected user data for the cryptographic component 314 without correction by the ECC component 310. For example, this may be done during calculation of a cryptographic measurement.
[0086] In some examples, controller 304 may be used to correct data in partition 317 only when any data in partition 317 has changed. Alternatively, the remediation process may be used when any data in partition 317 has changed. The data in partition 317 may change due to a hacker attack or a technical failure in operating memory device 306. The remediation process may also be performed in response to a cryptographic measurement not matching golden measurement 344. For example, the remediation process may involve controller 345 replacing partition 317 with partition 317'.
[0087] In various of the foregoing examples involving secret key 333, secret key 333 is used directly. However, in some examples, a session key may be used in place of secret key 333. For example, a new (e.g., different) session key may be used during each power cycle of memory system 302, which may begin each power-on (e.g., reset) of memory system 302. For example, the session key may be calculated at the end of the previous power cycle of cryptographic component 314. For example, the session key may be secret key 333 at the end of the previous power cycle and a MAC of MTC (e.g., session key=MAC(MTC, secret key)). Alternatively, for example, session key=HMAC(MTC, secret key).
[0088] The memory device 306 may have a memory device identifier (ID). In some examples, in response to a memory device authentication command from the controller 304, the controller 345 may send the ID to the cryptographic component 314. The cryptographic component 314 may calculate a secret key (e.g., a signature ID) as a MAC of the secret key 333 and the ID (e.g., signature ID=MAC(secret key, ID)). The cryptographic component 314 may return the signature ID to the controller 345, and the controller 345 may send the signature ID to the controller 304. The controller 304 may compare the signature ID with the correct signature ID of the memory device 306 and determine from the comparison whether the memory device is authentic. If the signature IDs match, the memory device 306 is authentic. Otherwise, the memory device 306 is not authentic and may be, for example, a clone.
[0089] Figure 5 Schematic diagram of a block 580 (eg, a NAND block) of nonvolatile memory cells that may be part of an array 109 or 309 (eg, a NAND array). In some examples, block 580 may correspond to a non-secure partition 116 or 316 or a secure partition 117 or 317.
[0090] Block 580 includes a group of memory cells coupled in series (e.g., NAND strings 581-1 to 581-I). Each of the NAND strings 581-1 to 581-I may include memory cells 582-1 to 582-J coupled in series between a select transistor 583 and a select transistor 584. The NAND strings 581-1 to 581-I may be selectively coupled to data lines 585-1 to 585-I (e.g., bit lines) through respective select transistors 584 in response to an activation signal applied to a select line 586 commonly coupled to the gate of the select transistor 584. The NAND strings 581-1 to 581-I may be selectively coupled to a common source 587 through respective select transistors 583 in response to an activation signal applied to a select line 588 commonly coupled to the gate of the select transistor 583.
[0091] Access lines 590-1 to 590-J (e.g., word lines) may be commonly coupled to control gates of memory cells 582-1 to 582-J, respectively. For example, a group of memory cells 582 at a common location in NAND strings 581-1 to 581-I may be commonly coupled to a corresponding access line 590. In some examples, a group of memory cells commonly coupled to an access line may be a page of memory cells. For example, a corresponding group of I memory cells commonly coupled to access lines 590-1 to 590-J, respectively, may be a corresponding page of memory cells. Thus, there may be J pages of memory cells in block 580, each having I memory cells. However, the present disclosure is not limited thereto, and various groups of memory cells commonly coupled to access lines may correspond to pages. In some examples, a data structure (e.g., data structure 225, 225', or 325') may be stored in a page.
[0092] It should be noted that all memory cells 582 of a block 580 may be erased collectively during an erase process, regardless of whether the block 580 is part of a secure partition or part of a non-secure partition. When the block 580 is part of a secure partition, the block 580 may be erased in response to a secure erase command received from the controller 304 (which may be identified as previously described). When the block 580 is part of a non-secure partition, the block 580 may be erased in response to a non-secure erase command received from the controller 304. In some examples, a page of memory cells 582 may be written or read at a time.
[0093] Each of the memory cells 582 may include a charge storage structure 591 (eg, a floating gate or a charge trapping layer, etc.) and a control gate 592. The change in Vt of the memory cell 582 by programming the charge storage structure 591 may determine the data state of each cell.
[0094] Memory cells 582 may be SLCs, which may store a single bit per cell, or MLCs, which may store multiple bits per cell, such as two bits per cell, three bits per cell (such as three-level cells (TLC)), four bits per cell (such as quad-level cells (QLC)), etc. It should be noted that partitions 117 and 317 may include only blocks of SLCs, while partitions 116 or 316 may include blocks of SLCs and / or MLCs.
[0095] In some examples, block 580 may be part of a stacked memory array, which may be referred to as a three-dimensional (3D) memory array (e.g., a three-dimensional NAND memory array). In a stacked memory array, NAND strings 581 may be adjacent to a semiconductor structure (e.g., a vertical semiconductor pillar), and memory cells 582 in NAND strings 581 may be at different levels (e.g., vertical levels). Memory cells 582 (e.g., a page of memory cells) commonly coupled to access lines 590 may be at, for example, a common level and may form a level of memory cells (sometimes referred to as a layer of memory cells).
[0096] In the above detailed description of the present disclosure, reference is made to the accompanying drawings which form a part of the present disclosure and in which are shown by way of illustration several embodiments of how the present disclosure may be practiced. These embodiments are described in sufficient detail to enable one of ordinary skill in the art to practice the embodiments of the present disclosure, and it is to be understood that other embodiments may be utilized and process, electrical and / or structural changes may be made without departing from the scope of the present disclosure.
[0097] As used herein, "a number" or "amount" of something may refer to one or more such things. For example, a number or amount of memory cells may refer to one or more memory cells. "A plurality" of something means two or more. As used herein, the term "coupled" may include electrical coupling, direct coupling and / or direct connection without intervening elements (e.g., by direct physical contact), indirect coupling and / or connection using intervening elements, or wireless coupling. The term "coupled" may further include two or more elements that cooperate or interact with each other (e.g., in a causal relationship).
[0098] Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that arrangements calculated to achieve the same results may replace the specific embodiments shown. The present disclosure is intended to cover adaptations or variations of several embodiments of the present disclosure. It should be understood that the above description has been made in an illustrative manner and not in a limiting manner. A person of ordinary skill in the art will understand the combination of the above embodiments and other embodiments not specifically described herein after reviewing the above description. The scope of several embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of several embodiments of the present disclosure should be determined by reference to the attached claims and the full range of equivalents authorized by such claims.
[0099] In the foregoing detailed description, some features are grouped together in a single embodiment to streamline the disclosure. This disclosure method should not be interpreted as reflecting the following intention: the disclosed embodiments of the present disclosure must use more features than those explicitly recited in each claim. Rather, as reflected in the appended claims, the inventive subject matter does not have all the features of a single disclosed embodiment. Therefore, the appended claims are hereby incorporated into the detailed description, with each claim standing on its own for a separate embodiment.
Claims
1. A device for cryptographic component operation, comprising: A first controller (104, 304) comprising a first error correction code component (108, 308); and a memory device (106, 306) coupled to the first controller, the memory device comprising: an array of memory cells (109, 309); a second error correction code component (110, 310) coupled to the array and configured to correct data from the array; a cryptographic component (114, 314) coupled to the second error correction code component and configured to receive corrected data from the second error correction code component; a second controller (345); and A command user interface (342) is coupled to the second controller, wherein the command user interface is configured to activate the second controller in response to receiving a command from the first controller.
2. The device according to claim 1, wherein The first error correction code component is configured to calculate a first error correction code (230-1, ..., 230-4, 231) and use the first error correction code to correct the data from the array; and The second error correction code component is configured to calculate a second error correction code (230-1, ..., 230-4, 231) and use the second error correction code to correct the data from the array.
3. The device according to claim 1, wherein The cryptographic component is configured to calculate a first cryptogram from the received data; and The memory device is configured to compare the first password to a second password stored in the array.
4. The apparatus of claim 3, wherein the first and second passwords are based on a key (333) stored in the array. The apparatus of claim 3 , wherein the first and second passwords are first and second password hashes.
6. The apparatus of claim 1, wherein: The first controller is an external controller (304) outside the memory device and is coupled to the memory device via a memory interface (121, 321) and to a host (120) via a host interface (123, 323); and The second controller is an internal controller (345) of the memory device.
7. The apparatus of claim 6, wherein: The memory device includes a monotonic counter (360) coupled to the internal controller; and The internal controller is configured to compare the monotonic count from the monotonic counter with a monotonic count in a command (470) received from the first controller to determine the freshness of the command.
8. The apparatus of claim 6, wherein the memory device comprises a physically non-copyable functional component (362) coupled to the internal controller.
9. The apparatus of any one of claims 1 to 3, wherein the cryptographic component comprises: a SHA component (354) coupled to the hash message authentication code component (352); and A control logic is coupled to the SHA component and the hashed message authentication code component.
10. The apparatus of any one of claims 1 to 3, wherein the cryptographic component is configured to: receiving data from the first controller without correcting the data using the second error correction code component; and A password is calculated from the data.
11. A memory device (102, 302) for cryptographic memory operations, comprising: an array (109, 309) of memory cells including a portion corresponding to a secure partition (117, 317); a buffer (111, 311) coupled to the array and configured to receive a data structure (225, 225', 325') from the secure partition, the data structure comprising a plurality of respective segments (227-1, ..., 227-4) of data, wherein each of the respective segments comprises respective user data (228-1, ..., 228-4) and respective first error correction code data (230-1, ..., 230-4) calculated externally of the memory device; an error correction code component (108, 308) coupled to the buffer and configured to receive the respective user data from the data structure in the buffer to calculate respective second error correction code data from the respective user data and to add the respective second error correction code data to the respective segment of the data structure; a controller (104, 304) configured to write the data structure from the buffer to the secure partition after adding the respective second error correction code data to the respective segment of the data structure; and a cryptographic component (114, 314) coupled to the second error correction code component (110, 310); wherein the error correction code component is configured to correct the respective user data using the respective second error correction code data and send the corrected respective user data to the cryptographic component; and Wherein the controller is a first controller, the memory device further comprises a command user interface (342) coupled to the first controller, wherein the command user interface is configured to activate the first controller in response to receiving a command from a second controller external to the memory device.
12. The memory device of claim 11, wherein the first controller is configured to, in response to being activated, authenticate the command by: determining the freshness of said command; causing the cryptographic component to compute a signature in response to determining that the command is fresh; and The calculated signature is compared to the signature in the command.
13. The memory device of claim 12, wherein the computed signature is based on a key (333) stored in the array and a hashed message authentication code of a payload (477) of the command received at the cryptographic component from the first controller.
14. The memory device of claim 12, wherein: The computed signature is a hashed message authentication code based on a secret key and a payload of the command received at the cryptographic component from the first controller; and The key is a session key that is a message authentication code of a key (333) stored in the array and a monotonic count of a monotonic counter of the memory device.
15. A method for cryptographic memory operations, comprising: reading data from a memory array (109, 309) of a memory device (106, 306), the data comprising user data, first error correction data (230-1, ..., 230-4, 231) calculated from the user data by an external controller (304), and second error correction data (230-1, ..., 230-4, 231) calculated from the user data by an error correction code component (110, 310) of the memory device, wherein reading the data from the memory array comprises reading the data from a portion of the memory array corresponding to a first logical partition; correcting, by the error correction code component, the user data using the second error correction data; sending corrected user data from the error correction code component to a cryptography component (114, 314) of the memory device; performing, by the cryptographic component, a cryptographic operation on the corrected user data, wherein performing, by the cryptographic component, the cryptographic operation on the corrected user data comprises computing, by the cryptographic component, a cryptographic measurement from the corrected user data; comparing the calculated cryptographic measurement to a golden measurement stored in the memory array (334); and The first logical partition of data is replaced with a second logical partition of data in response to the computed cryptographic measurement not matching the golden measurement.
16. The method of claim 15, further comprising, before using the second error correction data to correct the user data: sending the data from the memory array to a data selector (337) of the memory device; selecting, by the data selector, the user data and the second error correction data from the data; and The user data and the second error correction data are sent from the data selector to the error correction code component.
17. A method for cryptographic memory operations, comprising: Reading data from a memory array (109, 309) of a memory device (106, 306), the data comprising user data, first error correction data (230-1, ..., 230-4, 231) calculated from the user data by an external controller (304), and second error correction data (230-1, ..., 230-4, 231) calculated from the user data by an error correction code component (110, 310) of the memory device; correcting, by the error correction code component, the user data using the second error correction data; sending corrected user data from the error correction code component to a cryptography component (114, 314) of the memory device; performing, by the cryptographic component, a cryptographic operation on the corrected user data; and In response to the error correction code component being unable to correct the user data using the second error correction data: rereading the data from the memory array by an internal controller (345) of the memory device, and correcting the user data of the reread data by the error correction code component using the second error correction data of the reread data; or The data is read from the memory array by the external controller, and the user data of the data read by the external controller is corrected by the external controller using the first error correction data.
18. A method for cryptographic memory operations, comprising: reading data from a memory array of a memory device, the data comprising user data, first error correction data calculated from the user data by an external controller, and second error correction data calculated from the user data by an error correction code component of the memory device; correcting, by the error correction code component, the user data using the second error correction data; sending corrected user data from the error correction code component to a cryptography component of the memory device; performing, by the cryptographic component, a cryptographic operation on the corrected user data; and A cryptographic signature of a command received from the external controller is verified by comparing the cryptographic signature to a cryptographic signature calculated by the cryptographic component from the command and a key stored in the memory array.
Citation Information
Patent Citations
Error correction operations in a memory device
CN105144302A
Reliability, availability, and serviceability in a memory device
US20100262889A1
System for generating a cryptographic key from a memory used as a physically unclonable function
US20150234751A1
