Modification of storage device authentication
By introducing an encryption engine and a signature mechanism into the storage device, the problem of competition conditions for secure writing in the storage device and insufficient security of the embedded system is solved, ensuring safe writing and improving system security without modifying the hardware. .
Patent Information
- Application Number
- CN201980029656.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-03-23
- Filing Date
- 2019-03-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-03-22
AI Technical Summary
There are competing conditions for secure writing in existing storage devices, and the security of embedded systems lags behind general-purpose computing devices, and designing new motherboards to include additional security hardware may increase costs and make it difficult to modify the hardware in existing systems. Improve security.
Introduce an encryption engine into the storage device and ensure secure writing of data through encryption commands and signature mechanisms. Use the encryption engine to generate and compare data signatures to determine matches, thereby improving security without modifying existing hardware.
It achieves the guarantee of safe writing in storage devices, prevents unauthorized writing, improves system security without affecting read operations, and reduces the cost of adding security hardware.
Smart Images

Figure CN112074837B_ABST
Abstract
Description
[0001] Priority application
[0002] This application claims the benefit of U.S. Application Serial No. 62 / 647,390, filed on March 23, 2018, the entire contents of which are incorporated herein by reference. Technical Field
[0003] Embodiments described herein relate generally to computer storage, and more particularly, to modification of storage device authentication. Background Art
[0004] A storage device is computer hardware designed to store data. A storage device may be referred to as memory, mass storage device, or the like. A storage device typically includes a medium to hold data (e.g., bits, bytes, blocks, etc.), controller hardware, and interfaces to facilitate querying the data and writing the data in the storage device with write capabilities. Summary of the invention
[0005] In one aspect, the present disclosure relates to a storage device that implements authenticated modification, the storage device comprising: an encryption engine; an interface; a decoder that parses a command, a set of input identifiers, and a first signature from a data transmission received at the interface; and a controller that is used to: collect members of the set of input identifiers to produce an input group; instruct the encryption engine to generate a second signature from the input group; compare the first signature with the second signature to determine a match; and write the input group to a secure portion of the storage device in response to the match.
[0006] On the other hand, the present disclosure relates to a machine-implemented method for authenticated modification in a storage device, the method comprising: decoding a data transmission received at an interface of the storage device, the data transmission comprising a command, a set of input identifiers, and a first signature corresponding to data identified by the input identifiers, the command corresponding to a secure portion of the storage device; grouping members of the set of input identifiers to produce an input group; calling an encryption engine of the storage device on the input group to produce a second signature from the input group; comparing the first signature to the second signature to determine a match; and writing the input group to the secure portion of the storage device in response to the match. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. Like numerals with different letter subscripts may represent different instances of similar components. The drawings generally illustrate various embodiments discussed in this document by way of example and not limitation.
[0008] Figure 1is a block diagram of an example of an environment including a system for authenticated modification operations in a storage device according to an embodiment.
[0009] Figure 2 An example of a message to a storage device to perform authenticated modification according to an embodiment is described.
[0010] Figure 3 An example of a message to a storage device to invoke generation of a hash by the storage device is described.
[0011] Figure 4 Blocks are illustrated for moving from an unsecure non-volatile buffer to a secure non-volatile location on a storage device in response to a successful authenticated modification operation in accordance with an embodiment.
[0012] Figure 5 is a swim lane diagram illustrating an example of component messaging within a storage device to perform authenticated modification according to an embodiment.
[0013] Figure 6 is a swim lane diagram illustrating an example of component messaging within a storage device to generate a hash according to an embodiment.
[0014] Figure 7 A flow chart illustrating an example of a method for multi-factor intelligent agent control according to an embodiment.
[0015] Figure 8 is a block diagram illustrating an example of a machine on or with which one or more embodiments may be implemented. DETAILED DESCRIPTION
[0016] With the increasing computerization of many manufactured goods—such as computerized control systems for vehicles, computerized (e.g., smart) appliances or sensors (e.g., Internet of Things (IoT) devices), etc.—storage devices are now found in many goods that were not traditionally considered computers. The computerization of these goods may be completed over time and may be difficult to change. For example, the automotive Controller Area Network (CAN) bus is a vehicle communication standard that allows various controllers to be linked. However, because vehicles can be used for a long time, these systems may have unknown vulnerabilities or weaknesses when standardized, which are very difficult or expensive to repair. In addition, many expensive manufacturing processes may be created to implement a standard, and for example, even new vehicles may include outdated or unsafe standards in order to maintain compatibility with controllers from various suppliers.
[0017] Security issues concerning users, data, or executable programs are generally common in all computing platforms. Due to the general inflexibility of embedded systems (such as those included in the manufactured products discussed above), embedded system security generally lags behind the security of more general computing devices. However, even in general computing devices, designing a new host board (e.g., motherboard) to include additional security hardware may be cost-prohibitive. There is a need for enhanced security hardware that can interact with other computing components in a general or embedded computer system without modifying other hardware components.
[0018] To address the issues discussed previously, the storage device is modified to include an encryption component such as an encryption engine (e.g., a hash engine). The storage device is also enhanced to accept additional commands from an external entity (e.g., a processor, a device, etc.) to call a number of encryption operations performed by the encryption engine. The additional commands operate in a manner similar to other commands provided to the storage device by the external entity, such as data read or write. Therefore, the hardware interface of the storage device to the system remains the same, allowing the storage device to be included in an existing system without modification. However, the software of the existing system can be modified to call the encryption operation commands and thus obtain the benefits of the encryption component of the storage device. This arrangement allows encryption enhancement of systems including embedded systems without redesigning the manufacturing process of these systems.
[0019] One such cryptographic command includes a block (or other storage measure, such as a page) unlock. Here, for example, a storage block may be locked when the storage device is powered on, restarted, or in response to a command. To unlock the block, the host (or other entity) includes a cryptographic hash along with the unlock command. The cryptographic hash may include a secret from the storage device—which was implemented during an earlier authentication of the caller of the storage device or via the caller's configuration, thereby providing authentication for the caller. The caller may then write to the unlocked block. This procedure typically protects the block from unauthorized writes, and therefore may be used to store critical information, such as operating parameters. However, there may be a race condition where a block is unlocked and an unauthorized writer performs a write while the block is unlocked.
[0020] To address race conditions for secure writes, the data being written itself can be signed, rather than relying on a command signature to unlock a block or as a supplement to relying on a command signature to unlock a block. Here, the caller (e.g., the entity performing the write) can buffer the data on an unsafe portion of the storage device. If the storage device has sufficient volatile memory cache, the data can be buffered here, but many storage devices (e.g., NOR flash devices) have limited volatile memory cache. Therefore, the data is buffered in an unsafe portion of the non-volatile storage device of the storage device. The caller then initiates a command that can be called auth_modify to store the data in a secure portion of the storage device. The command contains an identification of the data (e.g., an address range of an unsafe storage device in which the data is buffered) and a signature of the data calculated by the caller. The storage device uses its encryption engine to calculate its own signature of the data and compares the two signatures. When they match, the data is moved to the secure portion. If the signatures do not match, the auth_modify command fails. Configure a secure portion in the storage device. Part of this configuration includes causing standard programming (e.g., write or update) commands to fail when directed to the secure portion. In an example, read commands operate normally. Thus, any entity can read the data in the secure portion. In an example, the storage device can provide a signature of the data in the secure portion along with or paired with the read. Thus, the reading entity can verify that there are no other entities (e.g., "middlemen") between the storage device and the reading entity that modified the critical data. Additional examples and details are described below.
[0021] Figure 1 1 is a block diagram of an example of an environment 100 including a system for authenticated modification operations in a storage device (e.g., storage device 105 or components therein) according to an embodiment. Environment 100 includes system 140 embedded in manufactured product 145. Manufactured product 145 may include a variety of things, such as vehicles including unmanned vehicles (as shown), appliances, furniture, buildings, sensors, clothing, or other items in which system 140 may be included (e.g., embedded). The recent trend of creating "smart" items, or adding communication capabilities to goods that previously operated without such capabilities, such as many appliances (e.g., refrigerators, washing machines, etc.) or sensors, may be referred to as creating the Internet of Things, i.e., participating goods are converted into IoT devices.
[0022] System 140 may include an interface to communicate with one or more components of manufactured article 145 external to system 140. For example, if system 140 is an in-car entertainment system, the interface enables system 140 to control speakers and may enable receiving content from a user's device (e.g., a phone, a personal music player, a tablet computer, etc.). System 140 may also include one or more processors (e.g., a central processing unit, a low-power processor, a digital signal processor, a graphics processing unit, etc.), and one or more storage devices (e.g., a mass storage device, memory, static memory, etc.) including storage device 105.
[0023] The storage device 105 includes an interface 110, a decoder 115, a controller 120, an encryption engine 125, and a storage portion 130. In an example, the storage device 105 and the components therein are manufactured on a single chip. In an example, the storage device 105 includes a register storage bank 135 (e.g., including one or more registers). All of these components of the storage device 105 are implemented in computer hardware (e.g., processing circuitry).
[0024] The interface 110 provides a hardware communication medium between the storage device 105 and other components of the system 140. In an example, the interface 110 is a joint electronic device engineering committee (JEDEC) memory standard interface. In an example, the storage device 105 is a random access memory (RAM) device. In an example, the interface 110 complies with at least one of an integrated device electronics (IDE) AT attachment (ATA) interface, a serial ATA (SATA) interface, a small computer system interface (SCSI) interface, a universal flash storage (UFS) interface, an embedded multimedia card (eMMC) interface, or a non-volatile memory host controller interface specification (NVMHCI) interface. In an example, the storage device 105 is a flash memory device. In an example, the storage device 105 is at least one of a NOR flash or a NAND flash (e.g., the storage portion 130 is a NOR or NAND flash). In an example, the storage device 105 is a hard disk drive (HDD).
[0025] The decoder 115 is arranged to parse a command, a set of input identifications and a signature from a data transmission received at the interface 110. Here, the command is an authenticated modification command, also referred to as an Auth_Modify or auth_modify command. In an example, the decoder 115 is arranged to decode other commands, such as a read or write command to the storage device 105. In an example, the decoder 115 is part of (e.g., integrated into) the controller 120.
[0026] In an example, the command corresponds to a cryptographic operation, such as a hash operation. A hash operation accepts input data and produces a hash of the input data as output. Typically, a hash maps data of any size to a fixed size. Although not required, it is often desirable that different input data produce different outputs from a hash. When two different input data produce the same output, it is called a collision. A cryptographic hash may differ from other hashes in that it is one-way. That is, it is difficult to generate input data only from the output of a hash.
[0027] In an example, the hash operation is a keyed hash message authentication code (HMAC). An HMAC is a message authentication code (MAC) in which a key is combined with other data to produce a hash. An HMAC can be used to verify one or both of the data integrity and authenticity of a message (e.g., other data). In an example, the data transmission includes a secret. Here, the secret is used as a key for the HMAC. In an example, the data transmission includes a current session key of the storage device 105. In this example, the storage device 105 may have previously communicated with an external entity through encryption. As part of establishing these communications, a session key may have been established between the storage device 105 and the external entity. The storage device 105 may maintain the same session key or a derivation of the session key in several communications or over a set time period. In an example, a new session key may be used each time the storage device 105 is powered on again (e.g., restarted, turned on, etc.). The storage device 105 may maintain the session key internally, such as in a register storage bank 135 (or other internal memory) or in a protected portion of the storage portion 130.
[0028] In an example, a member of the set of input identifications is an address of an unsecure portion of the storage device 105, such as the storage portion 130 or the register bank 135. In an example, the unsecure portion of the storage device 105 is accessible by an external entity via the interface 110 to the storage device 105. Thus, for example, in typical operation of a flash device, the storage portion 130 is used to hold data that is read from and written to by external entities via commands to the storage device 105, the reading and writing being performed via the interface 110. In contrast, the register bank 135 will generally not be accessible by these external entities via the interface 110, but will be used for internal purposes by the controller 120 (or other portion of the storage device 105). In an example, the unsecure portion of the storage device is block addressable, such as a NAND flash device or a hard disk drive.
[0029] In an example, the unsecure portion of the storage device 105 is byte-addressable. Generally, although not exclusively, byte-addressable storage devices are used to store data immediately prior to being consumed by a processor. Therefore, data can be retrieved from a non-byte-addressable storage device (e.g., a block-addressable storage device) into a byte-addressable storage device before being operated by the processor. Example byte-addressable media can include registers, types of RAM (e.g., static RAM (SRAM), dynamic RAM (DRAM), etc.), core memory, NOR flash, etc. In an example, the unsecure portion of the storage device 105 is a register (e.g., in a register bank 135). In an example, the unsecure portion of the storage device 105 is a non-volatile storage medium, such as NOR flash. In an example, the unsecure portion of the storage device 105 cannot be accessed by an external entity via an interface 110 to the storage device 105, such as a register bank 135.
[0030] In an example, the set of input identifiers defines an address range of an unsecured portion of the storage device 105. For example, the set of input identifiers may be a list of storage blocks in a storage portion 130 such as a flash device or a hard disk. The set of input identifiers may be a set of byte-addressable addresses in the storage portion 130 as a RAM. In an example, two members of the set of input identifiers define an address range. For example, this example allows identification of contiguous portions of the storage portion 130 to reduce signaling overhead. In an example, a first member of the two members defines the beginning of the range, and a second member of the two members defines the end of the range. In an example, the first member of the two members defines the beginning of the range, and the second member of the two members defines the number of units to be included in the range.
[0031] In an example, a member of the set of input identifiers identifies a portion of a data transmission. In view of the above, the input identifier annotation data is already managed by the storage device 105, and here, the command may be accompanied by additional data that is not yet managed by the storage device 105. In an example, the portion of the data transmission is identified by a field. In an example, the portion of the data transmission is identified by an offset. In an example, the portion of the data transmission is also identified by a length. Therefore, given these last few examples, the new data in the transmission can specify the additional data using a variety of techniques.
[0032] The controller 120 is arranged to collect members of the set of input identifications to produce an input set. The collection may include retrieving data corresponding to addresses in the set of input identifications or obtaining (e.g., retrieving or receiving) data (e.g., confidential) from a transmission for inclusion in the input set. The collection allows the use of previously managed (e.g., stored) data in the storage device 105 to be used for authenticated modification or other cryptographic operations. Thus, the input set contains data rather than references to data.
[0033] The controller 120 may be arranged to instruct the encryption engine 125 to generate a signature of the input group. In an example, the signature is a cryptographic hash of at least the input group. In an example, the cryptographic hash is also confidential, such as a storage device session key, so that the signature is an HMAC.
[0034] The controller 120 may be arranged to compare the signature decoded by the decoder 115 from the data transmission at the interface 110 with the signature created by the encryption engine 125 from the input data group. Because the signature can be easily calculated from the data, but it is difficult to generate the same signature from different data, the signature provided by the entity that writes data to the unsafe portion 130 of the storage device in the data transmission should match the signature of the input data group (e.g., the data written to the unsafe portion 130) unless it has been modified. Therefore, the controller 120 may be arranged to compare the two signatures to determine whether the signatures match. If the signatures do not match, the data in the input group is not the data expected by the external entity, and therefore may be maliciously or mistakenly modified. In an example, when the signatures do not match, the authenticated modification command will only fail. In an example, in response to the mismatch of the signature, the controller 120 erases the input data group from the unsafe storage portion.
[0035] When the signature does match, the data of the input group is then moved to the secure portion of the storage device 105. In an example, the secure portion is managed via a bitmap of a storage segment (e.g., page, block, etc.) or other data structure that marks the secure storage portion. In an example, when a legacy write command includes a secure portion, the legacy write command fails, so that only the authenticated modify command is supported by the controller 120 to modify the secure portion. In an example, the legacy erase command is not supported on the secure portion, so that only the erase variant of the authenticated modify command is supported to erase the secure portion. In an example, the authenticated modify command variant used to erase the secure portion does not include a signature in the data transmission. Instead, this variant of the command uses an HMAC or other secret sent in the data transmission to erase the secure portion.
[0036] Although the authenticated modification command ensures that the authorized write occurs only for the secure portion of the storage device 105, it does not affect the reading of the secure portion. In order to deal with a man-in-the-middle attack that may occur on an unsafe bus (such as a controller area network (CAN) bus common in automobiles), the controller 120 may provide a signature or hash of the data in addition to the data when the data is read. Here, the receiver (e.g., system 140) may compare the signature derived from the data received from the self-storage device 105 with the signature provided by the storage device 105. Again, if the signature matches, the data is not damaged. To support this activity, in an example, the controller 120 is also arranged to instruct the encryption engine 125 to generate a hash product from the input group. The hash product is at least a hash of the input group data. As described above, the hash product may be an HMAC. In this example, the encryption engine 125 is arranged to implement a cryptographic hash. In an example, the cryptographic hash is a secure hash algorithm (SHA). In an example, the encryption engine 125 is arranged to generate a two hundred and fifty-six-bit hash.
[0037] In an example, the controller 120 is also arranged to write the hash product to a portion of the storage device 105 (e.g., storage portion 130) corresponding to the output identification. This completes the ability of the storage device to create hash products using data it already manages, as well as to store the hash products themselves. Thus, an external entity can write data to be hashed to the storage device 105 as it would normally do when storing data in other ways. The external entity can then invoke the hash operation via a command and specify a response internal to the storage device 105 for the result. The external entity can then retrieve the hash product in the same manner that it would otherwise retrieve data from the storage device, such as through a read command.
[0038] This arrangement provides several benefits. For example, because the interface 110 conforms to other interface standards or types of storage devices of the type, the storage device 105 can be added to any system 140 configured to accept the same type of storage device. In addition, the authenticated modification command structure - for example, write unsafe data, provide a signature of the written data in the authenticated modification request, provide a signature of the written data to a secure location, and an atomic comparison of unsafe data and a copy to a secure location - provides a concise and intuitive method for programmers to implement secure writes. In addition, the write, hash, read instruction cycle provides programmers with a familiar and flexible hashing facility because the writing of data and the reading of hash products occur in a manner familiar to other storage devices. In this way, security features (such as HMAC messaging) or other upgrades can be added to existing systems without incurring additional manufacturing costs to the original equipment manufacturer, and thus further penetrating the system into manufactured products.
[0039] Figures 2 to 3An example of a message 300 to a storage device is illustrated. The message formats discussed herein are non-limiting examples. Portions of a message may be indicated by fields (e.g., tags in a markup language such as Extensible Markup Language (XML) or the like) or conventions (e.g., the first eight bits specify the command, the second eight bits specify the input header, etc.). Furthermore, the message is illustrated as having portions in a particular order (e.g., command, input header, input address, and output address), but variations may include rearrangements of these components (e.g., no input header, output address, input address, and then command).
[0040] Figure 2 An example of a message 200 to a storage device to perform authenticated modification according to an embodiment is described. Message 200 includes a command portion 205, an input header 210, an input address portion 215, and a signature portion 220. Each portion except the signature portion operates as described below with respect to message 300.
[0041] The signature portion holds a signature of the data corresponding to the authenticated modification command specified in the command portion 205. In an example, the signature portion is a reference (eg, address) to the signature in storage. In an example, the signature portion contains an HMAC of the data.
[0042] Figure 3 An example of a message 300 to a storage device for invoking a hash operation according to an embodiment is described. The message 300 includes four parts, a command portion 305, an input header 310, an input address portion 315, and an output address 320. In an example, the command portion 305 is placed and sized according to a standard interface to the storage device. For example, if the interface of the storage device is SCSI, the first octet is the command portion 305. The input header 310 is optional and can be used to describe the data type in the input address portion 315. For example, if the input address portion 315 is sized for two addresses, the input header 310 can specify whether the input address portion 315 is considered to be two distinct addresses or ranges (e.g., a start and end address or a start address and extent). As described above, the output address 320 specifies the destination of the hash product generated when the encryption engine performs a hash operation of the command from the command portion 305.
[0043] In an example, message 300 includes a confidential part. The confidential part maintains the confidentiality of the key that can be used as HMAC. Here, the confidentiality is the actual value of the key. In an example, message 300 also includes a confidential address part. The confidential address part maintains the address to an addressable location within the storage device, such as an internal NAND or NOR flash block, a register, a memory, etc., and the use of the confidential address part allows the use of a larger confidentiality than would otherwise be possible given the constraints of a specific storage interface standard. An external entity may write a confidentiality to one or more blocks of the storage device in a previous operation, and then reference the confidentiality via the confidential address part. In an example, message 300 also includes a confidential command part. The confidential command part includes instructions to the storage device, which specify how to obtain confidentiality. Example instructions may include retrieving the current session key of the storage device, or using a diagnostic component to measure the quality of the storage device. Confidential commands provide additional flexibility to utilize increasingly complex storage device hardware. Although the confidentiality holding area (e.g., confidential part, confidential address, or confidential command part) may be separated from the input address part (e.g., 315), the confidentiality holding area may be included in the input address part and specified, for example, in the input header.
[0044] Figure 4 Blocks according to embodiments are described that move from an unsecure non-volatile buffer to a secure non-volatile location on a storage device in response to a successful authenticated modification operation.
[0045] As described above, authenticated modification commands prevent certain vulnerabilities that exist in block-locked secure write techniques. Another technique used in some memory devices—called replay-protected memory blocks (RPMBs)—uses authentication for each read and write, and can also facilitate secure writes. However, RPMBs are not suitable for devices that cannot buffer the entirety of a write portion in order to perform authentication along with the data write to the storage device. However, the authenticated modification described herein solves the RPMB problem by allowing unsafe writes to be followed by atomic verification of unsafe data and a write (e.g., copy) from an unsafe area to a secure area.
[0046] Secure areas or portions of the storage device are defined in the storage device's metadata or control registers. This defines a reliable way for the user (e.g., client) to specify—e.g., via a bitmap, partition, etc.—and determine that one or more erase blocks can only be modified through an authenticated modify (e.g., Auth_Modify) command. In one example, the signature of the authenticated modify command is an HMAC legacy program / erase will no longer work on these block signatures of existing flash content, which then allows it to be moved to a protected location in flash. When executed successfully, new content is automatically written within a single flash command.
[0047] User control configures 0 to 256 blocks (e.g., no blocks up to all array 64 kilobyte blocks) as each "Authenticated Modified" (AM). Block configuration and status may be limited to HMAC-signed commands, such as CRTM_Register_Write and CRTM_Register_Read commands. Legacy program and erase operations will fail for AM blocks. Therefore, the only way to modify an AM block is through an Auth_Modify command—e.g., copying flash contents from any array location (e.g., "flash buffer") to any AM block.
[0048] In an example, the authenticated modify command may have several options. For example, command option zero may include a secure erase command that specifies the base address of the AM block to be erased. In an example, erase suspend / resume functionality is not supported for this command or for the AM block. For example, this command option allows the host to safely free up storage space with the AM block pool.
[0049] Another example command option includes copying existing flash content from an array location to an AM block. In an example, the copy has a minimum granularity of 256 bytes. In an example, the command requires address alignment. In an example, the command has a maximum granularity of 64 kilobytes. In an example, erase suspend / resume functionality is not supported for this command or for the AM block.
[0050] The host or other entity that can use the storage device interface can use authenticated modification in a variety of ways. For example, the host can use CRTM_Register_Write to allocate a block for AM protection (AM block pool), or use CRTM_Register_Read to read the authenticated protection status of an AM protected block. When AM space is needed, the host can call Auth_Modify command option zero to erase the AM block. In an example, the host can use one of the Auth_Modify commands to add content to the AM block. In an example, the copy of data can be from an unsecure (e.g., non-AM) or from a secure (e.g., AM) block to a secure block. In an example, anti-replay protection is provided by a monotonic counter of the storage device. In an example, the key association of the storage device is a replaceable root key and session key per storage device power cycle.
[0051] In operation, Figure 4 , storage device 405 starts with data 410 and 415 in an unsecure portion (e.g., a flash buffer) of storage device 405. After an authenticated modification command, the data is moved to a secure portion (e.g., AM) of the storage device. Note that whether the data in the unsecure portion is erased as part of the copy is optional. For example, erasing data 410 is not erased from the unsecure portion, while data 415 is erased from the unsecure portion.
[0052] Figure 5 505 is a swim lane diagram illustrating an example of component messaging 500 within a storage device to perform authenticated modification according to an embodiment. After the storage device receives the data transfer, it is decoded by the decoder and sent to the controller (message 505). In this context, the decoded command is an authenticated modification command that is different from a legacy or standard write or program command because it contains a signature of the data constrained by the command. Compared to RPMB or the like, the data from which the signature is created is not part of the data transfer to the storage device. Instead, the data was previously placed on the storage device via a legacy write.
[0053] The decoded transmission also contains an identification of data previously stored by the initiator of the command (e.g., a host). The controller uses this identification to request (message 510) and receive (message 515) an input group from the storage device of the storage device. The controller then requests the encryption engine of the storage device to generate a signature of the input group (message 520). In the example, the controller does not actually receive the input group from the storage portion, but instead directs the encryption engine to the data of the input group, and the encryption engine reads the data itself to generate the signature. Once completed, the encryption engine provides the signature of the input group back to the controller (message 525).
[0054] The controller then compares the signature received in the data transfer with the signature provided by the encryption engine (operation 530). If the signatures match, then the data originally written by the requestor has not been modified and is written to a secure portion of the storage portion of the storage device (e.g., an AM configuration block or partition) (message 535). Otherwise, if the signatures do not match, then the data specified at the input group does not match the data expected by the requestor (e.g., because it was maliciously or erroneously changed), and the authenticated modification operation fails.
[0055] In an example, the data transfer itself may be protected via a hash operation, such as that supported by message 300 described above. In an example, data read from a secure portion may be verified by providing a hash signature of the data in response to a read—a precaution against modification of the data between the storage portion and the reading entity, as described below with the aid of component messaging 600.
[0056] Figure 6 6 is a swim lane diagram illustrating an example of component messaging 600 within a storage device to generate a hash according to an embodiment. After receiving the transmission at the interface to the storage device, the decoder decodes the command in the message (operation 605). The controller can then group the data from the set of input identifiers by requesting the data corresponding to the set of input identifiers from the storage portion (operation 610) and receiving the input group data provided by the storage portion (operation 615).
[0057] Once the input groups are grouped, the controller invokes a hash operation of the command on the input groups (operation 620). Optionally, the controller may provide a key to the encryption engine as part of the hash operation call (operation 625). The encryption engine then provides the hash result (e.g., hash product) back to the controller (operation 630). The controller then stores the hash result in a storage portion specified in the input message (e.g., output address) (operation 635).
[0058] Figure 7 A flowchart illustrating an example of a method 700 for multi-factor intelligent agent control according to an embodiment. The operations of the method 700 are performed on computer hardware, such as the one described above with respect to Figure 1 Or below about Figure 8 Computer hardware (e.g., circuitry) described herein.
[0059] At operation 705, a data transmission received at an interface of the storage device is decoded. Here, the data transmission contains a command, a set of input identifiers, and a signature corresponding to the data at the input identifiers. The command corresponds to an authenticated modification or auth_modify operation.
[0060] In an example, the set of input identifiers defines an address range of an unsecure portion of a storage device. In an example, two members of the set of input identifiers define an address range. In an example, a first member of the two members defines a start of the range, and a second member of the two members defines an end of the range. In an example, the first member of the two members defines a start of the range, and the second member of the two members defines a number of units to be included in the range.
[0061] In an example, a member of the set of input identifiers identifies a portion of a data transmission. In an example, the portion of the data transmission is identified by a field. In an example, the portion of the data transmission is identified by an offset. In an example, the portion of the data transmission is also identified by a length.
[0062] In an example, the data transmission includes an identification of the secure portion. In an example, the secure portion is readable by an external entity (e.g., a host or other entity using a storage device interface that is not the storage device or a component thereof). In an example, the data transmission identifies a secret of the storage device. In an example, the secret is a current session key of the storage device.
[0063] In an example, the interface of the memory device is a Joint Electron Device Engineering Council (JEDEC) memory standard interface. In an example, the memory device is a random access memory (RAM) device.
[0064] In an example, the interface of the storage device complies with at least one of an Integrated Device Electronics (IDE) AT Attachment (ATA) interface, a Serial ATA (SATA) interface, a Small Computer System Interface (SCSI) interface, or a Non-Volatile Memory Host Controller Interface Specification (NVMHCI) interface. In an example, the storage device is a flash memory device. In an example, the flash memory device is at least one of NOR flash or NAND flash. In an example, the storage device is a hard disk drive (HDD).
[0065] At operation 710, the members of the set of input identifications are grouped to produce an input group. Grouping involves collecting data identified in the input notification and placing the data into an input group. In an example, grouping the members of the set of input identifications includes retrieving data corresponding to addresses of the set of input identifications for inclusion in the input group.
[0066] At operation 715, a cryptographic engine of a storage device is called on the input group to generate a signature from the input group. In an example, the cryptographic engine implements a cryptographic hash. In an example, the cryptographic hash is a secure hash algorithm (SHA). In an example, the cryptographic engine generates a two hundred and fifty-six bit hash or a five hundred and twelve bit hash.
[0067] At operation 720, the first signature received as part of the data transfer is compared to the second signature generated by the encryption engine from the input group. If they match (decision 725), then at operation 730, the input group is written to the secure portion of the storage device. The write may include instructing the underlying storage device controller to copy the data of the input group from the unsecure portion to the secure portion, or it may include reading the data into the controller and writing it out to the secure portion. If the signatures do not match (decision 725), then at operation 735, the command fails. In an example, a notification of the command failure is sent back to the requestor.
[0068] In an example, method 700 can be extended to include creating a third signature of the data in the secure portion in response to a read request to which the data is returned. In an example, the signature is in response to a second command associated with the read request.
[0069] Figure 8A block diagram illustrating an example machine 800 on which one or more of the techniques (e.g., methods) discussed herein may be executed. As described herein, an example may include logic or several components or mechanisms in the machine 800 or may be operated by them. A circuit system (e.g., a processing circuit system) is a collection of circuits implemented in a tangible entity of the machine 800 that includes hardware (e.g., simple circuits, gates, logic, etc.). Circuit system membership may become flexible over time. A circuit system includes members that can perform specific operations individually or in combination when operating. In an example, the hardware of the circuit system may be designed invariably to perform specific operations (e.g., hardwired). In an example, the hardware of the circuit system may include variably connected physical components (e.g., execution units, transistors, simple circuits, etc.) that include machine-readable media that are physically modified (e.g., magnetically, electrically, removably placed particles of constant mass, etc.) to encode instructions for specific operations. For example, when connecting physical components, the underlying electrical properties of the hardware composition may change from an insulator to a conductor, or vice versa. The instructions enable embedded hardware (e.g., an execution unit or a loading mechanism) to create a member of a circuit system in hardware via a variable connection to perform a portion of a specific operation when in operation. Thus, in an example, the machine-readable media element is part of the circuit system, or is communicatively coupled to other components of the circuit system when the device is in operation. In an example, any of the physical components may be used in more than one member of more than one circuit system. For example, in operation, an execution unit may be used in a first circuit in a first circuit system at one point in time, and may be reused by a second circuit in the first circuit system or a third circuit in the second circuit system at a different time. The same is true of these components with respect to additional instances of machine 800.
[0070] In alternative embodiments, the machine 800 may operate as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine 800 may operate as a server machine, a client machine, or both in a server-client network environment. In an example, the machine 800 may act as a peer machine in a peer-to-peer (P2P) (or other distributed) network environment. The machine 800 may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile phone, a network appliance, a network router, a switch or a bridge, or any machine capable of executing instructions (sequentially or otherwise) specifying actions to be taken by the machine. Further, while only a single machine is described, the term “machine” shall also be construed to include any collection of machines that individually or collectively execute a set (or multiple sets) of instructions to perform one or more of the methodologies discussed herein, such as cloud computing, software as a service (SaaS), other computer cluster configurations.
[0071] The machine (e.g., computer system) 800 may include a hardware processor 802 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof), a main memory 804, a static memory (e.g., memory or storage device for firmware, microcode, basic input output (BIOS), unified extensible firmware interface (UEFI), etc.) 806, and a mass storage device 821 (e.g., a hard drive, a tape drive, a flash memory device, or other block device), some or all of which may communicate with each other via an interconnect (e.g., a bus) 808. The main memory 804 may typically be distinguished from the mass storage device 821 by being byte addressable versus block addressable, thereby allowing its data to be directly consumed by the processor 802. In addition, the main memory 804 is used by the processor 802 to store current (e.g., real-time) state information, rather than information maintained between power-on and power-off cycles. The static memory 806 is typically used to directly modify or configure the hardware, such as occurs at power-up, or to correct machine instructions (e.g., via microcode).
[0072] The machine 800 may further include a display unit 810, an alphanumeric input device 812 (e.g., a keyboard), and a user interface (UI) navigation device 814 (e.g., a mouse). In an example, the display unit 810, the input device 812, or the UI navigation device 814 may be a touch screen display. The machine 800 may additionally include a storage device (e.g., a drive unit), a signal generating device 818 (e.g., a speaker), a network interface device 820, and one or more sensors 816, such as a global positioning system (GPS), a sensor, a compass, an accelerometer, or other sensors. The machine 800 may include an output controller 828, such as a serial (e.g., a universal serial bus (USB), parallel or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connection to communicate or control one or more peripheral devices (e.g., a printer, a card reader, etc.).
[0073] The processor 802, main memory 804, static memory 806, or a register of a mass storage device 821 may be or include a machine-readable medium 822 on which is stored one or more sets of data structures or instructions 824 (e.g., software) that embody or are utilized by any one or more of the techniques or functions described herein. The instructions 824 may also reside, completely or at least partially, within any of the registers of the processor 802, main memory 804, static memory 806, or a mass storage device 821 during execution thereof by the machine 800. In an example, one or any combination of the hardware processor 802, main memory 804, static memory 806, or a mass storage device 821 may constitute the machine-readable medium 802. Although the machine-readable storage medium 822 is illustrated as a single medium, the term "machine-readable medium" may include a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) configured to store one or more instructions 824.
[0074] The term "machine-readable medium" may include any medium capable of storing, encoding, or carrying instructions executed by the machine 800 and causing the machine 800 to perform any one or more of the techniques of the present invention or capable of storing, encoding, or carrying data structures used by or associated with such instructions. Non-limiting machine-readable medium examples may include solid-state memory, optical media, magnetic media, and signals (e.g., radio frequency signals, other photon-based signals, sound signals, etc.). In an example, a non-transitory machine-readable medium includes a machine-readable medium with a plurality of particles having a constant (e.g., stationary) mass, and is therefore a composition of matter. Thus, a non-transitory machine-readable medium is a machine-readable medium that does not include a transitory propagating signal. Specific examples of non-transitory machine-readable media may include: non-volatile memory, such as semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable magnetic disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.
[0075] The instructions 824 may further be transmitted or received over a communication network 826 using a transmission medium via the network interface device 820 using any of a number of transmission protocols (e.g., frame relay, Internet Protocol (IP), transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), etc.). Example communication networks may include a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), a mobile telephone network (e.g., a cellular network), a plain old telephone (POTS) network, and a wireless data network (e.g., the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards, known as IEEE 802.16 series of standards, known as ), IEEE 802.15.4 family of standards, peer-to-peer (P2P) networks, etc. In an example, the network interface device 820 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to the communication network 826. In an example, the network interface device 820 may include multiple antennas to wirelessly communicate using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) technology. The term "transmission media" should be taken to include any intangible media capable of storing, encoding, or carrying instructions executed by the machine 800, and including digital or analog communication signals or other intangible media to facilitate the communication of such software. Transmission media is machine-readable media.
[0076] Additional Notes and Examples
[0077] Example 1 is a storage device that implements authenticated modification, the storage device comprising: an encryption engine; an interface; a decoder that parses a command, a set of input identifiers, and a first signature from a data transmission received at the interface; and a controller that is used to: collect the number of the set of input identifiers to generate an input group; instruct the encryption engine to generate a second signature from the input group; compare the first signature with the second signature to determine a match; and write the input group to a secure portion of the storage device in response to the match.
[0078] In example 2, the subject matter of example 1 includes wherein the set of input identifiers defines an address range of an unsecure portion of the storage device.
[0079] In example 3, the subject matter of example 2 includes, wherein two members of the set of input identifiers define the address range.
[0080] In Example 4, the subject matter of Example 3 includes, wherein a first member of the two members defines a beginning of the range and a second member of the two members defines an end of the range.
[0081] In Example 5, the subject matter of Examples 3-4 includes wherein a first of the two members defines the beginning of the range and a second of the two members defines a number of units to be included in the range.
[0082] In Example 6, the subject matter of Examples 1 to 5 includes, wherein the data transmission includes an identification of the secure portion.
[0083] In Example 7, the subject matter of Examples 1-6 includes, wherein the secure portion of the storage device is readable by an external entity via the interface to the storage device.
[0084] In Example 8, the subject matter of Example 7 includes, wherein the controller is to create a third signature of the security portion in response to a read operation.
[0085] In Example 9, the subject matter of Example 8 includes, wherein the controller is to provide the third signature to the external entity in response to a verification instruction including a reference to the read operation.
[0086] In Example 10, the subject matter of Examples 1-9 includes wherein the data transmission identifies a secret of the storage device.
[0087] In example 11, the subject matter of example 10 includes, wherein the secret is a current session key of the storage device.
[0088] In example 12, the subject matter of examples 1-11 includes, wherein the first signature and the second signature include a keyed hash message authentication code (HMAC).
[0089] In Example 13, the subject matter of Example 12 includes, wherein a secret of the storage device is used as a key for the HMAC.
[0090] In Example 14, the subject matter of Examples 1-13 includes, wherein the encryption engine implements cryptographic hashing.
[0091] In Example 15, the subject matter of Example 14 includes, wherein the cryptographic hash is a secure hash algorithm (SHA).
[0092] In Example 16, the subject matter of Example 15 includes, wherein the encryption engine generates a two hundred fifty six bit hash.
[0093] In Example 17, the subject matter of Examples 1-16 includes, wherein the interface of the storage device is a Joint Electron Device Engineering Council (JEDEC) memory standard interface.
[0094] In Example 18, the subject matter of Example 17 includes, wherein the storage device is a random access memory (RAM) device.
[0095] In Example 19, the subject matter of Examples 1 to 18 includes, wherein the interface of the storage device conforms to at least one of an Integrated Device Electronics (IDE) AT Attachment (ATA) interface, a Serial ATA (SATA) interface, a Small Computer System Interface (SCSI) interface, a Universal Flash Storage (UFS) interface, an Embedded MultiMedia Card (eMMC) interface, or a Non-Volatile Memory Host Controller Interface Specification (NVMHCI) interface.
[0096] In Example 20, the subject matter of Example 19 includes, wherein the storage device is a flash memory device.
[0097] In Example 21, the subject matter of Example 20 includes, wherein the flash memory device is at least one of NOR flash or NAND flash.
[0098] Example 22 is a machine-implemented method for authenticated modification in a storage device, the method comprising: decoding a data transmission received at an interface of the storage device, the data transmission comprising a command, a set of input identifiers, and a first signature corresponding to data identified by the input identifiers, the command corresponding to a secure portion of the storage device; grouping members of the set of input identifiers to produce an input group; calling an encryption engine of the storage device on the input group to produce a second signature from the input group; comparing the first signature to the second signature to determine a match; and writing the input group to the secure portion of the storage device in response to the match.
[0099] In Example 23, the subject matter of Example 22 includes, wherein the set of input identifiers defines an address range of an unsecure portion of the storage device.
[0100] In Example 24, the subject matter of Example 23 includes, wherein two members of the set of input identifiers define the address range.
[0101] In Example 25, the subject matter of Example 24 includes, wherein a first member of the two members defines a beginning of the range and a second member of the two members defines an end of the range.
[0102] In Example 26, the subject matter of Examples 24-25 includes wherein a first of the two members defines the beginning of the range and a second of the two members defines a number of units to be included in the range.
[0103] In Example 27, the subject matter of Examples 22 to 26 includes, wherein the data transmission includes an identification of the secure portion.
[0104] In Example 28, the subject matter of Examples 22-27 includes, wherein the secure portion of the storage device is readable by an external entity via the interface to the storage device.
[0105] In Example 29, the subject matter of Example 28 includes creating a third signature of the security portion in response to the read operation.
[0106] In Example 30, the subject matter of Examples 28-29 includes providing the third signature to the external entity in response to a verification instruction including a reference to the read operation.
[0107] In Example 31, the subject matter of Examples 22-30 includes wherein the data transmission identifies a secret of the storage device.
[0108] In example 32, the subject matter of example 31 includes, wherein the secret is a current session key of the storage device.
[0109] In Example 33, the subject matter of Examples 22-32 includes, wherein the first signature and the second signature include a keyed hash message authentication code (HMAC).
[0110] In Example 34, the subject matter of Example 33 includes, wherein a secret of the storage device is used as a key for the HMAC.
[0111] In Example 35, the subject matter of Examples 22-34 includes, wherein the encryption engine implements cryptographic hashing.
[0112] In Example 36, the subject matter of Example 35 includes, wherein the cryptographic hash is a secure hash algorithm (SHA).
[0113] In Example 37, the subject matter of Example 36 includes, wherein the encryption engine generates a two hundred fifty-six bit hash.
[0114] In Example 38, the subject matter of Examples 22-37 includes, wherein the interface of the storage device is a Joint Electron Device Engineering Council (JEDEC) memory standard interface.
[0115] In Example 39, the subject matter of Example 38 includes, wherein the storage device is a random access memory (RAM) device.
[0116] In Example 40, the subject matter of Examples 22 to 39 includes, wherein the interface of the storage device conforms to at least one of an Integrated Device Electronics (IDE) AT Attachment ATA interface, a Serial ATA (SATA) interface, a Small Computer System Interface SCSI interface, a Universal Flash Storage UFS interface, an Embedded MultiMedia Card eMMC interface, or a Non-Volatile Memory Host Controller Interface Specification NVMHCI interface.
[0117] In Example 41, the subject matter of Example 40 includes, wherein the storage device is a flash memory device.
[0118] In Example 42, the subject matter of Example 41 includes wherein the flash memory device is at least one of NOR flash or NAND flash.
[0119] Example 43 is at least one non-transitory machine-readable medium comprising instructions that, when executed by processing circuitry, cause the processing circuitry to perform any of the methods of Examples 22-42.
[0120] Example 44 is a system including means for performing any of the methods of examples 22 to 42.
[0121] Example 45 is at least one machine-readable medium comprising instructions that, when executed by processing circuitry, cause the processing circuitry to perform operations to implement any of Examples 1-44.
[0122] Example 46 is an apparatus comprising means for implementing any of Examples 1-44.
[0123] Example 47 is a system for implementing any of Examples 1-44.
[0124] Example 48 is a method for implementing any of Examples 1-44.
[0125] The above detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show specific embodiments that can be put into practice by way of illustration. These embodiments are also referred to herein as "examples". Such examples may include elements other than those shown or described. However, the inventors also consider examples in which only those elements shown or described are provided. In addition, the inventors also consider examples using any combination or arrangement of those elements (or one or more aspects thereof) shown or described with respect to a specific example (or one or more aspects thereof) or with respect to other examples (or one or more aspects thereof) shown or described herein.
[0126] All publications, patents, and patent documents referenced in this document are incorporated herein by reference in their entirety, as if individually incorporated by reference. In the event of inconsistent usages between this document and the documents so incorporated by reference, the usage in the incorporated reference should be considered supplementary to that of this document; for irreconcilable inconsistencies, the usage in this document controls.
[0127] In this document, independent of any other examples or uses of "at least one" or "one or more", the terms "a" or "an" commonly found in patent documents are used to include one or more. In this document, the term "or" is used to refer to a non-exclusive or, so that "A or B" includes "A but not B", "B but not A", and "A and B", unless otherwise indicated. In the appended claims, the terms "including" and "wherein" are used as the plain English equivalents of the corresponding terms "comprising" and "wherein". In addition, in the appended claims, the terms "including" and "comprising" are open-ended, that is, a system, device, article, or process that includes elements other than the elements listed after this term in the claim is still considered to be within the scope of the claim. In addition, in the appended claims, the terms "first", "second", and "third", etc. are used only as labels and are not intended to impose numerical requirements on their objects.
[0128] The above description is intended to be illustrative rather than restrictive. For example, the examples described above (or one or more aspects thereof) may be used in combination with each other. After reviewing the above description, other embodiments may be used by a person of ordinary skill in the art, for example. The abstract is to allow the reader to quickly determine the nature of the technical disclosure, and to submit the abstract with the understanding that it will not be used to interpret or limit the scope of the meaning of the claims. In addition, in the above specific embodiments, various features may be grouped together to simplify the present invention. This should not be interpreted as an expectation that the disclosed features that are not claimed are essential to any claim. Instead, the subject matter of the present invention may be less than all the features of a specific disclosed embodiment. Therefore, the attached claims are hereby incorporated into the specific embodiments, wherein each claim is independently used as a separate embodiment. The scope of the present invention should be determined with reference to the attached claims together with the full range of equivalents authorized by this claim.
Claims
1. A storage device implementing authenticated modification, the storage device comprising: Encryption engine; an interface that receives data writes to an unsecured portion of the storage device; a decoder that parses a command, a set of input identifications for writing said data to said unsecured portion of said storage device, and a first signature from a data transmission received at said interface; and A controller for: collecting members of the set of input identifiers from the unsecured portion of the storage device to produce an input set; instructing the cryptographic engine to generate a second signature from the input set; comparing the first signature to the second signature to determine a match; and The input set is written from the unsecure portion of the storage device to a secure portion of the storage device in response to the match. 2 . The storage device of claim 1 , wherein the set of input identifiers defines an address range of the unsecured portion of the storage device. The storage device of claim 1 , wherein the data transmission includes an identification of the secure portion.
4. The storage device of claim 1, wherein the secure portion of the storage device is readable by an external entity via the interface to the storage device.
5. The storage device of claim 4, wherein the controller is to create a third signature of the security portion in response to a read operation.
6. The storage device of claim 5, the controller to provide the third signature to the external entity in response to a verification instruction including a reference to the read operation.
7. The storage device of claim 1, wherein the data transmission identifies a confidentiality of the storage device.
8. The storage device of claim 1, wherein the first signature and the second signature comprise a keyed-hashed message authentication code (HMAC).
9. The memory device of claim 1, wherein the interface of the memory device is a Joint Electron Device Engineering Council (JEDEC) memory standard interface.
10. The storage device according to claim 1, wherein the interface of the storage device complies with at least one of an Integrated Device Electronics (IDE) AT Attachment (ATA) interface, a Serial ATA (SATA) interface, a Small Computer System Interface (SCSI) interface, a Universal Flash Storage (UFS) interface, an Embedded MultiMedia Card (eMMC) interface, or a Non-Volatile Memory Host Controller Interface (NVMHCI) interface.
11. The storage device of claim 10, wherein the storage device is a flash memory device.
12. A machine-implemented method for authenticated modification in a storage device, the method comprising: receiving, at an interface of the storage device, a data write to an unsecured portion of the storage device; decoding a data transmission received at the interface, the data transmission comprising a command, a set of input identifiers, and a first signature corresponding to data identified by the input identifiers for writing the data to the unsecured portion of the storage device, the command corresponding to the secure portion of the storage device; grouping members of the set of input identifiers from the unsecured portion of the storage device to produce an input group; invoking a cryptographic engine of the storage device on the input set to generate a second signature from the input set; comparing the first signature to the second signature to determine a match; and The input set is written from the unsecure portion of the storage device to a secure portion of the storage device in response to the match.
13. The method of claim 12, wherein the set of input identifiers defines an address range of the unsecured portion of the storage device. The method of claim 12 , wherein the data transmission includes an identification of the secure portion.
15. The method of claim 12, wherein the secure portion of the storage device is readable by an external entity via the interface to the storage device.
16. The method of claim 15, comprising creating a third signature of the security portion in response to a read operation.
17. The method of claim 16, comprising providing the third signature to the external entity in response to a verification instruction including a reference to the read operation.
18. The method of claim 12, wherein the data transmission identifies a confidentiality of the storage device.
19. The method of claim 12, wherein the first signature and the second signature comprise a keyed-hash message authentication code (HMAC).
20. The method of claim 12, wherein the interface of the memory device is a Joint Electron Device Engineering Council (JEDEC) memory standard interface.
21. The method according to claim 12, wherein the interface of the storage device complies with at least one of an Integrated Device Electronics (IDE) AT Attachment (ATA) interface, a Serial ATA (SATA) interface, a Small Computer System Interface (SCSI) interface, a Universal Flash Storage (UFS) interface, an Embedded MultiMedia Card (eMMC) interface, or a Non-Volatile Memory Host Controller Interface (NVMHCI) interface.
22. The method of claim 21, wherein the storage device is a flash memory device.
