Using storage as blocks in blockchain

By introducing blockchain data structures into memory, generating blocks of encrypted hash and digital signatures, the memory data security problem is solved and effective verification and protection of data is achieved.

CN113632413BActive Publication Date: 2024-11-05MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080022075.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-25
Filing Date
2020-03-23
Publication Date
2024-11-05
Estimated Expiration
2040-03-23

AI Technical Summary

Technical Problem

Data in existing memory devices are vulnerable to unauthorized changes caused by failures or hackers, resulting in data insecurity and affecting commercial transactions and security.

Method used

By introducing a blockchain data structure in memory, the memory is used as a block in the blockchain, and blocks containing encrypted hash and digital signatures are generated to verify the authenticity and integrity of the data stored in the memory.

Benefits of technology

Ensures that data in memory is safely verified without additional components or circuit systems, prevents hacker attacks and data tampering, and ensures the authenticity and integrity of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113632413B_ABST
    Figure CN113632413B_ABST
Patent Text Reader

Abstract

The present disclosure includes devices, methods, and systems for using a memory as a block in a blockchain. Embodiments include a memory and circuitry configured to generate a block in a blockchain to verify data stored in the memory, wherein the block includes a cryptographic hash of a previous block in the blockchain and a cryptographic hash of the data stored in the memory, and the block has a digital signature associated therewith indicating that the block is included in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to semiconductor memories and methods, and more particularly to using memories as blocks in a blockchain. Background Art

[0002] Memory devices are typically provided as internal, semiconductor integrated circuits, and / or external removable devices in computers or other electronic devices. There are many different types of memory, including volatile and non-volatile memory. Volatile memory may require power to maintain its data, and may include random access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), etc. Non-volatile memory can provide permanent data by maintaining stored data even when there is no power, and may include NAND flash memory, NOR flash memory, read-only memory (ROM), and resistance variable memory, such as phase change random access memory (PCRAM), resistive random access memory (RRAM), and magnetic random access memory (MRAM), etc.

[0003] Memory devices may be combined together to form solid state drives (SSDs), embedded multimedia cards (e.MMCs), and / or universal flash storage (UFS) devices. SSDs, e.MMCs, and / or UFS devices may include non-volatile memory (e.g., NAND flash memory and / or NOR flash memory), and / or may include volatile memory (e.g., DRAM and / or SRAM), as well as various other types of non-volatile and volatile memory. Non-volatile memory may be used in a wide range of electronic applications, such as personal computers, portable memory sticks, digital cameras, cellular phones, portable music players such as MP3 players, movie players, and the like.

[0004] Flash memory devices may include memory cells that store data in a charge storage structure such as a floating gate. Flash memory devices typically use single-transistor memory cells that allow for high memory density, high reliability, and low power consumption. Resistance variable memory devices may include resistive memory cells that can store data based on the resistance state of a storage element (e.g., a resistive memory element having a variable resistance).

[0005] Memory cells can be arranged in an array, and memory cells in the array architecture can be programmed to a target (e.g., desired) state. For example, charge can be placed on or removed from a charge storage structure (e.g., a floating gate) of a flash memory cell to program the cell to a specific data state. The stored charge on the charge storage structure of the cell can indicate the threshold voltage (Vt) of the cell. The state of a flash memory cell can be determined by sensing the stored charge (e.g., Vt) on the charge storage structure of the cell.

[0006] Many threats can affect data stored in memory cells of a memory device. For example, such threats may include failures occurring in the memory device and / or threats from hackers or other malicious users. Such threats may cause significant financial losses, and / or may cause significant safety and / or security issues. Summary of the invention

[0007] One embodiment of the present disclosure provides a device (206, 506, 906, 1006) comprising: a memory (216); and a circuit system (210) configured to generate a block (220, 320-2) in a blockchain to verify data stored in the memory (216), wherein: the block (220, 320-2) includes: a cryptographic hash (324-2) of a previous block (320-1) in the blockchain; and a cryptographic hash (326-2) of the data stored in the memory (216); and the block (220, 320-2) has a digital signature (328-2) associated therewith indicating that the block (220, 320-2) is included in the blockchain.

[0008] Another embodiment of the present disclosure provides a method of operating a memory (216), comprising: generating a block (220, 320-2) in a blockchain to verify data stored in the memory (216); and storing the block (220, 320-2) in the memory (216), wherein: the block (220, 320-2) includes: an encrypted hash (324-2) of a previous block (320-1) in the blockchain; and an encrypted hash (326-2) of the data stored in the memory (216); and the block (220, 320-2) has a digital signature (328-2) associated therewith indicating that the block (220, 320-2) is included in the blockchain.

[0009] Another embodiment of the present disclosure provides a method of operating a memory (216), comprising: receiving a block (220, 320-2) in a blockchain from the memory (216) by a host (202, 502, 902) to verify data stored in the memory (216); and verifying the data stored in the memory (216) by the host (202, 502, 902) using the received block (220, 320-2), wherein: the block (220, 320-2) includes: an encrypted hash (324-2) of a previous block (320-1) in the blockchain; and an encrypted hash (326-2) of the data stored in the memory (216); and the block (220, 320-2) has a digital signature (328-2) associated therewith indicating that the block (220, 320-2) is included in the blockchain.

[0010] Another embodiment of the present disclosure provides a system, comprising: a memory (216), wherein the memory (216) includes a block (220, 320-2) in a blockchain for verifying data stored in the memory (216), wherein: the block (220, 320-2) includes: a cryptographic hash (324-2) of a previous block (320-1) in the blockchain; and a cryptographic hash (326-2) of the data stored in the memory (216); and the block (220, 320-2) has a digital signature (328-2) associated therewith indicating that the block (220, 320-2) is included in the blockchain; and a host (202, 502, 902), wherein the host (202, 502, 902) is configured to: receive the block (220, 320-2) from the memory (216); and verify the data stored in the memory (216) using the received block. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A diagram showing a portion of a memory array having several physical blocks according to an embodiment of the disclosure.

[0012] Figure 2 is a block diagram of a computing system including a host and an apparatus in the form of a memory device according to an embodiment of the present disclosure.

[0013] Figure 3 An example of a block that can be used in a blockchain to verify data stored in a memory according to an embodiment of the present disclosure is shown.

[0014] Figure 4A An example of a pair of registers for defining a secure memory array according to an embodiment of the present disclosure is shown.

[0015] Figure 4B A diagram showing a portion of a memory array including a defined secure memory array according to an embodiment of the present disclosure.

[0016] Figure 5 is a block diagram of an example system including a host and a memory device according to an embodiment of the present disclosure.

[0017] Figure 6 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure.

[0018] Figure 7 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure.

[0019] Figure 8 is a block diagram of an example process for verifying credentials according to an embodiment of the present disclosure.

[0020] Fig. 9 is a block diagram of an example process for verifying a signature according to an embodiment of the present disclosure.

[0021] Fig.10 is a block diagram of an example memory device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] The present disclosure includes devices, methods, and systems for using a memory as a block in a blockchain. Embodiments include a memory and a circuit system configured to generate a block in a blockchain to verify data stored in the memory, wherein the block includes a cryptographic hash of a previous block in the blockchain and a cryptographic hash of the data stored in the memory, and the block has a digital signature associated therewith indicating that the block is included in the blockchain. In some embodiments, as Figure 1 Specific and / or particular physical blocks of memory in the described memory may be used as such blocks in a blockchain. However, the embodiments are not limited in this regard.

[0023] Many threats may affect data stored in a memory (e.g., a memory device). For example, a fault may occur in the array and / or circuit system of the memory, which may cause errors in the data. As an additional example, a hacker or other malicious user may attempt to perform activities for malicious purposes to make unauthorized changes to the data. For example, a malicious user may attempt to change the data stored in the memory, thereby adversely affecting business transactions (e.g., diverting traffic) performed using this memory (e.g., by skipping a code to verify payment to falsely indicate that payment has been made for the service provided), software license checks performed on the memory (e.g., by skipping a code to verify the license to falsely indicate that the software of the memory has been properly licensed) or automotive control performed using this memory (e.g., skipping a part authenticity check, an environmental check, or a fault alarm check), as well as other types of hacker activities. Such hacker activities (e.g., attacks) may cause significant financial losses, and / or may cause significant safety and / or security issues.

[0024] Therefore, in order to ensure a secure memory system, it is necessary to verify (e.g., authenticate and / or prove) that the data stored in the memory is authentic (e.g., the same as originally programmed) and has not been altered by hacker activity or other unauthorized changes. Embodiments of the present disclosure may use the memory as a block in a blockchain data structure (e.g., use the memory as a storage component of the blockchain) to effectively verify the data stored in the memory, thereby ensuring a secure memory system. For example, embodiments of the present disclosure may modify an existing circuit system of the memory (e.g., an existing firmware of a memory device) to use the memory as a block in a blockchain, so that the memory can be used as a block in a blockchain without adding additional (e.g., new) components or circuit systems to the memory.

[0025] As used herein, "one" or "several" may refer to one or more of something, and "multiple" may refer to two or more of such things. For example, a memory device may refer to one or more memory devices, and multiple memory devices may refer to two or more memory devices. In addition, as used herein, particularly with respect to reference numerals in the accompanying drawings, the designators "R", "B", "S", and "N" indicate that a number of particular features so designated may be included in several embodiments of the present disclosure. The numbers between different designations may be the same or different.

[0026] The figures herein follow a numbering convention in which the first one or more 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 can be identified by using similar numbers. For example, 101 can represent Figure 1 Component "01" in , and similar components can be found in Figure 2It is represented as 201 in Chinese.

[0027] Figure 1 A diagram showing a portion of a memory array 101 having several physical blocks according to an embodiment of the present disclosure. For example, the memory array 101 can be a flash memory array, such as a NAND flash memory array. As an additional example, the memory array 101 can be a resistance variable memory array, such as a PCRAM, RRAM, MMRAM, or a spin torque transfer (STT) array, etc. However, embodiments of the present disclosure are not limited to a particular type of memory array. In addition, the memory array 101 can be a secure memory array, as will be further described herein. In addition, although in Figure 1 Although not shown in FIG. 1 , the memory array 101 may be located on a particular semiconductor die along with various peripheral circuits associated with its operation.

[0028] like Figure 1 As shown in , the memory array 101 has several physical blocks 107-0 (block 0), 107-1 (block 1), ..., 107-B (block B) of memory cells. The memory cells can be single-level cells and / or multi-level cells, such as two-level cells, three-level cells (TLC), or quad-level cells (QLC). As examples, the number of physical blocks in the memory array 101 can be 128 blocks, 512 blocks, or 1,024 blocks, but the embodiments are not limited to a specific power of two, nor to any specific number of physical blocks in the memory array 101.

[0029] Several physical blocks of memory cells (e.g., blocks 107-0, 107-1, ..., 107-B) may be included in a memory cell plane, and several memory cell planes may be included on a die. Figure 1 In the example shown in , each physical block 107-0, 107-1, ..., 107-B can be part of a single die. That is, Figure 1 The portion of memory array 101 shown in FIG. 1 may be a die of memory cells.

[0030] like Figure 1 As shown in , each physical block 107-0, 107-1, ..., 107-B includes a number of physical rows of memory cells (e.g., 103-0, 103-1, ..., 103-R) coupled to access lines (e.g., word lines). The number of rows (e.g., word lines) in each physical block can be 32, but embodiments are not limited to a particular number of rows 103-0, 103-1, ..., 103-R per physical block. In addition, although in Figure 1 Not shown, but the memory cells can be coupled to columns of sense lines (eg, data lines and / or digit lines).

[0031] One of ordinary skill in the art will appreciate that each row 103-0, 103-1, ..., 103-R may include several pages of memory cells (e.g., physical pages). A physical page refers to a programming and / or sensing unit (e.g., a number of memory cells that are programmed and / or sensed together as a functional group). Figure 1 In the illustrated embodiment, each row 103-0, 103-1, ..., 103-R includes one physical page of memory cells. However, the embodiments of the present disclosure are not so limited. For example, in an embodiment, each row may include multiple physical pages of memory cells (e.g., one or more even pages of memory cells coupled to even-numbered data lines, and one or more odd pages of memory cells coupled to odd-numbered data lines). In addition, for embodiments including multi-level cells, a physical page of memory cells may store multiple data pages (e.g., logical pages) (e.g., a slow page of data and a fast page of data, where each cell in the physical page stores one or more bits toward a slow page of data and one or more bits toward a fast page of data).

[0032] like Figure 1 As shown in , a memory cell page may include several physical sectors 105-0, 105-1, ..., 105-S (e.g., a subset of memory cells). Each physical sector 105-0, 105-1, ..., 105-S of the cell may store several data logical sectors. In addition, each data logical sector may correspond to a portion of a particular data page. As an example, a first data logical sector stored in a particular physical sector may correspond to a logical sector corresponding to a first data page, and a second data logical sector stored in a particular physical sector may correspond to a second data page. Each physical sector 105-0, 105-1, ..., 105-S may store system and / or user data, and / or may include overhead data, such as error correction code (ECC) data, logical block address (LBA) data, and metadata.

[0033] Logical block addressing is a scheme that can be used by the host to identify data logical sectors. For example, each logical sector may correspond to a unique logical block address (LBA). In addition, the LBA may also correspond to (e.g., dynamically map to) a physical address, such as a physical block address (PBA), which may indicate the physical location of the data logical sector in the memory. The data logical sector may be a number of data bytes (e.g., 256 bytes, 512 bytes, 1,024 bytes, or 4,096 bytes). However, embodiments are not limited to these examples.

[0034] It should be noted that other configurations of physical blocks 107-0, 107-1, ..., 107-B, rows 103-0, 103-1, ..., 103-R, sectors 105-0, 105-1, ..., 105-S, and pages are possible. For example, rows 103-0, 103-1, ..., 103-R of physical blocks 107-0, 107-1, ..., 107-B may each store data corresponding to a single logical sector, which may include, for example, more or less than 512 bytes of data.

[0035] Figure 2 2 is a block diagram of a computing system 200 including a host 202 and an apparatus in the form of a memory device 206 according to an embodiment of the present disclosure. As used herein, an "apparatus" may refer to, but is not limited to, any of a variety of structures or combinations of structures, such as a circuit or circuit system, one or more dies, one or more modules, one or more devices, or one or more systems. In addition, in an embodiment, the computing system 200 may include a number of memory devices similar to the memory device 206.

[0036] exist Figure 2 In the illustrated embodiment, the memory device 206 may include a memory 216 having a memory array 201. The memory array 201 may be similar to the memory array 216 previously described in connection with FIG. Figure 1 1. Additionally, memory array 201 may be a secure array, as further described herein. Figure 2 One memory array 201 is shown in FIG. 2 , but memory 216 may include any number of memory arrays similar to memory array 201 .

[0037] like Figure 2 As shown in , the host 202 may be coupled to the memory device 206 via the interface 204. The host 202 and the memory device 206 may communicate (e.g., send commands and / or data) via the interface 204. The host 202 and / or the memory device 206 may be a laptop, a personal computer, a digital camera, a digital recording and playback device, a mobile phone, a PDA, a memory card reader, an interface hub, or an Internet of Things (IoT)-enabled device (e.g., an IoT-enabled automotive (e.g., vehicle and / or transportation infrastructure) device or an IoT-enabled medical (e.g., implantable and / or health monitoring) device), as well as other host systems, or may be part of these devices, and may include a memory access device (e.g., a processor). A person of ordinary skill in the art will appreciate that a "processor" may mean one or more processors, such as a parallel processing system, a number of coprocessors, and the like.

[0038] The interface 204 may be in the form of a standardized physical interface. For example, when the memory device 206 is used for information storage in the computing system 200, the interface 204 may be a Serial Advanced Technology Attachment (SATA) physical interface, a Peripheral Component Interconnect Express (PCIe) physical interface, a Universal Serial Bus (USB) physical interface, or a Small Computer System Interface (SCSI), among other physical connectors and / or interfaces. However, in general, the interface 204 may provide an interface for passing control, address, information (e.g., data), and other signals between the memory device 206 and a host (e.g., the host 202) having a compatible receiver of the interface 204.

[0039] The memory device 206 includes a controller 208 for communicating with the host 202 and the memory 216 (e.g., the memory array 201). For example, the controller 208 may send commands to perform operations on the memory array 201, including operations to sense (e.g., read), program (e.g., write), move, and / or erase data, among other operations.

[0040] Controller 208 may be included on the same physical device (e.g., the same die) as memory 216. Alternatively, controller 208 may be included on a separate physical device that is communicatively coupled to the physical device that includes memory 216. In an embodiment, components of controller 208 may be spread across multiple physical devices (e.g., some components on the same die as the memory and some components on different dies, modules, or boards) as a distributed controller.

[0041] The host 202 may include a host controller ( Figure 2 The host controller 202 may include a host computer 210 (not shown) for communicating with the memory device 206. The host controller may send commands to the memory device 206 via the interface 204. The host controller may communicate with the memory device 206 and / or a controller 208 on the memory device 206 to read, write, and / or erase data, among other operations. In addition, in an embodiment, the host 202 may be an IoT-enabled device with IoT communication capabilities, as previously described herein.

[0042] The controller 208 on the memory device 206 and / or the host controller on the host 202 may include control circuitry and / or logic (e.g., hardware and firmware). In an embodiment, the controller 208 on the memory device 206 and / or the host controller on the host 202 may be an application specific integrated circuit (ASIC) coupled to a printed circuit board that includes the physical interface. Also, the memory device 206 and / or the host 202 may include a buffer and a number of registers of volatile and / or non-volatile memory.

[0043] For example, Figure 2As shown in , a memory device may include circuitry 210. Figure 2 In the embodiment shown in , the circuit system 210 is included in the controller 208. However, the embodiments of the present disclosure are not so limited. For example, in an embodiment, the circuit system 210 can be included in the memory 216 (e.g., on the same die as the memory 216) (e.g., instead of in the controller 208). For example, the circuit system 210 can include hardware, firmware and / or software.

[0044] Circuit system 210 may generate block 220 in a blockchain for verifying (e.g., authenticating and / or proving) data stored in memory 216 (e.g., memory array 201). Block 220 may include a cryptographic hash of a previous block in the blockchain (e.g., a link to the previous block) and (e.g., identifying) a cryptographic hash of the data stored in memory array 201. Block 220 may also include a header with a timestamp indicating when the block was generated. In addition, block 220 may have a digital signature associated with it indicating that the block is included in the blockchain. This document (e.g., in conjunction with Figure 3 ) further describes an example showing such a block.

[0045] As used herein, a “block in a blockchain”, e.g. Figure 2 The block 220 shown in FIG. 2 may include data (e.g., payload), a header, a timestamp, a history, etc. However, as used herein, a block in a blockchain need not be associated with a previous Figure 1 The memory blocks described are of equal size. For example, a block in a blockchain may be smaller, equal to, and / or larger than the block size denomination of a particular memory block associated with an architecture or designation.

[0046] For example, the cryptographic hash of the data stored in the memory array 201 and / or the cryptographic hash of the previous block in the blockchain may include a SHA-256 cryptographic hash. In addition, the cryptographic hash of the data stored in the memory array 201 and the cryptographic hash of the previous block in the blockchain may each include 256 bytes of data.

[0047] The cryptographic hash of the data stored in memory array 201 may be generated (e.g., calculated), for example, by circuitry 210. In this example, the cryptographic hash of the stored data may be generated internally by memory device 206 without moving external data over interface 204. As an additional example, the cryptographic hash of the data may be transmitted from an external entity. For example, host 202 may generate a cryptographic hash of the data stored in memory array 201 and send the generated cryptographic hash to memory device 206 (e.g., circuitry 210 may receive the cryptographic hash of the data stored in memory array 201 from host 202).

[0048] The digital signature associated with block 220 may be generated (e.g., calculated), for example, by circuit system 210 based on (e.g., in response to) an external command (e.g., a command received from host 202). For example, the digital signature may be generated using symmetric or asymmetric cryptography. As an additional example, host 202 may generate the digital signature and send (e.g., provide) the generated digital signature to memory device 206 (e.g., circuit system 210 may receive the digital signature from host 202).

[0049] like Figure 2 As shown, blocks 220 and digital signatures associated with blocks 220 may be stored in memory array 201. For example, blocks 220 may be stored in a portion of memory array 201 that is not accessible to users of memory device 206 and / or host 202 (e.g., a "hidden" area of ​​memory array 201). Storing blocks 220 in memory array 201 may simplify storage of blocks because, for example, software storage management of the blocks is not required.

[0050] In an embodiment, memory array 201 (e.g., a subset of array 201 or the entire array 201) may be a secure array (e.g., an area of ​​memory 216 that is always under control). For example, data stored in memory array 201 may include sensitive (e.g., non-user) data, such as host firmware and / or code to be executed for sensitive applications. In such an embodiment, a pair of non-volatile registers may be used to define a secure array. For example, in Figure 2 In the illustrated embodiment, the circuit system 210 includes registers 214-1 and 214-2 that can be used to define the security array. For example, the register 214-1 can define the address of the security array (e.g., the starting LBA of the data), and the register 214-2 can define the size of the security array (e.g., the ending LBA of the data). Figures 4A-4B ) further describes examples of such registers and their use in defining a security array. Once the security array has been defined, circuit system 210 may use authenticated and anti-replay protected commands to generate (e.g., calculate) a cryptographic hash associated with the security array, which may be referred to herein as a golden hash (e.g., such that only memory device 206 knows the golden hash, and only memory device 206 can generate and update it). The golden hash may be stored in an inaccessible portion of memory array 201 (e.g., the same inaccessible portion in which block 220 is stored), and may be used in the process of verifying data of the security array, as will be further described herein.

[0051] The memory device 206 (e.g., the circuit system 210) may send the block 220 and the digital signature associated with the block 220 to the host 202 through the interface 204 to verify the data stored in the memory array 201. For example, in response to powering (e.g., power-on and / or power-up) the memory device 206, the circuit system 210 may sense (e.g., read) the block 220 stored in the memory array 201 and send the sensed block to the host 202 to verify the data stored in the array 201. Thus, verification of the data stored in the memory array 201 may be initiated (e.g., automatically) when the memory device 206 is powered.

[0052] As an additional example, the circuit system 210 may send the block 220 and the digital signature associated with the block 220 to the host 202 when an external entity, such as the host 202, initiates verification of the data stored in the memory array 201. For example, the host 202 may send a command to sense the block 220 to the memory device 206 (e.g., the circuit system 210), and the circuit system 210 may execute the command of the sense block 220 in response to receiving the command and send the sensed block to the host 202 to verify the data stored in the array 201.

[0053] Upon receiving block 220, host 202 may verify (e.g., determine whether to verify) the data stored in memory array 201 using the received block. For example, host 202 may verify the data using a cryptographic hash of a previous block in the blockchain and a cryptographic hash of the data stored in memory array 201. In addition, host 202 may verify a digital signature associated with block 220 to determine that the block is included (e.g., eligible for inclusion) in the blockchain. As used herein, verifying the data stored in memory array 201 may include and / or refer to authenticating and / or proving that the data is authentic (e.g., the same as originally programmed data) and has not been altered by hacker activity or other unauthorized changes.

[0054] In embodiments where the memory array 201 is a secure array, a golden hash as previously described herein may also be used to verify data stored in the memory array 201. For example, a runtime cryptographic hash may be generated (e.g., calculated) and compared to the golden hash. If the comparison indicates that the runtime and golden hashes match, then it may be determined that the secure array has not been altered, and therefore the data stored therein is valid. However, if the comparison indicates that the runtime and golden hashes do not match, then this may indicate that the data stored in the secure array has been altered (e.g., due to a hacker or a malfunction in the memory), and this may be reported to the host 202.

[0055] After verifying the data stored in memory array 201, circuit system 210 may generate an additional (e.g., next) block in the blockchain for verifying the data stored in memory array 201, in a manner similar to the manner in which block 220 was generated. For example, this additional block may include a cryptographic hash of block 220, which has now become the previous block in the blockchain, and a new cryptographic hash of the data stored in memory array 201. In addition, this additional block may include a header with a timestamp indicating when this block was generated, and may have a digital signature associated with it indicating that this block is included in the blockchain. Figure 3 ) further describes an example showing such additional blocks. In addition, in embodiments where memory array 201 is a secure array, additional (eg, new) golden hashes may be generated.

[0056] The additional block and the digital signature and additional golden hash associated with the additional block may be stored in memory array 201. For example, the additional block may replace block 220 (e.g., the previous block) in memory array 201. The additional block, digital signature, and additional golden hash may then be used by host 202 to verify data stored in memory array 201 in a manner similar to that previously described herein for block 220. Additional blocks in the blockchain may continue to be generated by circuitry 210 in this manner throughout the useful life of memory device 206 and used by host 202 to verify data stored in memory array 201.

[0057] Figure 2 The embodiments shown in the drawings may include additional circuitry, logic, and / or components that are not shown so as not to obscure the embodiments of the present disclosure. For example, the memory device 206 may include address circuitry that latches address signals provided by the I / O circuitry via the I / O connector. The address signals may be received and decoded by a row decoder and a column decoder to access the memory array 201. In addition, the memory device 206 may include a main memory, such as a DRAM or SDRAM, separate from and / or in addition to the memory array 201. This will be further described herein (e.g., in conjunction with Fig.10 ) further illustrates examples of additional circuitry, logic, and / or components of memory device 206.

[0058] Figure 3 It is shown that according to an embodiment of the present disclosure, a blockchain can be used to verify the storage in the memory (for example, the previously combined Figure 2 1 and 2. For example, blocks 320-1 and 320-2 may be used in conjunction with the previously described memory array 201. Figure 2The described circuit system 210 generates. For example, block 320-2 may be generated after block 320-1 has been used to verify data stored in memory (eg, block 320-2 may be the next block in the blockchain after block 320-1).

[0059] like Figure 3 As shown in FIG. 1 , each respective block 320-1 and 320-2 may include a header, an encrypted hash of the previous block in the blockchain, and an encrypted hash of the data stored in the memory, in a manner similar to that previously described in conjunction with FIG. Figure 2 Blocks 220 are described. For example, block 320-1 includes a header 322-1 with a timestamp indicating when block 320-1 was generated, a cryptographic hash 324-1 of a previous block in the blockchain, and a cryptographic hash 326-1 of data stored in memory. In addition, block 320-2 includes a header 322-2 with a timestamp indicating when block 320-2 was generated, a cryptographic hash 324-2 of a previous block in the blockchain (e.g., block 320-1), and a subsequent (e.g., new) cryptographic hash 326-2 of data stored in memory.

[0060] like Figure 3 As shown in , the encrypted hash 326-1 of block 320-1 can be used as the encrypted hash 324-2 of block 320-2. That is, block 320-2 can include the encrypted hash 326-1 of the data stored in the memory from block 320-1 as the encrypted hash 324-2 of the previous block in the blockchain.

[0061] like Figure 3 As shown in FIG. 1 , each respective block 320-1 and 320-2 may have a digital signature associated therewith indicating that the block is included in the blockchain in a manner similar to that previously described in conjunction with Figure 2 Described block 220. For example, digital signature 328-1 is associated with block 320-1, and digital signature 328-2 is associated with block 320-2.

[0062] Figure 4A An example of a pair of registers 414-1 and 414-2 for defining a secure memory array according to an embodiment of the present disclosure is shown, and Figure 4B A diagram showing a portion of a memory array 401 including a secure memory array defined using registers 414-1 and 414-2 according to an embodiment of the present disclosure. For example, registers 414-1 and 414-2 may be respectively the same as previously described in connection with Figure 2 The registers 214-1 and 214-2 described above, and for example, the secure memory array 401 may be previously combined with Figure 2 The memory array 201 described above. For example, Figure 4BAs shown in FIG. 4 , the secure memory array 401 may include a plurality of physical blocks of memory cells 407-0, 407-1, ..., 407-B, each physical block including a plurality of physical rows 403-0, 403-1, ..., 403-R having a plurality of memory cell sectors, in a manner similar to that previously described in conjunction with FIG. Figure 1 A memory array 101 is described.

[0063] like Figure 4A As shown in , register 414-1 may define an address of the security array (e.g., an address of a different portion of the security array), and register 414-2 may define a size of the security array (e.g., a size of a different portion of the security array). For example, the address of the security array defined by register 414-1 may correspond to a starting point (e.g., a starting LBA) of the security array (e.g., a starting point of a different portion of the security array), and for example, the size of the security array defined by register 414-2 may correspond to an ending point (e.g., an ending LBA) of the security array (e.g., an ending point of a different portion of the security array).

[0064] For example, Figure 4A As shown in , registers 414-1 and 414-2 may define N pairs of values, where each corresponding pair includes an address value (e.g., addr) defined by register 414-1 and a size value (e.g., size) defined by register 414-2. Figure 4A In the example shown in FIG. 1 , Pair0 includes an address value addr0 and a size value size0 (eg, Pair0=[addr0, size0]), Pair1 includes an address value addr1 and a size value size1 (eg, Pair1=[addr1, size1]), and so on, where Pair N Including address value addr N and size value size N (For example, Pair N =[addr N ,size N ]). The address value in a pair may correspond to the starting point of a portion of the security array (e.g., the starting LBA), and the sum of the address value and the size value of the pair may correspond to the ending point of the portion of the security array (e.g., the ending LBA). Thus, the entire security array (e.g., including the portion of the entire security array) may be given as follows: [addr0, addr0+size0]∪[addr1, addr1+size1]∪…∪[addr N ,addr N +size N ].

[0065] The first pair of zeros defined by register 414-2 may stop the definition of the security array. Figure 4A In the example shown in , if the size value of Pair2 is zero, then the secure array will be given as follows: [addr0, addr0+size0]∪[addr1, addr1+size1].

[0066] exist Figure 4B An example of a security array defined by registers 414-1 and 414-2 is shown in FIG. 4 (e.g., where all size values ​​are defined by register 414-2 to be non-zero). Figure 4B As shown in FIG. 4 , the address (e.g., LBA) associated with sector 405-0 of memory array 401 is addr0, the address associated with sector 405-1 of memory array 401 is addr0+size0, the address associated with sector 405-2 of memory array 401 is addr1, the address associated with sector 405-3 of memory array 401 is addr1+size1, and the address associated with sector 405-4 of memory array 401 is addr0+size0. N , and the address associated with sector 405-5 of memory array 401 is addr N +size N Thus, the security array includes sectors (e.g., data stored in the sectors) 405-0 to 405-1, sectors 405-2 to 405-3, and 405-4 to 405-5. However, sectors in memory array 401 prior to sector 405-0 and sectors 405-1 to 405-2 of memory array 401 are not part of the security array (e.g., the security array includes a subset of array 401).

[0067] Figure 5 5 is a block diagram of an example system including a host 502 and a memory device 506 according to an embodiment of the present disclosure. For example, the host 502 and the memory device 506 may be respectively Figure 2 A host 202 and a memory device 206 are depicted.

[0068] Computing devices can be started in stages using layers, where each layer authenticates and loads subsequent layers and provides increasingly sophisticated runtime services at each layer. Layers can be served by previous layers and serve subsequent layers, thereby creating an interconnected network of layers that build on lower layers and serve higher layers. Figure 5As shown in FIG, layer 0 (“L0”) 551 and layer 1 (“L1”) 553 are within the host. Layer 0 551 may provide a firmware derived secret (FDS) key 552 to layer 1 553. FDS key 552 may describe the identification and other security-related data of the code of layer 1 553. In an example, a specific protocol (e.g., a robust Internet of Things (RIOT) core protocol) may use FDS 552 to verify the code of layer 1 553 that it loads. In an example, a specific protocol may include a device identification combination engine (DICE) and / or a RIOT core protocol. As an example, the FDS may include the layer 1 firmware image itself, a representation of an authorized layer 1 firmware that cryptographically identifies, a firmware version number of the signed firmware in the context of a secure boot implementation, and / or security-critical configuration settings of the device. Device secrets 558 may be used to form FDS 552 and stored in a memory of the host 502.

[0069] The host may transmit data to the memory device 506, as indicated by arrow 554. The transmitted data may include a public external identification, a credential (e.g., an external identification credential), and / or an external public key. Layer 2 ("L2") 555 of the memory device 506 may receive the transmitted data and execute the data on the first application 559-1 and the second application 559-2 in operation of an operating system ("OS") 557.

[0070] In an example operation, the host 502 may read the device secret 558, hash the identity of layer 1 553, and perform calculations including:

[0071] K L1 =KDF[Fs(s), hash(“immutable information”)]

[0072] Where K L1 is the external public key, KDF (e.g., the KDF defined in National Institute of Standards and Technology (NIST) Specific Publication 800-108) is a key derivation function (e.g., HMAC-SHA256), and Fs(s) is the device secret 558. FDS 552 may be determined by performing the following calculation:

[0073] FDS = HMAC-SHA256[Fs(s), SHA256("immutable information")]

[0074] Likewise, memory device 506 may transfer data to host 502 , as indicated by arrow 556 .

[0075] Figure 6 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure. Figure 6is an instance of a determination of parameters including an external public identity, an external credential, and an external public key, which are then sent to a memory device (e.g., Figure 5 506 ) in layer 2 (e.g., layer 2 555 ), indicated by arrow 654 . Figure 6 Layer 0 ("L0") 651 in corresponds to Figure 5 Layer 0 551 in FIG. 5 , similarly, FDS 652 corresponds to FDS 552 , layer 1 653 corresponds to layer 1 553 , and arrows 654 and 656 correspond to arrows 554 and 556 , respectively.

[0076] FDS 652 is sent from layer 0 651 to layer 1 653 and is used by asymmetric ID generator 661 to generate a public identifier (“ID lk公共 ”) 665 and private identifier 667. In the abbreviation “ID lk公共 ”, “lk” indicates layer k (in this example, layer 1), and “public” indicates that the identifier is open for sharing. The public identifier 665 is shown as being shared by the arrow extending to the right and outside of layer 1 653 of the host. The generated private identifier 667 is used as a key input to the encryptor 673. The encryptor 673 can be any processor, computing device, etc. for encrypting data.

[0077] The host's layer 1 653 may include an asymmetric key generator 663. In at least one example, a random number generator (RND) 636 may optionally input a random number to the asymmetric key generator 663. The asymmetric key generator 663 may generate a random number that is consistent with the host (e.g., Figure 5 The public key (“K Lk公共 ”)669 (called the external public key) and the private key (“K LK私有 ”) 671 (referred to as the external private key). The external public key 669 can be an input to the encryptor 673 (as “data”). The encryptor 673 can use the input of the external private identity 667 and the external public key 669 to generate the result K’ 675. The external private key 671 and the result K’ 675 can be input to the additional encryptor 677 to produce the output K” 679. The output K” 679 is transmitted to the layer 2 ( Figure 5 555) of the external credential ("ID L1凭证 ”) 681. External credentials 681 may provide the ability to verify and / or authenticate the source of data sent from the device. As an example, by verifying the credentials, data sent from the host may be associated with the identity of the host, as will be further associated with Figure 8 In addition, the external public key (“K L1公钥 ”) 683 may be transmitted to layer 2. Thus, the host's public identification 665, the credential 681, and the external public key 683 may be transmitted to layer 2 of the memory device.

[0078] Figure 7 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure. Figure 7 A memory device (eg, Figure 5 Layer 2 755 of the memory device 506 in the device generates a device identifier ("ID L2 Public") 766, Device Credentials ("ID L2 Certificate”) 782 and the device public key (“K L2公钥 ”)784.

[0079] like Figure 6 As described in the specification, the external public key (“K L1公钥 ”) 783 is used by the asymmetric ID generator 762 of the memory device to generate a public identifier (“ID lk公共 ”) 766 and private identifier 768. In the abbreviation “ID lk公共 ”, “lk” indicates layer k (in this example, layer 2), and “public” indicates that the identifier is open for sharing. The public identifier 766 is shown as being shared by the arrow extending to the right and outside of layer 2 755. The generated private identifier 768 is used as a key input for the encryptor 774.

[0080] like Figure 7 As shown in FIG. 7 , the external credential 781 and the public identifier 765 and the external public key 783 are used by the credential verifier 799. The credential verifier 799 can verify the external credential 781 received from the host, and determine whether to accept or discard the data received from the host in response to the external credential 781 being verified or not verified. Figure 8 ) further describes other details of verifying external credentials 781.

[0081] Layer 2 755 of the memory device may include an asymmetric key generator 764. In at least one example, a random number generator (RND) 738 may optionally input a random number to the asymmetric key generator 764. The asymmetric key generator 764 may generate a random number associated with the memory device (e.g., Figure 5 The public key (“K Lk公共 ”) 770 (referred to as the device public key) and the private key (“K LK私有 ”) 772 (referred to as the device private key). The device public key 770 may be an input (as “data”) to an encryptor 774. The encryptor 774 may use the input of the device private identification 768 and the device public key 770 to generate a result K′ 776. The device private key 772 and the result K′ 776 may be input to an additional encryptor 778, producing an output K″ 780. The output K″ 780 is transmitted back to layer 1 ( Figure 5 553) of the device credentials ("ID L2凭证 ”) 782. The device credentials 782 may provide the ability to verify and / or authenticate the source of data sent from the device. As an example, by verifying the credentials, data sent from the memory device may be associated with the identity of the memory device, as will be further described in detail in the accompanying drawings. Figure 8 In addition, the device public key (“K L2公钥 ”) 784 may be transmitted to Layer 1. Thus, the public identification 766, credential 782, and device public key 784 of the memory device may be transmitted to Layer 1 of the host.

[0082] In an example, in response to the host receiving a public key from a memory device, the host may encrypt data to be sent to the memory device using the device public key. Conversely, the memory device may encrypt data to be sent to the host using the external public key. In response to the memory device receiving data encrypted using the device public key, the memory device may decrypt the data using its own device private key. Likewise, in response to the host receiving data encrypted using the external public key, the host may decrypt the data using its own external private key. Because the device private key is not shared with another device other than the memory device and the external private key is not shared with another device other than the host, data sent to the memory device and the host remains secure.

[0083] Figure 8 is a block diagram of an example process for verifying credentials according to an embodiment of the present disclosure. Figure 8 In the example shown, the public key 883, the certificate 881, and the public identification 865 are obtained from a host (e.g., Figure 5 553 of the host 502 in the layer 1). The data of the credential 881 and the external public key 883 can be used as the input of the decryptor 885. The decryptor 885 can be any processor, computing device, etc. for decrypting data. The decryption result of the credential 881 and the external public key 883 and the public identification can be used as the input of the secondary decryptor 887, and an output is generated. The output of the external public key 883 and the decryptor 887 can indicate whether the credential is verified, as shown at 889, and a yes or no 891 is generated as an output. In response to the credential being verified, the data received from the verified device can be accepted, decrypted and processed. In response to the credential not being verified, the data received from the verified device can be discarded, removed and / or ignored. In this way, an illegal device that sends illegal data can be detected and avoided. As an example, a hacker who sends data to be processed can be identified and the hacker data is not processed.

[0084] Fig. 9is a block diagram of an example process for verifying a signature according to an embodiment of the present disclosure. In the case where a device is sending data that can be verified to avoid subsequent repudiation, a signature can be generated and sent with the data. As an example, a first device can make a request to a second device, and once the second device performs the request, the first device can indicate that the first device never made such a request. For example, a non-repudiation method using a signature can avoid repudiation by the first device and ensure that the second device can perform the requested task without subsequent difficulties.

[0085] Memory device 906 (eg Figure 2 The memory device 206 in the host computer (eg Figure 2 The host 202 in the memory device 906 sends data 990. The memory device 906 can generate a signature 996 using the device private key 971 at 994. The signature 996 can be transmitted to the host 902. The host 902 can verify the signature using the data 992 and the previously received external public key 969 at 998. In this way, the signature verification is performed by encrypting the signature using the private key and decrypting the signature using the public key. In this way, the private key used to generate the unique signature can be kept private to the device sending the signature, while allowing the receiving device to decrypt the signature using the public key of the sending device for verification. This is very different from the encryption / decryption of data, where the data is encrypted by the sending device using the public key of the receiving device and decrypted by the receiving device using the private key of the receiver. In at least one instance, the device can verify the digital signature by using an internal encryption process (e.g., elliptic curve digital signature (ECDSA) or similar process.

[0086] Fig.10 1 is a block diagram of an example memory device 1006 according to an embodiment of the present disclosure. For example, the memory device 1006 may be a memory device 1006 previously described in conjunction with Figure 2 Memory device 206 is described.

[0087] like Fig.10 As shown in FIG. 1 , the memory device 1006 may include a plurality of memory arrays 1001-1 to 1001-7. The memory arrays 1001-1 to 1001-7 may be similar to those previously described in conjunction with Figure 1 The memory array 101 is described. In addition, Fig.10 In the example shown in , memory array 1001-3 is a security array, subset 1011 of memory array 1001-6 includes a security array, and subsets 1013 and 1015 of memory array 1001-7 include security arrays. For example, subsets 1011, 1013, and 1015 may each contain 4 kilobytes of data. However, embodiments of the present disclosure are not limited to a particular number or arrangement of memory arrays or security arrays.

[0088] like Fig.10 , the memory device 1006 may include a repair (e.g., recovery) block 1017. The repair block 1017 may be used as a source of data in the event that an error (e.g., a mismatch) may occur during operation of the memory device 1006. The repair block 1017 may be outside of an area of ​​the memory device 1006 that is addressable by a host.

[0089] like Fig.10 As shown in FIG. 1 , the memory device 1006 may include a serial peripheral interface (SPI) 1004 and a controller 1008. The memory device 1006 may use the SPI 1004 and the controller 1008 to communicate with a host and the memory arrays 1001-1 to 1001-7 as previously described herein (e.g., in conjunction with Figure 2 ).

[0090] like Fig.10 As shown in , the memory device 1006 may include a security register 1019 for managing the security of the memory device 1006. For example, the security register 1019 may be configured to the application controller and communicate with the application controller externally. In addition, the security register 1019 may be modified by an authentication command.

[0091] like Fig.10 As shown in , the memory device 1006 may include a key 1021. For example, the memory device 1006 may include eight different slots to store keys, such as a root key, a DICE-RIOT key, and / or other external session keys.

[0092] like Fig.10 As shown in , memory device 1006 may include an electronically erasable programmable read-only memory (EEPROM) 1023. EEPROM 1023 may provide a secure non-volatile area available to the host where individual bytes of data may be erased and programmed.

[0093] like Fig.10 As shown in , the memory device 1006 may include a counter (e.g., a monotonic counter) 1025. The counter 1025 may be used as an anti-replay mechanism (e.g., a freshness generator) for commands received from and / or sent to the host (e.g., to sign a set or sequence of commands). For example, the memory device 1006 may include six different monotonic counters, two of which may be used by the memory device 1006 for authenticated commands and four of which may be used by the host.

[0094] like Fig.10, the memory device 1006 may include a SHA-256 cryptographic hash function 1027 and / or an HMAC-SHA256 cryptographic hash function 1029. The SHA-256 cryptographic hash function 1027 and / or the HMAC-SHA256 cryptographic hash function 1029 may be used by the memory device 1006 to generate a cryptographic hash, such as a cryptographic hash of the block 220 previously described herein and / or a golden hash for verifying data stored in the memory arrays 1001-1 to 1001-7 as previously described herein. In addition, the memory device 1006 may support L0 and L1 of the DICE-RIOT 1031.

[0095] 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 is provided in an illustrative and not restrictive manner. Upon reviewing the above description, the combination of the above embodiments and other embodiments not specifically described herein will be apparent to those of skill in the art. 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 with reference to the attached claims together with the full scope of equivalents to which such claims are entitled.

[0096] In the foregoing Detailed Description, some features are grouped together in a single embodiment for the purpose of simplifying the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the disclosed embodiments of the disclosure must use more features than those explicitly recited in each claim. On the contrary, as reflected in the appended claims, the subject matter of the present invention lies in less than all features of a single disclosed embodiment. Therefore, the appended claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.

Claims

1. A device (206, 506, 906, 1006), wherein include: Memory (216); as well as A circuit system (210) configured to generate a block (220, 320-2) in a blockchain to verify data stored in the memory (216), wherein: The block (220, 320-2) comprises: a cryptographic hash (324-2) of a previous block (320-1) in the blockchain; and a cryptographic hash (326-2) of the data stored in the memory (216); and The block (220, 320-2) has associated therewith a digital signature (328-2) indicating that the block (220, 320-2) is included in the blockchain; and The block is sent to a host (202, 502, 902) to initiate verification of the data stored in the memory in response to powering of the memory (216). 2 . The apparatus of claim 1 , wherein the circuitry is configured to store the block in the memory.

3. The apparatus of claim 1, wherein the circuit system is configured to generate the digital signature.

4. The device according to any one of claims 1 to 3, in: The memory comprises a memory cell array (101, 201, 401, 1001); The circuit system includes a pair of registers (214-1, 214-2, 414-1, 414-2) configured to define the array (101, 201, 401, 1001), the pair of registers (214-1, 214-2, 414-1, 414-2) including a register (214-1, 414-1) configured to define an address of the array (101, 201, 401, 1001) and a register (214-2, 414-2) configured to define a size of the array (101, 201, 401, 1001); and Wherein the circuit system is configured to generate a cryptographic hash associated with the array (101, 201, 401, 1001).

5. The apparatus of any one of claims 1 to 3, wherein the circuitry is configured to generate the cryptographic hash of the data stored in the memory.

6. A method of operating a memory (216), wherein include: A block (220, 320-2) in a blockchain is generated to verify data stored in the memory (216), wherein: The block (220, 320-2) comprises: a cryptographic hash (324-2) of a previous block (320-1) in the blockchain; and a cryptographic hash (326-2) of the data stored in the memory (216); and The block (220, 320-2) has associated therewith a digital signature (328-2) indicating that the block (220, 320-2) is included in the blockchain; storing the block (220, 320-2) in the memory (216); and The block is sent to a host (202, 502, 902) to initiate verification of the data stored in the memory in response to powering of the memory (216).

7. The method of claim 6, wherein the method includes sending the block to the host in response to receiving a command from the host (202, 502, 902).

8. The method of claim 6, wherein the blocks are stored in a portion of the memory that is not accessible to a user of the memory.

9. The method of any one of claims 6 to 8, wherein the method comprises, after verifying the data stored in the memory, generating an additional block in the blockchain, wherein the additional block comprises: an additional cryptographic hash of the previous block in the blockchain, wherein the additional cryptographic hash of the previous block in the blockchain is the cryptographic hash of the data stored in the memory; and An additional cryptographic hash of the data stored in the memory.

10. The method of claim 9, wherein the method includes storing the additional blocks in the memory.

11. A method of operating a memory (216), wherein include: In response to powering on the memory, receiving, by the host (202, 502, 902), a block (220, 320-2) in a blockchain from the memory (216) to initiate verification of data stored in the memory (216), wherein: The block (220, 320-2) comprises: a cryptographic hash (324-2) of a previous block (320-1) in the blockchain; and a cryptographic hash (326-2) of the data stored in the memory (216); and The block (220, 320-2) has associated therewith a digital signature (328-2) indicating that the block (220, 320-2) is included in the blockchain; and The data stored in the memory (216) is verified by the host (202, 502, 902) using the received block (220, 320-2).

12. The method of claim 11, wherein the cryptographic hash of the data stored in the memory comprises a SHA-256 cryptographic hash.

13. The method according to claim 11, in: the cryptographic hash of the previous block in the blockchain comprises 256 bytes of data; and The cryptographic hash of the data stored in the memory includes 256 bytes of data.

14. The method of any one of claims 11 to 13, wherein the method includes verifying, by the host, the digital signature to determine that the block is included in the blockchain.

15. The method of any one of claims 11 to 13, wherein the block includes a header (322-2) having a timestamp.

16. The method according to any one of claims 11 to 13, wherein the method comprises: receiving, by the host from the memory, a cryptographic hash associated with an array (101, 201, 401, 1001) of the memory; and The data stored in the memory is verified by the host using the cryptographic hash associated with the array (101, 201, 401, 1001).

17. A system, wherein include: A memory (216), wherein the memory (216) comprises a block (220, 320-2) in a blockchain for verifying data stored in the memory (216), wherein: The block (220, 320-2) comprises: a cryptographic hash (324-2) of a previous block (320-1) in the blockchain; and a cryptographic hash (326-2) of the data stored in the memory (216); and The block (220, 320-2) has associated therewith a digital signature (328-2) indicating that the block (220, 320-2) is included in the blockchain; and A host (202, 502, 902), wherein the host (202, 502, 902) is configured to: In response to powering of the memory, receiving the block (220, 320-2) from the memory (216) to initiate verification of data stored in the memory (216); and The data stored in the memory (216) is verified using the received block.

18. The system according to claim 17, in: The host is configured to send a command to the memory to sense the block; and The memory is configured to execute the command to sense the block.

19. The system of claim 17, wherein the host is configured to: generating the cryptographic hash of the data stored in the memory; and The generated cryptographic hash of the data stored in the memory is sent to the memory.

20. The system according to any one of claims 17 to 19, wherein the host is configured to: generating said digital signature associated with said block; and The generated digital signature is sent to the memory.