Storage device, method of controlling storage device, and storage system
By optimizing the testing method of the Dilithium digital signature scheme in a storage device, calculating the intermediate vector and verification vector, the trade-off between public key length and signature length is resolved, reducing resource and time costs, and achieving efficient quantum-safe signature processing.
Patent Information
- Application Number
- CN202511297234.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-05-27
- Filing Date
- 2025-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
The existing Dilithium digital signature scheme suffers from a trade-off between public key length and signature length in a quantum computing environment, resulting in excessively high resource and time costs, poor testing conditions, and increased hardware complexity.
By implementing an improved testing method in the storage device, calculating intermediate vectors and verification vectors, determining the validity of the hint vectors, and storing signatures, the signature steps are optimized to reduce the probability of failure and hardware complexity.
It enables the execution of the Dilithium digital signature scheme in a quantum computing environment with lower computational cost and complexity, reducing hardware resource requirements.
Smart Images

Figure CN123184841A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to storage devices including digital signature schemes, and more specifically, to the hardware architecture of an improved Dilithium digital signature algorithm. Background Technology
[0002] A digital signature scheme can be a mathematical scheme used, for example, asymmetric cryptography, to verify the authenticity of digital data or messages. A digital signature scheme can be implemented using, for example, key generation steps to generate a private key and a corresponding public key, signature steps to generate a signature corresponding to the input data based on the private key, and verification steps to authenticate the input data using the public key and the signature.
[0003] Digital signature schemes are important tools for ensuring the security, integrity, and authenticity of digital messages and data. An example of a digital signature scheme is the Cryptographic Suite for Algebraic Lattices (CRYSTALS) - Dilithium (also referred to as "Dilithium" here).
[0004] Many digital signature schemes rely on complex mathematical problems that are considered computationally unsolvable by traditional computers. However, these complex mathematical problems can be solved much more easily by quantum computers, meaning that the security provided by these schemes could soon be reduced or eliminated. Unlike these schemes, Dilithium relies on the difficulty of the lattice problem on modular lattices, which may not be easily solved by quantum computers. Therefore, as the use of quantum computing becomes more widespread, Dilithium and other quantum-resistant cryptographic algorithms are expected to become very important.
[0005] In the Dilithium digital signature scheme, there is a trade-off between the length of the public key and the length of the signature. During the key generation step, a portion of the coefficients of the public key is lossily compressed or quantized to reduce the size of the public key. Specifically, these coefficients are divided by a fixed denominator, and only the quotient is published. However, this can introduce some skew during the verification step, and to address this, a special signature-dependent hint is computed during the signing step. As part of the signing step, a test is performed to check if an appropriate hint can indeed be generated to correct the skew, and if the test fails, the signature processing can be rerun.
[0006] In some implementations of the Dilithium digital signature scheme, testing is not performed optimally. For example, testing may be performed based on conditions sufficient for the prompt to function but not necessarily required. Therefore, these Dilithium implementations may result in higher resource and time costs than necessary, and may require more complex or expensive hardware than necessary. Summary of the Invention
[0007] According to an aspect of this disclosure, a method for controlling a storage device includes: obtaining input information to be signed using a public key associated with a private key, wherein the public key corresponds to a public key matrix and a public key vector, and wherein the private key corresponds to a first private key vector and a second private key vector; calculating a first intermediate vector based on the public key matrix and a mask vector; calculating a challenge value based on the input information and the first intermediate vector; calculating a signature vector and a hint vector corresponding to the challenge value; calculating a second intermediate vector by multiplying a second private key vector by the challenge value; calculating a third intermediate vector by multiplying a public key vector by the challenge value; calculating a verification vector based on the first, second, and third intermediate vectors; determining whether the hint vector is valid based on a plurality of differences obtained by subtracting a plurality of first coefficients included in the third intermediate vector from a plurality of second coefficients included in the verification vector; and storing the input information and the signature corresponding to the signature vector and the challenge value in a memory of the storage device based on the determination that the hint vector is valid.
[0008] According to an aspect of this disclosure, a storage device includes: a memory; and a storage controller including a security module, wherein the storage controller is configured to: obtain input information to be signed using a public key associated with a private key, wherein the public key corresponds to a public key matrix and a public key vector, and wherein the private key corresponds to a first private key vector and a second private key vector; calculate a first intermediate vector based on the public key matrix and a mask vector; calculate a challenge value based on the input information and the first intermediate vector; calculate a signature vector and a hint vector corresponding to the challenge value; calculate a second intermediate vector by multiplying a second private key vector by the challenge value; calculate a third intermediate vector by multiplying a public key vector by the challenge value; calculate a verification vector based on the first intermediate vector, the second intermediate vector, and the third intermediate vector; determine whether the hint vector is valid based on a plurality of differences obtained by subtracting a plurality of first coefficients included in the third intermediate vector from a plurality of second coefficients included in the verification vector; and, based on determining that the hint vector is valid, store the input information and the signature corresponding to the signature vector and the challenge value in the memory.
[0009] According to an aspect of this disclosure, a storage system includes: a host device; and a storage device including a memory and a storage controller, the storage controller including a security module, wherein the storage controller is configured to: obtain input information to be signed using a public key associated with a private key, wherein the public key corresponds to a public key matrix and a public key vector, and wherein the private key corresponds to a first private key vector and a second private key vector; calculate a first intermediate vector based on the public key matrix and a mask vector; calculate a challenge value based on the input information and the first intermediate vector; calculate a signature vector and a hint vector corresponding to the challenge value; calculate a second intermediate vector by multiplying a second private key vector by the challenge value; calculate a third intermediate vector by multiplying the public key vector by the challenge value; calculate a verification vector based on the first intermediate vector, the second intermediate vector, and the third intermediate vector; determine whether the hint vector is valid based on a plurality of differences obtained by subtracting a plurality of first coefficients included in the third intermediate vector from a plurality of second coefficients included in the verification vector; and, based on determining that the hint vector is valid, store the input information and the signature corresponding to the signature vector and the challenge value in the memory. Attached Figure Description
[0010] Figure 1 This is a block diagram of a computer system according to an embodiment.
[0011] Figure 2 This is a block diagram of a host storage system according to an embodiment.
[0012] Figure 3 This is a block diagram of a memory system according to an embodiment.
[0013] Figure 4 This is a block diagram of a memory device according to an embodiment.
[0014] Figure 5 This is a block diagram of a UFS system according to an embodiment.
[0015] Figure 6 This is a block diagram of a memory system according to an embodiment.
[0016] Figure 7 This is a block diagram of a storage system according to an embodiment.
[0017] Figure 8 This is a flowchart of the control storage system processing according to an embodiment.
[0018] Figure 9 This is a block diagram of a data center according to an embodiment. Detailed Implementation
[0019] As discussed above, with the increasing prevalence of quantum computing, quantum-resistant digital signature schemes (such as the Cryptographic Suite for Algebraic Lattices (CRYSTALS) – Dilithium (also referred to herein as “Dilithium”)) are expected to become increasingly important. Many implementations of Dilithium involve compressing or quantizing a portion of the coefficients of the public key to reduce its size. However, this compression can lead to skew in the signature generated during the signing step, potentially causing the verification step to fail. Therefore, the Dilithium signing step may include iteratively generating and testing a hint to be used during the corresponding verification step. If the test indicates that the generated hint will not allow the verification step to correct the skew, the iteration of the signing step fails, and a new iteration can begin to generate a new hint.
[0020] In some implementations of Dilithium, the test is performed under suboptimal conditions, which may result in higher computational costs than necessary and may require more complex and expensive hardware than necessary.
[0021] Therefore, embodiments may involve improved testing that results in a lower probability of failure during the signing step. Consequently, embodiments may allow the Dilithium digital signature scheme to be implemented at a lower computational cost, and may allow these schemes to be executed using hardware with reduced complexity and cost.
[0022] Figure 1 This is a diagram of the system 1000 applicable to the embodiments. Figure 1 System 1000 can be, for example, a mobile system (such as a portable communication terminal (e.g., a mobile phone), a smartphone, a tablet PC, a wearable device, a healthcare device, or an Internet of Things (IoT) device). However, Figure 1 The system 1000 is not limited to a mobile system and can be a PC, laptop computer, server, media player, or automotive device (e.g., navigation device).
[0023] Reference Figure 1 System 1000 may include a main processor 1100, a memory (e.g., 1200a and 1200b), and a storage device (e.g., 1300a and 1300b). Furthermore, system 1000 may include at least one of an image capture device 1410, a user input device 1420, a sensor 1430, a communication device 1440, a display 1450, a speaker 1460, a power supply device 1470, and a connection interface 1480.
[0024] The main processor 1100 controls all operations of the system 1000 (more specifically, including the operation of other components in the system 1000). The main processor 1100 can be implemented as a general-purpose processor, a special-purpose processor, or an application processor.
[0025] The main processor 1100 may include at least one CPU core 1110 and a controller 1120 configured to control memories 1200a and 1200b and / or storage devices 1300a and 1300b. In some embodiments, the main processor 1100 may also include an accelerator 1130, which is dedicated circuitry for high-speed data operations, such as artificial intelligence (AI) data operations. The accelerator 1130 may include a graphics processing unit (GPU), a neural processing unit (NPU), and / or a data processing unit (DPU) and may be implemented as a chip physically separate from other components of the main processor 1100.
[0026] Memory 1200a and 1200b may be used as the main memory device of system 1000. Although each of memory 1200a and 1200b may include volatile memory (such as static random access memory (RAM) (SRAM) and / or dynamic RAM (DRAM)), each of memory 1200a and 1200b may also include non-volatile memory (such as flash memory, phase-change RAM (PRAM) and / or resistive RAM (RRAM)). Memory 1200a and 1200b may be implemented in the same package as main processor 1100.
[0027] Storage devices 1300a and 1300b can be used as non-volatile storage devices configured to store data regardless of whether they are powered on, and have a larger storage capacity than memories 1200a and 1200b. Storage devices 1300a and 1300b may each include storage controllers (STRG CTRL) 1310a and 1310b, and non-volatile memory (NVM) 1320a and 1320b configured to store data via the control of storage controllers 1310a and 1310b. Although NVMs 1320a and 1320b may include flash memory with a two-dimensional (2D) structure or a three-dimensional (3D) V-NAND structure, embodiments are not limited thereto, and NVMs 1320a and 1320b may include other types of NVMs (such as PRAM and / or RRAM).
[0028] Storage devices 1300a and 1300b may be physically separate from the main processor 1100 and included in the system 1000, or implemented in the same package as the main processor 1100. Furthermore, storage devices 1300a and 1300b may be of the SSD or memory card type and may be removably combined with other components of the system 1000 via an interface (such as connection interface 1480 described below). Storage devices 1300a and 1300b may be devices employing standard protocols (such as Universal Flash Storage (UFS), eMMC, or Non-Volatile Memory Fast (NVMe)), but are not limited to these.
[0029] Image capture device 1410 can capture still images or moving images. Image capture device 1410 may include a camera, video camera, and / or webcam.
[0030] User input device 1420 can receive various types of data input by the user of system 1000, and includes a touchpad, keypad, keyboard, mouse and / or microphone.
[0031] Sensor 1430 can detect various types of physical quantities that can be obtained from outside the system 1000 and convert the detected physical quantities into electrical signals. Sensor 1430 may include temperature sensors, pressure sensors, illuminance sensors, position sensors, acceleration sensors, biosensors, and / or gyroscope sensors.
[0032] The communication device 1440 can transmit and receive signals between the system 1000 and other devices outside the system 1000 according to various communication protocols. The communication device 1440 may include an antenna, a transceiver, and / or a modem.
[0033] The display 1450 and speaker 1460 can be used as output devices for a user configured to output visual and auditory information to the system 1000, respectively.
[0034] The power supply device 1470 can suitably convert power supplied from a battery (not shown) embedded in the system 1000 and / or an external power source, and supply the converted power to each of the components of the system 1000.
[0035] The connection interface 1480 provides connectivity between the system 1000 and external devices, which can connect to the system 1000 and send and receive data from the system 1000. The connection interface 1480 can be implemented using various interface schemes, such as Advanced Technology Attachment (ATA), Serial ATA (SATA), External SATA (e-SATA), Small Computer System Interface (SCSI), Serial Attached SCSI (SAS), Peripheral Component Interconnect (PCI), PCI Express (PCIe), NVMe, IEEE 1394, Universal Serial Bus (USB) interface, Secure Digital (SD) card interface, Multimedia Card (MMC) interface, eMMC interface, UFS interface, Embedded UFS (eUFS) interface, and Compact Flash (CF) card interface.
[0036] Figure 2 This is a block diagram of a host storage system 10 according to an example embodiment.
[0037] The host storage system 10 may include a host 100 and a storage device 200. Furthermore, the storage device 200 may include a storage controller 210 and an NVM 220. According to an example embodiment, the host 100 may include a host controller 110 and a host memory 120. The host memory 120 may be used as a buffer memory configured to temporarily store data to be sent to or received from the storage device 200.
[0038] Storage device 200 may include a storage medium configured to store data in response to a request from host 100. As an example, storage device 200 may include at least one of SSD, embedded memory, and removable external memory. When storage device 200 is an SSD, it may be an NVMe compliant device. When storage device 200 is embedded memory or external memory, it may be a UFS compliant or eMMC compliant device. Each of host 100 and storage device 200 may generate and send packets according to a standard protocol adopted.
[0039] When the NVM 220 of storage device 200 includes flash memory, the flash memory may include a 2D NAND memory array or a 3D (or vertical) NAND (V-NAND) memory array. As another example, storage device 200 may include a variety of other types of NVM. For example, storage device 200 may include magnetic RAM (MRAM), spin-transfer torque MRAM, conductive bridged RAM (CBRAM), ferroelectric RAM (FRAM), PRAM, RRAM, and a variety of other types of memory.
[0040] According to embodiments, the host controller 110 and host memory 120 may be implemented as separate semiconductor chips. In some embodiments, the host controller 110 and host memory 120 may be integrated into the same semiconductor chip. As an example, the host controller 110 may be any one of a plurality of modules included in an application processor (AP). The AP may be implemented as a system-on-a-chip (SoC). Furthermore, the host memory 120 may be embedded memory included in the AP, or an NVM or memory module located outside the AP.
[0041] The host controller 110 can manage operations that store data (e.g., write data) in the buffer area of the host memory 120 in the NVM 220 or operations that store data (e.g., read data) in the buffer area of the NVM 220.
[0042] Storage controller 210 may include a host interface (I / F) 211, a memory interface 212, and a CPU 213. Additionally, storage controller 210 may include a flash translation layer (FTL) 214, a packet manager (PCK MNG) 215, a buffer memory (BUFMEM) 216, an error correction code (ECC) engine (ENG) 217, and an Advanced Encryption Standard (AES) engine 218. Storage controller 210 may also include working memory (not shown) loaded with FTL 214. CPU 213 can execute FTL 214 to control data write and read operations on NVM 220.
[0043] Host interface 211 can send packets to host 100 and receive packets from host 100. Packets sent from host 100 to host interface 211 may include commands or data to be written to NVM 220. Packets sent from host interface 211 to host 100 may include responses to commands or data read from NVM 220. Memory interface 212 can send data to NVM 220 to NVM 220 or receive data read from NVM 220. Memory interface 212 can be configured to conform to standard protocols (such as Toggle or Open NAND Flash Interface (ONFI)).
[0044] FTL 214 can perform various functions, such as address mapping, wear leveling, and garbage collection. Address mapping can be the process of translating a logical address received from host 100 into a physical address used to actually store data in the NVM 220. Wear leveling can be a technique used to prevent excessive degradation of specific blocks by allowing blocks in the NVM 220 to be used evenly. As an example, wear leveling can be implemented using firmware techniques that balance the erase counts of physical blocks. Garbage collection can be a technique used to ensure available capacity in the NVM 220 by erasing existing blocks after copying valid data from existing blocks to new blocks.
[0045] Packet manager 215 can generate packets according to the protocol of the interface of host 100, or parse various types of information from packets received from host 100. Furthermore, buffer memory 216 can temporarily store data to be written to NVM 220 or data to be read from NVM 220. Although buffer memory 216 can be a component included in storage controller 210, it can also be external to storage controller 210.
[0046] ECC engine 217 performs error detection and correction operations on read data read from NVM 220. More specifically, ECC engine 217 generates parity bits for the write data to be written to NVM 220, and the generated parity bits are stored in NVM 220 along with the write data. During data reading from NVM 220, ECC engine 217 can correct errors in the read data by using the parity bits read from NVM 220 along with the read data, and output the error-corrected read data.
[0047] The AES engine 218 can perform at least one of encryption and decryption operations on the data input to the storage controller 210 using a symmetric key algorithm.
[0048] Figure 3 This is a block diagram of the memory system 15 according to an embodiment. (Refer to...) Figure 3 The memory system 15 may include a memory device 17 and a memory controller 16. The memory system 15 may support multiple channels CH1 to CHm, and the memory device 17 may be connected to the memory controller 16 via multiple channels CH1 to CHm. For example, the memory system 15 may be implemented as a storage device (such as an SSD).
[0049] Memory device 17 may include a plurality of NVM devices NVM11 to NVMmn. Each of the NVM devices NVM11 to NVMmn can be connected to one of a plurality of channels CH1 to CHm via a corresponding path. For example, NVM devices NVM11 to NVM1n can be connected to a first channel CH1 via paths W11 to W1n, NVM devices NVM21 to NVM2n can be connected to a second channel CH2 via paths W21 to W2n, ..., and NVM devices NVMm1 to NVMmn can be connected to the m-th channel CHm via paths Wm1 to Wmn. In an example embodiment, each of the NVM devices NVM11 to NVMmn can be implemented as an arbitrary memory cell operable according to individual commands from memory controller 16. For example, each of the NVM devices NVM11 to NVMmn can be implemented as a chip or a die, but the inventive concept is not limited thereto.
[0050] The memory controller 16 can send signals to and receive signals from the memory device 17 via multiple channels CH1 to CHm. For example, the memory controller 16 can send commands CMDa to CMDm, addresses ADDRa to ADDRm, and data DATAa to DATAm to the memory device 17 via channels CH1 to CHm, or receive data DATAa to DATAm from the memory device 17.
[0051] The memory controller 16 can select one of the NVM devices NVM11 to NVMmn connected to a corresponding one of channels CH1 to CHm by using one of the corresponding channels CH1 to CHm, and send signals to and receive signals from the selected NVM device. For example, the memory controller 16 can select NVM11 from NVM11 to NVM1n connected to the first channel CH1. The memory controller 16 can send command CMDa, address ADDRa, and data DATAa to the selected NVM device NVM11 via the first channel CH1, or receive data DATAa from the selected NVM device NVM11.
[0052] The memory controller 16 can send signals to and receive signals from the memory device 17 in parallel through different channels. For example, the memory controller 16 can send command CMDb to the memory device 17 through the first channel CH1 while simultaneously sending command CMDb to the memory device 17 through the second channel CH2. For example, the memory controller 16 can receive data DATAa from the memory device 17 through the first channel CH1 while simultaneously receiving data DATAb from the memory device 17 through the second channel CH2.
[0053] The memory controller 16 controls all operations of the memory device 17. The memory controller 16 can send signals to channels CH1 to CHm and control each of the NVM devices NVM11 to NVMmn connected to channels CH1 to CHm. For example, the memory controller 16 can send command CMDa and address ADDRa to the first channel CH1 and control the selection of one of the NVM devices NVM11 to NVM1n.
[0054] Each of the NVM devices NVM11 to NVMmn can be operated under the control of the memory controller 16. For example, NVM11 can program data DATAa based on the command CMDa, address ADDRa, and data DATAa provided to the first channel CH1. For example, NVM21 can read data DATAb based on the command CMDb and address ADDb provided to the second channel CH2, and send the read data DATAb to the memory controller 16.
[0055] although Figure 3 An example is shown where memory device 17 communicates with memory controller 16 via m channels and includes n NVM devices corresponding to each channel, but the number of channels and the number of NVM devices connected to a channel may be varied.
[0056] Figure 4 This is a block diagram of a memory device 300 according to an example embodiment. (Refer to...) Figure 4 The memory device 300 may include a control logic circuit system 320, a memory cell array 330, a page buffer 340, a voltage generator 350, and a line decoder 360. Although in Figure 4 Not shown, but the memory device 300 may also include Figure 6 The memory interface circuit system 310 is shown in the figure. In addition, the memory device 300 may also include column logic circuitry, a pre-decoder, a temperature sensor, a command decoder, and / or an address decoder.
[0057] The control logic circuit system 320 can control all kinds of operations of the memory device 300. The control logic circuit system 320 can output various control signals in response to commands CMD and / or addresses ADDR from the memory interface circuit system 310. For example, the control logic circuit system 320 can output voltage control signals CTRL_vol, row address X-ADDR, and column address Y-ADDR.
[0058] The memory cell array 330 may include multiple memory blocks BLK1 to BLKz (where z is a positive integer), and each of the multiple memory blocks BLK1 to BLKz may include multiple memory cells. The memory cell array 330 can be connected to the page buffer 340 via the bit line BL, and can be connected to the line decoder 360 via the word line WL, the serial select line SSL, and the ground select line GSL.
[0059] In one example embodiment, the memory cell array 330 may include a 3D memory cell array comprising a plurality of NAND strings. Each of the NAND strings may include memory cells respectively connected to word lines vertically stacked on a substrate. The disclosures of U.S. Patent Nos. 7,679,133, 8,553,466, 8,654,587, 8,559,235, and 2011 / 0233648 are incorporated herein by reference. In one example embodiment, the memory cell array 330 may include a 2D memory cell array comprising a plurality of NAND strings arranged in both row and column directions.
[0060] Page buffer 340 may include multiple page buffers PB1 to PBn (here, n is an integer greater than or equal to 3), which can be connected to memory cells via multiple bit lines BL. Page buffer 340 can select at least one of the bit lines BL in response to column address Y-ADDR. Page buffer 340 can operate as a write driver or a sense amplifier depending on the operating mode. For example, during a programming operation, page buffer 340 may apply a bit line voltage corresponding to the data to be programmed to the selected bit line. During a read operation, page buffer 340 may sense the current or voltage of the selected bit line BL and sense the data stored in the memory cell. In one example embodiment, page buffer 340 may receive data DATA from memory interface circuitry 310.
[0061] Voltage generator 350 can generate various voltages for programming, reading, and erasing operations based on the voltage control signal CTRL_vol. For example, voltage generator 350 can generate programming voltage, reading voltage, programming verification voltage, and erasing voltage as word line voltage VWL.
[0062] The row decoder 360 can select one of multiple word lines WL and one of multiple string select lines SSL in response to the row address X-ADDR. For example, the row decoder 360 can apply a programming voltage and a programming verification voltage to the selected word line WL during a programming operation, and apply a read voltage to the selected word line WL during a read operation.
[0063] Figure 5This is a diagram illustrating a UFS system 2000 according to an embodiment. The UFS system 2000 may be a system conforming to the UFS standard published by the Joint Electronic Equipment Commission (JEDEC) and includes a UFS host 2100, a UFS device 2200, and a UFS interface 2300. (The last sentence appears to be incomplete and unrelated to the preceding text.) Figure 5 The following description falls within the scope of the conflict. Figure 1 The above description of System 1000 can also be applied to Figure 5 UFS system 2000.
[0064] Reference Figure 5 The UFS host 2100 can be connected to the UFS device 2200 via the UFS interface 2300. When Figure 1 When the main processor 1100 is an AP, the UFS host 2100 can be implemented as part of the AP. The UFS host controller 2110 and host memory 2140 can be respectively connected to... Figure 1 The main processor 1100 corresponds to the controller 1120 and the memories 1200a and 1200b. The UFS device 2200 can be used with... Figure 1 The storage devices 1300a and 1300b correspond to each other, and the UFS device controller 2210 and NVM 2220 can be respectively connected to... Figure 1 The storage controllers 1310a and 1310b correspond to NVM 1320a and 1320b.
[0065] UFS host 2100 may include UFS host controller 2110, application 2120, UFS drive 2130, host memory 2140, and UFS interconnect (UIC) layer 2150. UFS device 2200 may include UFS device controller 2210, NVM 2220, storage interface 2230, device memory 2240, UIC layer 2250, and regulator 2260. NVM 2220 may include multiple memory cells 2221. Although each of the memory cells 2221 may include V-NAND flash memory with a 2D or 3D structure, each of the memory cells 2221 may include other types of NVM (such as PRAM and / or RRAM). UFS device controller 2210 can be connected to NVM 2220 via storage interface 2230. Storage interface 2230 may be configured to conform to standard protocols (such as Toggle or ONFI).
[0066] Application 2120 may represent a program that wants to communicate with UFS device 2200 to use the functionality of UFS device 2200. Application 2120 may send input / output requests (IORs) to UFS drive 2130 for input / output (I / O) operations on UFS device 2200. IORs may represent data read requests, data storage (or write) requests, and / or data erase (or discard) requests, but are not limited to these.
[0067] UFS drive 2130 manages UFS host controller 2110 via UFS Host Controller Interface (UFS-HCI). UFS drive 2130 can translate IOR generated by application 2120 into UFS commands defined by the UFS standard and send these UFS commands to UFS host controller 2110. One IOR can be translated into multiple UFS commands. Although UFS commands are largely defined by the SCSI standard, they can also be commands specific to the UFS standard.
[0068] The UFS host controller 2110 can send UFS commands translated by the UFS driver 2130 to the UIC layer 2250 of the UFS device 2200 via the UIC layer 2150 and the UFS interface 2300. During the transmission of UFS commands, the UFS host register 2111 of the UFS host controller 2110 can be used as a command queue (CQ).
[0069] The UIC layer 2150 on the UFS host 2100 side may include the Mobile Industry Processor Interface (MIPI) M-PHY 2151 and MIPI UniPro 2152, and the UIC layer 2250 on the UFS device 2200 side may also include MIPI M-PHY 2251 and MIPI UniPro 2252.
[0070] UFS interface 2300 may include a line configured to transmit a reference clock signal REF_CLK, a line configured to transmit a hardware reset signal RESET_n for UFS device 2200, a pair of lines configured to transmit a pair of differential input signals DIN_t and DIN_c, and a pair of lines configured to transmit a pair of differential output signals DOUT_t and DOUT_c.
[0071] The frequency of the reference clock signal REF_CLK provided from the UFS host 2100 to the UFS device 2200 can be one of, but is not limited to, 19.2MHz, 26MHz, 38.4MHz, and 52MHz. The UFS host 2100 can change the frequency of the reference clock signal REF_CLK during operation (i.e., during data transmission / reception operations between the UFS host 2100 and the UFS device 2200). The UFS device 2200 can generate clock signals with various frequencies from the reference clock signal REF_CLK provided from the UFS host 2100 using a phase-locked loop (PLL). Furthermore, the UFS host 2100 can set the data rate between the UFS host 2100 and the UFS device 2200 by using the frequency of the reference clock signal REF_CLK. In other words, the data rate can be determined based on the frequency of the reference clock signal REF_CLK.
[0072] The UFS interface 2300 can support multiple channels, each of which can be implemented as a pair of differential lines. For example, the UFS interface 2300 may include at least one receive channel and at least one transmit channel. Figure 5 In this configuration, a pair of lines configured to transmit a pair of differential input signals DIN_T and DIN_C can form a receiving channel, and a pair of lines configured to transmit a pair of differential output signals DOUT_T and DOUT_C can form a transmitting channel. Although in Figure 5 The diagram shows one transmit channel and one receive channel, but the number of transmit channels and the number of receive channels can be changed.
[0073] The receive and transmit channels can be used to send data based on a serial communication scheme. Full-duplex communication between the UFS host 2100 and the UFS device 2200 can be enabled due to the separate receive and transmit channels. That is, while receiving data from the UFS host 2100 via the receive channel, the UFS device 2200 can send data to the UFS host 2100 via the transmit channel. Furthermore, control data (e.g., commands) from the UFS host 2100 to the UFS device 2200, as well as user data to be stored by the UFS host 2100 in or read from the NVM 2220 of the UFS device 2200, can be transmitted via the same channel. Therefore, in addition to a pair of receive channels and a pair of transmit channels, no further separate channels for data transmission are required between the UFS host 2100 and the UFS device 2200.
[0074] The UFS device controller 2210 of the UFS device 2200 controls all operations of the UFS device 2200. The UFS device controller 2210 manages the NVM 2220 using logical units (LUs) 2211, which serve as logical data storage units. The number of LUs 2211 can be eight, but is not limited to this. In one example embodiment, LUs 2211 may include logical units #0 to #N-1. The UFS device controller 2210 may include an FTL and translates logical data addresses (e.g., logical block addresses (LBAs)) received from the UFS host 2100 into physical data addresses (e.g., physical block addresses (PBAs)) using address mapping information from the FTL. Logical blocks configured to store user data in the UFS system 2000 may have sizes within a predetermined range. For example, the minimum size of a logical block may be set to 4 kilobytes.
[0075] When a command from UFS host 2100 is applied to UFS device 2200 through UIC layer 2250, UFS device controller 2210 may perform an operation in response to the command and send a completion response to UFS host 2100 when the operation is completed.
[0076] As an example, when UFS host 2100 intends to store user data in UFS device 2200, UFS host 2100 can send a data storage command to UFS device 2200. When it receives a response from UFS device 2200 instructing UFS host 2100 to be ready to receive user data (transfer ready) ("transfer ready" response), UFS host 2100 can send the user data to UFS device 2200. UFS device controller 2210 can temporarily store the received user data in device memory 2240, and store the user data temporarily stored in device memory 2240 in a selected location of NVM 2220 based on FTL address mapping information.
[0077] As another example, when UFS host 2100 intends to read user data stored in UFS device 2200, UFS host 2100 can send a data read command to UFS device 2200. UFS device controller 2210, having received the command, can read the user data from NVM 2220 based on the data read command and temporarily store the read user data in device memory 2240. During the read operation, UFS device controller 2210 can detect and correct errors in the read user data using an embedded ECC engine (not shown). More specifically, the ECC engine can generate parity bits for the write data to be written to NVM 2220, and the generated parity bits can be stored in NVM 2220 along with the write data. During data reading from NVM 2220, the ECC engine can correct errors in the read data by using the parity bits read from NVM 2220 along with the read data, and output the error-corrected read data.
[0078] In addition, the UFS device controller 2210 can send user data temporarily stored in the device memory 2240 to the UFS host 2100. Furthermore, the UFS device controller 2210 may also include an AES engine (not shown). The AES engine can perform at least one of encryption and decryption operations on the data sent to the UFS device controller 2210 using a symmetric key algorithm.
[0079] UFS host 2100 can sequentially store commands to be sent to UFS device 2200 in UFS host register 2111, which can be used as a common queue, and send the commands sequentially to UFS device 2200. In this case, even while a previously sent command is still being processed by UFS device 2200 (i.e., even before receiving notification that "the previously sent command has been processed by UFS device 2200"), UFS host 2100 can send the next command that is waiting in the CQ to UFS device 2200. Therefore, UFS device 2200 can also receive the next command from UFS host 2100 while processing a previously sent command. The maximum number of commands (or queue depth) that can be stored in the CQ can be, for example, 32. Furthermore, the CQ can be implemented as a circular queue in which the start and end of the command lines stored in the queue are indicated by head pointers and tail pointers.
[0080] Each of the plurality of memory cells 2221 may include a memory cell array (not shown) and control circuitry (not shown) configured to control the operation of the memory cell array. The memory cell array may include a 2D memory cell array or a 3D memory cell array. The memory cell array may include a plurality of memory cells. Although each of the memory cells is a single-level cell (SLC) configured to store 1 bit of information, each of the memory cells may be a cell configured to store 2 or more bits of information (such as a multi-level cell (MLC), a three-level cell (TLC), and a four-level cell (QLC)). A 3D memory cell array may include vertical NAND strings in which at least one memory cell is vertically oriented and located on top of other memory cells.
[0081] Voltages VCC, VCCQ1, and VCCQ2 can be applied to the UFS device 2200 as power supply voltages. Voltage VCC can be the main power supply voltage of the UFS device 2200, and is in the range of 2.4V to 3.6V. Voltage VCCQ1 can be a power supply voltage used primarily to supply low voltages to the UFS device controller 2210, and is in the range of 1.14V to 1.26V. Voltage VCCQ2 can be a power supply voltage used primarily to supply voltages lower than VCC and higher than VCCQ1 to I / O interfaces (such as MIPI M-PHY2251), and is in the range of 1.7V to 1.95V. The power supply voltages can be supplied to the various components of the UFS device 2200 via regulator 2260. Regulator 2260 can be implemented as a set of unit regulators respectively connected to the different power supply voltages described above.
[0082] Figure 6 This is a block diagram of the memory system 20 according to an embodiment. (Refer to...) Figure 6 The memory system 20 may include a memory device 300 and a memory controller 400. The memory device 300 may correspond to one of the NVM devices NVM11 to NVMmn, which are based on... Figure 3 Multiple channels CH1 to CHm communicate with the memory controller 16. The memory controller 400 can communicate with... Figure 3 The memory controller 16 corresponds to this.
[0083] The memory device 300 may include first pins P11 to eighth pins P18, a memory interface circuit system 310, a control logic circuit system 320, and a memory cell array 330.
[0084] The memory interface circuitry 310 can receive a chip enable signal nCE from the memory controller 400 via a first pin P11. In response to the chip enable signal nCE, the memory interface circuitry 310 can send signals to and receive signals from the memory controller 400 via second pins P12 to eighth pins P18. For example, when the chip enable signal nCE is in an enabled state (e.g., low level), the memory interface circuitry 310 can send signals to and receive signals from the memory controller 400 via second pins P12 to eighth pins P18.
[0085] The memory interface circuitry 310 receives the command latch enable signal CLE, the address latch enable signal ALE, and the write enable signal nWE from the memory controller 400 via pins P12 to P14. The memory interface circuitry 310 receives or sends the data signal DQ from the memory controller 400 via pin P17. Command CMD, address ADDR, and data can be transmitted via the data signal DQ. For example, the data signal DQ can be transmitted via multiple data signal lines. In this case, pin P17 may include multiple pins corresponding to the multiple data signals DQ.
[0086] The memory interface circuitry 310 can obtain the command CMD from the data signal DQ, which is received during the enable interval of the command latch enable signal CLE (e.g., in a high-level state) based on the switching time of the write enable signal nWE. The memory interface circuitry 310 can also obtain the address ADDR from the data signal DQ, which is received during the enable interval of the address latch enable signal ALE (e.g., in a high-level state) based on the switching time of the write enable signal nWE.
[0087] In one example embodiment, the write enable signal nWE can be held in a static state (e.g., high or low) and toggled between high and low levels. For example, the write enable signal nWE can be toggled during the interval in which the command CMD or address ADDR is sent. Therefore, the memory interface circuitry 310 can obtain the command CMD or address ADDR based on the switching time of the write enable signal nWE.
[0088] The memory interface circuit system 310 can receive the read enable signal nRE from the memory controller 400 via pin 5 P15. The memory interface circuit system 310 can receive the data strobe signal DQS from the memory controller 400 or send the data strobe signal DQS to the memory controller 400 via pin 6 P16.
[0089] In the data (DATA) output operation of memory device 300, memory interface circuitry 310 may receive a switched read enable signal nRE via pin 5 P15 before outputting data DATA. Memory interface circuitry 310 may generate a switched data strobe signal DQS based on the switching of the read enable signal nRE. For example, memory interface circuitry 310 may generate a data strobe signal DQS that begins switching after a predetermined delay (e.g., tDQSRE) based on the switching start time of the read enable signal nRE. Memory interface circuitry 310 may transmit a data signal DQ including data DATA based on the switching time point of the data strobe signal DQS. Therefore, data DATA may be aligned with the switching time point of the data strobe signal DQS and sent to memory controller 400.
[0090] In the data (DATA) input operation of the memory device 300, when a data signal DQ including data DATA is received from the memory controller 400, the memory interface circuit system 310 can receive a switching data strobe signal DQS from the memory controller 400 along with the data DATA. The memory interface circuit system 310 can obtain the data DATA from the data signal DQ based on the switching time point of the data strobe signal DQS. For example, the memory interface circuit system 310 can sample the data signal DQ at the rising and falling edges of the data strobe signal DQS and obtain the data DATA.
[0091] The memory interface circuitry 310 can send a ready / busy output signal nR / B to the memory controller 400 via pin 8 P18. The memory interface circuitry 310 can also send status information of the memory device 300 to the memory controller 400 via the ready / busy output signal nR / B. When the memory device 300 is in a busy state (i.e., when an operation is being performed in the memory device 300), the memory interface circuitry 310 can send the ready / busy output signal nR / B indicating the busy state to the memory controller 400. When the memory device 300 is in a ready state (i.e., when no operation is being performed or an operation has been completed in the memory device 300), the memory interface circuitry 310 can send the ready / busy output signal nR / B indicating the ready state to the memory controller 400. For example, when the memory device 300 reads data DATA from the memory cell array 330 in response to a page read command, the memory interface circuitry 310 can send the ready / busy output signal nR / B indicating a busy state (e.g., low level) to the memory controller 400. For example, when the memory device 300 programs data DATA into the memory cell array 330 in response to a programming command, the memory interface circuitry 310 can send a ready / busy output signal nR / B indicating a busy state to the memory controller 400.
[0092] The control logic circuit system 320 controls all operations of the memory device 300. The control logic circuit system 320 can receive commands / addresses (CMD / ADDR) obtained from the memory interface circuit system 310. In response to the received commands / addresses (CMD / ADDR), the control logic circuit system 320 can generate control signals for controlling other components of the memory device 300. For example, the control logic circuit system 320 can generate various control signals for programming data DATA into or reading data DATA from the memory cell array 330.
[0093] The memory cell array 330 can store data DATA obtained from the memory interface circuit system 310 under the control of the control logic circuit system 320. The memory cell array 330 can also output the stored data DATA to the memory interface circuit system 310 under the control of the control logic circuit system 320.
[0094] The memory cell array 330 may include a plurality of memory cells. For example, the plurality of memory cells may be flash memory cells. However, the inventive concept is not limited thereto, and the memory cells may be RRAM cells, FRAM cells, PRAM cells, thyristor RAM (TRAM) cells, or MRAM cells. In the following, embodiments in which the memory cells are NAND flash memory cells will be described primarily.
[0095] The memory controller 400 may include a first pin P21 to an eighth pin P28 and a controller interface circuit system 410. The first pin P21 to the eighth pin P28 may correspond to the first pin P11 to the eighth pin P18 of the memory device 300, respectively.
[0096] The controller interface circuit system 410 can send a chip enable signal nCE to the memory device 300 via the first pin P21. The controller interface circuit system 410 can send signals to the memory device 300 and receive signals from the memory device 300 via the second pin P22 to the eighth pin P28. The memory device 300 is selected by the chip enable signal nCE.
[0097] The controller interface circuit system 410 can send the command latch enable signal CLE, the address latch enable signal ALE, and the write enable signal nWE to the memory device 300 via pins P22 to P24. The controller interface circuit system 410 can send the data signal DQ to the memory device 300 and receive the data signal DQ from the memory device 300 via pin P27.
[0098] The controller interface circuitry 410 can send a data signal DQ, including a command CMD or address ADDR, along with a switching write enable signal nWE to the memory device 300. The controller interface circuitry 410 can also send the data signal DQ, including a command CMD, to the memory device 300 by sending a command latch enable signal CLE with an enabled state. Furthermore, the controller interface circuitry 410 can send the data signal DQ, including an address ADDR, to the memory device 300 by sending an address latch enable signal ALE with an enabled state.
[0099] The controller interface circuit system 410 can send the read enable signal nRE to the memory device 300 via the fifth pin P25. The controller interface circuit system 410 can receive the data strobe signal DQS from the memory device 300 or send the data strobe signal DQS to the memory device 300 via the sixth pin P26.
[0100] In the data (DATA) output operation of memory device 300, controller interface circuitry 410 can generate a switching read enable signal nRE and send the read enable signal nRE to memory device 300. For example, before outputting data DATA, controller interface circuitry 410 can generate a read enable signal nRE that changes from a static state (e.g., high level or low level) to a switching state. Therefore, memory device 300 can generate a switching data strobe signal DQS based on the read enable signal nRE. Controller interface circuitry 410 can receive a data signal DQ including data DATA from memory device 300 along with the switching data strobe signal DQS. Controller interface circuitry 410 can obtain data DATA from data signal DQ based on the switching time of data strobe signal DQS.
[0101] During data (DATA) input operations of memory device 300, controller interface circuitry 410 can generate a switching data strobe signal DQS. For example, before transmitting data DATA, controller interface circuitry 410 can generate a data strobe signal DQS that changes from a static state (e.g., high or low level) to a switching state. Controller interface circuitry 410 can then transmit a data signal DQ including data DATA to memory device 300 based on the switching timing of the data strobe signal DQS.
[0102] The controller interface circuit system 410 can receive the ready / busy output signal nR / B from the memory device 300 via pin 8 P28. The controller interface circuit system 410 can determine the status information of the memory device 300 based on the ready / busy output signal nR / B.
[0103] Figure 7This is a block diagram illustrating an example of a storage system 7000 according to an embodiment. The storage system 7000 may include a host 7100 and an SSD 7200. In an embodiment, the host 7100 may correspond to, for example, host 100, UFS host 2100, or any element including a main processor 1100, CPU core 1110, host controller 110, UFS host controller 2110, or any other element discussed above. In an embodiment, the SSD 7200 may correspond to storage devices 1300a and 1300b, storage device 200, memory system 15, memory system 20, memory device 300, or any other element discussed above. Although the SSD 7200 is shown as an SSD, the embodiment can also be applied to any other type of storage device (e.g., a UFS storage device (such as UFS device 2200) or any other storage device (such as an eMMC storage device)). In one embodiment, host 7100 may communicate with storage device (e.g., SSD 7200) using a communication path (such as a PCIe bus); however, the embodiment is not limited thereto, and host 7100 may communicate with any type of storage device via any type of connection.
[0104] SSD 7200 may include RAM 7210, SSD controller 7220, and one or more memory devices (such as NAND flash memory devices NAND1, NAND2, NAND3, and NAND4). In embodiments, RAM 7210 may correspond to buffer memory 216, device memory 2240, or any other element discussed above. In embodiments, SSD controller 7220 may correspond to STRGCTRL 1310a and 1310b, STRG CTRL 210, memory controller 16, UFS device controller 2210, memory controller 400, or any other element described above. In embodiments, memory devices NAND1, NAND2, NAND3, and NAND4 may correspond to NVM 1320a and 1320b, NVM 220, NVM devices NVM11 to NVMmn, memory device 300, NVM 2220, or any other element described above.
[0105] In one embodiment, the SSD controller 7220 may include a security module 7230 and a host interface 7240; however, the embodiment is not limited thereto. In another embodiment, one or more of the security module 7230 and the host interface 7240 may be implemented separately from the SSD controller 7220. In yet another embodiment, the host interface 7240 may correspond to the host interface 211, the UIC layer 2250, or any other element discussed above.
[0106] In this embodiment, the security module 7230 can be used to implement and perform operations and steps related to a digital signature scheme (such as Dilithium) to provide data security. For example, the security module 7230 can use the digital signature scheme to generate a digital signature corresponding to data stored in the SSD 7200, which allows the storage system 7000 to determine whether the data is authentic and whether data tampering has occurred. Furthermore, the security module 7230 can use the digital signature scheme for other purposes (such as firmware authentication).
[0107] In an embodiment, security module 7230 may include hardware such as a processor or processing circuitry system capable of performing one or more operations, which may correspond to or be included in at least one of the following steps: a key generation step for generating a private key and a corresponding public key; a signature step for generating a signature corresponding to input data based on the private key; and a verification step for authenticating the input data using the public key and the signature. In an embodiment, security module 7230 may be used to perform, for example, number-theoretic transformation (NTT) operations included in or corresponding to these processes. In some embodiments, the processing circuitry system may include one or more application-specific integrated circuits (ASICs), but the embodiments are not limited thereto.
[0108] The embodiments may relate to implementations of the Dilithium digital signature scheme that include improved testing to reduce the probability of failure in the signature step. According to the embodiments, this reduced failure probability may allow the security module 7230 to be implemented using a processor or processing circuitry system with reduced complexity or cost.
[0109] For example, when security module 7230 includes a processing circuitry system for implementing the signature step, a portion of that processing circuitry system may be dedicated to processing that may occur after a test included in the signature step fails. However, embodiments may allow the signature step to be implemented using a new test with a reduced probability of failure. Therefore, the size or complexity of the processing circuitry system included in security module 7230 can be reduced accordingly. Furthermore, the reduction in processing requirements may allow for a corresponding reduction in other resources used by SSD controller 7200 (e.g., a reduction in internal memory (such as peripheral RAM) that may be used by the processing hardware included in security module 7230). As an example, some embodiments may allow security module 7230 to be implemented using hardware with a size or complexity reduced by approximately 20% to 30% compared to embodiments with processing circuitry systems that include other suboptimal tests, but embodiments are not limited to this.
[0110] As discussed above, in "Bai, S., Ducas, L., Kiltz, E., Lepoint, T., Lyubashevsky, V., Schwabe, P., Seiler, G. and Stehlé, D. (2021) CRYSTALS-Dilithium: Algorithm Specifications and Support Document (Version 3.1) An example implementation of the Dilithium digital signature scheme is provided in the "Technical Report (Post-Quantum Cryptography Standardization Process)," published by the National Institute of Standards and Technology (NIST), the entire contents of which are incorporated herein by reference. The symbols and definitions used below are similar to those used in Bai. However, for ease of description, this is used only as an example, and embodiments are not limited to the content of Bai, or to the examples provided therein.
[0111] Dilithium can be based on polynomial rings Arithmetic, in which, It can represent odd prime numbers. Dilithium can be an instance of a general family of lattice-based digital signature schemes obtained by applying the Fiat-Shamir transformation to lattice-based interactive knowledge proofs. A public key matrix can be generated according to the Dilithium key generation steps. Each entry in the matrix is a ring. The polynomial in the key generation step can also create the first private key vector. Second private key vector First private key vector Second private key vector The component is ring The public key may include a public key matrix. and public key vector Public key vector It can be obtained from the following equation 2: Equation 2.
[0112] According to embodiments, quantum computers may not be able to operate on a system given only a public key (e.g., a public key vector). and public key matrix The secret value is determined under the condition of quantum inequality. Therefore, Dilithium can be called a quantum-resistant cryptographic algorithm.
[0113] Dilithium signature steps can receive messages. As input, and can generate messages Corresponding signature For ease of description, vectors It can be called a signature vector, and its value This can be referred to as the challenge value.
[0114] Signature processing may also include calculating a vector according to the following Equation 3. : Equation 3.
[0115] In equation 3, It can represent a threshold, and This can be represented by a vector calculated according to the following equation 4: Equation 4.
[0116] In equation 4, It can represent a mask vector. Furthermore, This can represent an operation or step that can be used in some implementations of Dilithium to obtain higher-order bits of coefficients included in a vector. For example, it can be written according to the following Equation 5. Each coefficient in : ,in, Equation 5.
[0117] By according to conditions Will Applied to vectors The returned vector It can include all coefficients. A vector. Similarly, a vector It can include all coefficients. vectors, vectors It can be represented as In an embodiment, by applying The result obtained can be called the high-order value, and through application... The result obtained can be called the low-order bits. For example, a vector. It can be called a vector The high bit, and the vector It can be called a vector The lower bits, but the embodiments are not limited to this. As another example, vector This can be referred to as a public key vector. The high bit, and the vector This can be referred to as a public key vector. The lower position, but the embodiments are not limited to this.
[0118] During the Dilithium verification step, vector It doesn't have to be known, but only the vector. It can be known. For ease of description, vectors This can be referred to as the verification vector. Furthermore, the vector... It can be called the first intermediate vector, vector It can be called the second intermediate vector, and the vector It can be referred to as the third intermediate vector.
[0119] Because vectors The signature can be unknown during the verification step, so when the signature is generated, the signature step can ensure that, given a verification vector... Calculation during the verification step Yes, it is feasible. This can be done in two stages. First, the signature processing may include checking whether the following equation 6 holds true: Equation 6.
[0120] If Equation 6 is not true, the iteration of the signature step may fail, and a new iteration of the signature step may begin.
[0121] If Equation 6 holds true, the signature step can continue to generate the hint vector. Hint vector This is intended to enable the verification process to be based on... To restore .
[0122] Hint vector It can be an instruction " and A sequence of binary values at "different positions". For example, during the signature step, some implementations of Dilithium can use a sequence represented as... The prompt generation steps may include: based on Obtain the first vector, based on Obtain the second vector, and generate a hint vector based on the comparison between the first and second vectors. Furthermore, during the verification step, methods represented as... The corresponding steps, to use the prompt vector To recover the vector (or candidate vector) ).
[0123] To make the prompt vector To make it work (e.g., to make the cue vector) (Valid), regarding as subtraction For the result to be a high-level change, two requirements must be met. According to the first requirement, at each position, the change must reach a maximum of [missing information]. According to the second requirement, at each position, the direction of the change should be from that position's... The value can be derived.
[0124] Given these two requirements, if the hint vector If a position is indicated to have been changed, the verification step can determine that it has been changed by exactly one value ("1") and in which direction it was changed. This means the verification step can determine how to correct it. Therefore, given and hint vector The verification steps can be calculated , It can be equal to the expected value .
[0125] The signature step can be a randomized or pseudo-randomized process involving several tests, and can be rerun with different levels of randomness until all tests pass. According to an embodiment, one of the tests involves a vector. In some implementations of Dilithium, this particular test includes determining whether the following equation 7 holds true: Equation 7.
[0126] If the answer is negative (e.g., if equation 7 is false), the iteration may fail. If the test passes (e.g., if equation 7 is true), then " and All positions of "different" can be found in the prompt vector. It is marked as value one ("1").
[0127] According to the embodiment, the prompt vector Typically, this can be a sparse vector, and to save signature length, a hint vector is used. It can be compressed as follows: for each of the k hint vectors, its weight can be specified in one byte, and all indices with a value of one ("1") can be listed in one byte. To keep the signature length fixed, additional tests can be performed on the values of one ("1") in the hint vectors. The number of occurrences of the first private key vector is counted, and if this number exceeds a certain threshold (meaning the aforementioned compression would be too long), the iteration fails. Additionally, two extra tests are performed during the signing step to ensure no information about the first private key vector is leaked. Second private key vector Information.
[0128] The conditions in Equation 7 are sufficient to ensure the first requirement discussed above (e.g., for all...). (The following equation 8 holds true): Equation 8.
[0129] However, this is not a necessary condition, and the other conditions corresponding to Equation 9 below can also be sufficient (but still not necessary): Equation 9.
[0130] Regarding the second requirement discussed above, regarding Regarding the infinite norm, because the value Yes, it is possible. The norm is restricted to satisfy the maximum value required by the second requirement, so the condition of Equation 7 is sufficient.
[0131] However, instead of simply applying equation 7 above... The infinite norm is used as a constraint, and the embodiments may involve improved tests, in which, relative to the improved tests... The corresponding coefficients in the equation are independent of each other. Each of the coefficients is tested. If such a test is used, then for the second requirement, no further testing is required. The norm of each coefficient is less than or equal to This is because, although The coefficient is allowed The coefficients are shifted too far, causing the prompt vector to... It doesn't work, but The exact distance the coefficient shifts depends on The initial values of the coefficients (and in particular, depend on) (the lower digit of the coefficient). The infinite norm of the coefficient can be greater than Without making the prompt vector It fails, and only in extreme cases. The coefficient will The norm of the corresponding coefficient is restricted to: Even so, this can occur in only one direction (e.g., depending on...). coefficient, The coefficient needs to be greater than or equal to or less than or equal to ).
[0132] According to the embodiment, performing such a coordinate-by-coordinate test can enable The coefficients of two types that will fail the tests described above (e.g., the test corresponding to Equation 7) will pass. The first type of coefficient includes those in the cue vector. The corresponding position in the vector will not produce a coefficient with a value of one ("1"), and the coefficients of the second type are included in the cue vector. The corresponding position in the text will produce a value of 1 ("1"), but it can still be understood as described above. The steps involve correcting coefficients. Therefore, embodiments can provide signature steps that include an improved test, instead of the test corresponding to Equation 7 above. Examples of such an improved test are described below.
[0133] According to the embodiment, for each index value The coefficients can be calculated using the following equations 10 and 11. and : Equation 10; Equation 11.
[0134] In addition, the value can be calculated according to the following equation 12. ,in, This can represent the radix used to obtain the high and low bits: Equation 12.
[0135] According to an embodiment, the improved test may include: for each Determine whether one of the two conditions is met. The first condition can be satisfied based on the fact that equation 13 holds: and Equation 13.
[0136] The first condition can also be satisfied based on the fact that equation 14 holds: ; ; Equation 14.
[0137] The second condition can be satisfied based on the fact that equation 15 holds: and Equation 15.
[0138] The second condition can also be satisfied based on the fact that equation 16 holds: ; ;and Equation 16.
[0139] The test can be passed based on the satisfaction of at least one of two conditions. According to an embodiment, compared to the test corresponding to Equation 7 above, The allowable range of the coefficients can be doubled. Furthermore, the tests corresponding to Equations 13 to 16 can result in a cue vector. Some indices change from the value zero ("0") to the value one ("1"), but due to the hint vector With the Hamming weight, the probability of test failure can be lower. This is because in such an index (the index that has a value of one ("1") in the improved test and a value of zero ("0") in the test corresponding to Equation 7), The norm is greater than Therefore, it would fail the test corresponding to Equation 7 under any circumstances. The improved test corresponding to Equations 13 through 16 allows for such a hint vector. By: including indices with a value of one (“1”) less than the maximum allowed value, and passing the test corresponding to Equation 7, then including several additional indices with larger norms, such that the hint vector... The total weight of Hamming remains within the limits.
[0140] The improved test does not require any further changes to the Dilithium process. Specifically, Dilithium's... Processing and The steps can be performed appropriately. The following description provides illustrative examples of the effectiveness of the improved test.
[0141] make And determined according to the following equations 17 and 18. and : Equation 17; Equation 18.
[0142] Assume that either the first condition or the second condition is met. The first condition is met when either equation 19 or equation 20 is true. The second condition is met when either equation 21 or equation 22 is true.
[0143] and Equation 19.
[0144] ; ;and Equation 20.
[0145] The second condition can be satisfied when either equation 21 or equation 22 is true.
[0146] and Equation 21.
[0147] ; ;and Equation 22.
[0148] According to Equation 12 above, The conditions corresponding to equations 19 to 22 can be restated as three mutually exclusive conditions, which can be called condition A, condition B, and condition C.
[0149] Condition A can correspond to either Equation 23 or Equation 24.
[0150] and Equation 23.
[0151] Equation 24.
[0152] Condition B can correspond to either Equation 25 or Equation 26.
[0153] ; ;and Equation 25.
[0154] and Equation 26.
[0155] Condition C can correspond to either Equation 27 or Equation 28.
[0156] and Equation 27.
[0157] , and Equation 28.
[0158] Note that this applies to any of the definitions above. , and ,but Established, and ,or and And this decomposition is unique.
[0159] If condition A is satisfied, then ,in, and ,or and Therefore, we can conclude that... .therefore, Output ,and Output as needed .
[0160] If condition B is satisfied, then , and (or , and From this, we can conclude that... .therefore, Output And because ,so Output as needed .
[0161] If condition C is satisfied, then , and (or , and From this, we can conclude that... .therefore, Output And because ,therefore Output as needed .
[0162] According to the embodiment, compared to the test corresponding to Equation 7, the improved test has no impact on the security of the algorithm. Regarding the potential leakage of information, like the test corresponding to Equation 7, the improved test may leak information about... The information is there, but the value isn't a secret. Improved testing could also leak information about... Some information, but the test corresponding to Equation 7 ensures that even if we know... The exact value is not disclosed. Any information. Furthermore, because the verification process remains unchanged, the difficulty for potential forgers remains the same.
[0163] In Dilithium, there is an inherent trade-off between the length of the public key and the length and runtime of the signature. The more the public key is compressed (e.g., from a vector...), the better. (reducing more bits) means The amplitude increases, therefore The amplitude increases. Specifically, each additional bit reduced from the coefficient of t will... The distribution of the coefficients is scaled by a factor of two (“2”). This may have two consequences: the test corresponding to Equation 7 may fail with a high probability, and it suggests the vector... The Hamming weight may increase. The improved test only affects the first consequence: the improved test fails with a lower probability, but it hints at the vector... The weights remain unchanged (e.g., the exact same cue vector can be generated through the improved test and iterations of the test corresponding to Equation 7). ).
[0164] Figure 8 This is a flowchart of the control storage device processing 700 according to an embodiment. In some embodiments, Figure 8 One or more processing blocks may be derived from an SSD 7210, an SSD controller 7220, a security module 7230, or a reference above. Figures 1 to 7 Perform any other element described.
[0165] like Figure 8 As shown, in operation 801, process 800 may include obtaining input information that will be signed using a private key associated with the public key. In an embodiment, the input information may correspond to the message described above. Furthermore, the public key may be associated with a public key matrix. and public key vector Correspondingly, and the private key can be matched with the first private key vector described above. Second private key vector correspond.
[0166] like Figure 8 As further shown in the diagram, in operation 802, processing 800 may include calculating a first intermediate vector based on the public key matrix and the mask vector. In an embodiment, the first intermediate vector may be compared with a vector... Correspondingly, and the mask vector can be matched with the mask vector described above. correspond.
[0167] like Figure 8 As further shown, in operation 803, processing 800 may include calculating a challenge value based on the input information and the first intermediate vector. In an embodiment, the challenge value may be the same as the challenge value described above. correspond.
[0168] like Figure 8 As further shown in the diagram, in operation 804, processing 800 may include calculating a signature vector and a hint vector corresponding to the challenge value. In an embodiment, the signature vector may be the same as the signature vector described above. Correspondingly, and the cue vector can be the same as the cue vector described above. correspond.
[0169] like Figure 8As further shown, in operation 805, processing 800 may include calculating a second intermediate vector by multiplying the second private key vector by the challenge value. In an embodiment, the second intermediate vector may be combined with the vector described above. correspond.
[0170] like Figure 8 As further shown, in operation 806, processing 800 may include calculating a third intermediate vector by multiplying the public key vector by the challenge value. In an embodiment, the third intermediate vector may be combined with the vector described above. correspond.
[0171] like Figure 8 As further shown in the diagram, in operation 807, processing 800 may include calculating a verification vector based on a first intermediate vector, a second intermediate vector, and a third intermediate vector. In an embodiment, the verification vector may be related to the vectors described above. correspond.
[0172] like Figure 8 As further shown, in operation 808, processing 800 may include determining whether a hint vector is valid based on multiple differences obtained by subtracting multiple first coefficients included in a third intermediate vector from multiple second coefficients included in the verification vector. In an embodiment, the verification vector may include multiple verification coefficients, each of the multiple verification coefficients may include high-order bits and low-order bits, the order of the high-order bits may be higher than the order of the low-order bits, and the multiple second coefficients may correspond to the low-order bits. In an embodiment, the multiple differences may be related to the values described above. Correspondingly, if the prompt vector is determined to be invalid (NO (N) in operation 808), process 800 can return to operation 801 and continue to the next iteration. If the prompt vector is determined to be valid (Y) in operation 808, process 800 can continue to operation 809.
[0173] like Figure 8 As further shown in step 809, based on determining that the prompt vector is valid, process 800 may include storing the input information and a signature corresponding to the signature vector and challenge value in the memory of a storage device. In an embodiment, the signature may be the signature discussed above. correspond.
[0174] In this embodiment, the public and private keys can be generated according to the CRYSTALS-Dilithium digital signature scheme.
[0175] In an embodiment, the validity of the prompt vector can be determined based on one or more conditions corresponding to Equations 13 to 16.
[0176] although Figure 8 An example box for processing 800 is shown, but in some implementations, it is different. Figure 8Compared to the boxes depicted, processing 800 may include additional boxes, fewer boxes, different boxes, or boxes arranged differently. Additionally or optionally, two or more boxes in processing 800 may be arranged or combined in any order, or may be executed in parallel.
[0177] Figure 9 This is a diagram of a data center 3000 that utilizes a memory device according to an embodiment.
[0178] Reference Figure 9 Data center 3000 can be a facility that collects various types of data and provides services, and is referred to as a data storage center. Data center 3000 can be a system for operating search engines and databases, and can be a computing system used by a company (such as a bank) or government agency. Data center 3000 may include application servers 3100 to 3100n (e.g., application server 1 to application server N) and storage servers 3200 to 3200m (e.g., storage server 1 to storage server M). The number of application servers 3100 to 3100n and the number of storage servers 3200 to 3200m may be selected differently depending on the embodiment. The number of application servers 3100 to 3100n may differ from the number of storage servers 3200 to 3200m.
[0179] Application server 3100 or storage server 3200 may include at least one of processors 3110 and 3210, and memory 3120 and memory 3220. Storage server 3200 will now be described as an example. Processor 3210 may control all operations of storage server 3200, access memory 3220, and execute instructions and / or data loaded in memory 3220. Memory 3220 may be dual data rate synchronous DRAM (DDR SDRAM), high bandwidth memory (HBM), hybrid memory cube (HMC), dual in-line memory module (DIMM), Optane DIMM, and / or non-volatile DIMM (NVMDIMM). In some embodiments, the number of processors 3210 and the number of memory 3220 included in storage server 3200 may be selected differently. In embodiments, processors 3210 and memory 3220 may provide a processor-memory pair. In embodiments, the number of processors 3210 may differ from the number of memory 3220. Processor 3210 may include a single-core processor or a multi-core processor. The above description of storage server 3200 can be similarly applied to application server 3100. In some embodiments, application server 3100 may not include storage device 3150. Storage server 3200 may include at least one storage device 3250. The number of storage devices 3250 included in storage server 3200 may be selected differently depending on the embodiment.
[0180] Application servers 3100 to 3100n can communicate with storage servers 3200 to 3200m via network 3300. Network 3300 can be implemented using Fibre Channel (FC) or Ethernet. In this case, FC can be the medium for relatively high-speed data transmission, and an optical switch with high performance and high availability can be used. Depending on the access method of network 3300, storage servers 3200 to 3200m can be provided as file storage devices, block storage devices, or object storage devices.
[0181] In this embodiment, network 3300 may be a storage-specific network (such as a storage area network (SAN)). For example, the SAN may be an FC-SAN that uses an FC network and is implemented according to the FC protocol (FCP). As another example, the SAN may be an IP-SAN that uses a Transmission Control Protocol (TCP) / Internet Protocol (IP) network and is implemented according to a SCSI or Internet SCSI (iSCSI) protocol via TCP / IP. In another embodiment, network 3300 may be a general-purpose network (such as a TCP / IP network). For example, network 3300 may be implemented according to protocols such as FC over Ethernet (FCoE), Network Attached Storage (NAS), and NVMe over a network (NVMe-oF).
[0182] The following text will primarily describe application server 3100 and storage server 3200. The description of application server 3100 can be applied to another application server 3100n, and the description of storage server 3200 can be applied to another storage server 3200m.
[0183] Application server 3100 can store data requested by users or clients in one of storage servers 3200 to 3200m via network 3300. Furthermore, application server 3100 can retrieve data requested by users or clients from one of storage servers 3200 to 3200m via network 3300. For example, application server 3100 can be implemented as a web server or a database management system (DBMS).
[0184] Application server 3100 can access memory 3120n or storage device 3150n included in another application server 3100n via network 3300. Optionally, application server 3100 can access memory 3220 to 3220m or storage device 3250 to 3250m included in storage servers 3200 to 3200m via network 3300. Therefore, application server 3100 can perform various operations on data stored in application servers 3100 to 3100n and / or storage servers 3200 to 3200m. For example, application server 3100 can execute instructions for moving or copying data between application servers 3100 to 3100n and / or storage servers 3200 to 3200m. In this scenario, data can be moved directly from storage devices 3250 to 3250m of storage servers 3200 to 3200m to storage devices 3220 to 3220m of application servers 3100 to 3100n, or via storage devices 3250 to 3250m of storage servers 3200 to 3200m. Data moved via network 3300 may be encrypted for security or privacy purposes.
[0185] Storage server 3200 will now be described as an example. Interface 3254 provides physical connectivity between processor 3210 and controller (CTRL) 3251, and between network interconnect (NIC) 3240 and controller 3251. For example, interface 3254 can be implemented using a direct-attach storage (DAS) scheme, in which storage device 3250 is directly connected to a dedicated cable. For example, interface 3254 can be implemented using various interface schemes, such as ATA, SATA, e-SATA, SCSI, SAS, PCI, PCIe, NVMe, IEEE 1394, USB interface, SD card interface, MMC interface, eMMC interface, UFS interface, eUFS interface, and / or CF card interface. Similarly, storage server 3200m may include interface 3254m.
[0186] Storage server 3200 may also include switch 3230 and NIC (Network Interconnect) 3240. Switch 3230 may selectively connect processor 3210 to storage device 3250, or selectively connect NIC 3240 to storage device 3250 via control of processor 3210. In embodiments, application servers 3100 to 3100n and storage servers 3200 to 3200m may communicate via network 3300 through switches 3130 to 3130n and 3230 to 3230m and NICs 3140 to 3140n and 3240 to 3240m.
[0187] In an embodiment, NIC 3240 may include a network interface card and a network adapter. NIC 3240 can connect to network 3300 via a wired interface, a wireless interface, a Bluetooth interface, or an optical interface. NIC 3240 may include internal memory, a digital signal processor (DSP), and a host bus interface, and can connect to processor 3210 and / or switch 3230 via the host bus interface. The host bus interface may be implemented as one of the above examples of interface 3254. In an embodiment, NIC 3240 may be integrated with at least one of processor 3210, switch 3230, and storage device 3250.
[0188] In storage servers 3200 to 3200m or application servers 3100 to 3100n, the processor can send commands to storage devices 3150 to 3150n and 3250 to 3250m or memories 3120 to 3120n and 3220 to 3220m, and program or retrieve data. In this case, the data may be data whose errors have been corrected by the ECC engine. The data may be data that has undergone Data Bus Inversion (DBI) or Data Masking (DM) operations, and may include Cyclic Redundancy Check (CRC) information. The data may be encrypted for security or privacy.
[0189] Storage devices 3150 to 3150n and 3250 to 3250m can send control signals and command / address signals to NAND flash memory devices 3252 to 3252m in response to a read command received from the processor. Therefore, when reading data from NAND flash memory devices 3252 to 3252m, the read enable (RE) signal can be input as a data output control signal, and thus, data can be output to the DQ bus. The RE signal can be used to generate the data strobe signal DQS. Command and address signals can be latched in the page buffer based on the rising or falling edge of the write enable (WE) signal.
[0190] Controllers 3251 to 3251m can control all operations of storage devices 3250 to 3250m respectively. In an embodiment, controller 3251 may include SRAM. Controller 3251 can write data to NAND flash memory device 3252 in response to a write command, or read data from NAND flash memory device 3252 in response to a read command. For example, write and / or read commands may be provided from processor 3210 of storage server 3200, processor 3210m of another storage server 3200m, or processors 3110 and 3110n of application servers 3100 and 3100n. DRAMs 3253 to 3253m can temporarily store (or buffer) data to be written to or read from NAND flash memory devices 3252 to 3252m respectively. In addition, DRAM 3253 can store metadata. Here, metadata may be user data or data generated by controller 3251 for managing NAND flash memory device 3252. Storage device 3250 may include a security element (SE) for security or privacy.
[0191] As is common in the art, embodiments are described in terms of functional blocks, units, and / or modules and illustrated in the accompanying drawings. Those skilled in the art will understand that these blocks, units, and / or modules are physically implemented by electronic (or optical) circuits (such as logic circuits, discrete components, microprocessors, hardwired circuits, memory elements, and wiring connections, etc.) formed using semiconductor-based manufacturing techniques or other manufacturing techniques. When blocks, units, and / or modules are implemented using microprocessors or the like, they can be programmed with software (e.g., microcode) to perform the various functions discussed herein, and can be optionally driven by firmware and / or software. Optionally, each block, unit, and / or module can be implemented by dedicated hardware, or can be implemented as a combination of dedicated hardware performing some functions and a processor (e.g., one or more programmed microprocessors and associated circuitry) performing other functions. Furthermore, without departing from this disclosure, each block, unit, and / or module of the embodiments may be physically divided into two or more interacting and discrete blocks, units, and / or modules. Furthermore, without departing from this disclosure, the blocks, units, and / or modules of the embodiments may be physically combined into more complex blocks, units, and / or modules.
[0192] The various operations of the methods described above can be performed by any suitable device capable of performing the operations (such as one or more various hardware and / or software components, circuits and / or one or more modules).
[0193] The software may include an ordered list of executable instructions for implementing logical functions and may be implemented in any “processor-readable medium” for use by or in conjunction with an instruction execution system, device or apparatus (such as a single-core processor or a multi-core processor or a system containing a processor).
[0194] The blocks or steps of methods, algorithms, and functions described in conjunction with the embodiments disclosed herein may be implemented directly in hardware, as software modules executed by a processor, or a combination of both. If implemented in software, the functions may be stored as one or more instructions or code on or transmitted through a tangible, non-transitory computer-readable medium. The software modules may reside in random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art.
[0195] The foregoing is a description of embodiments and should not be construed as limiting the embodiments. Although some embodiments have been described, those skilled in the art will readily understand that many modifications are possible in the embodiments without substantially departing from this disclosure.
Claims
1. A method for controlling a storage device, the method comprising: Obtain input information that will be signed using the private key associated with the public key, wherein the public key corresponds to a public key matrix and a public key vector, and wherein the private key corresponds to a first private key vector and a second private key vector; The first intermediate vector is calculated based on the public key matrix and the mask vector; The challenge value is calculated based on the input information and the first intermediate vector. Calculate the signature vector and hint vector corresponding to the challenge value; The second intermediate vector is calculated by multiplying the second private key vector by the challenge value; The third intermediate vector is calculated by multiplying the public key vector by the challenge value; The verification vector is calculated based on the first intermediate vector, the second intermediate vector, and the third intermediate vector. The validity of the cue vector is determined based on multiple differences obtained by subtracting multiple first coefficients included in a third intermediate vector from multiple second coefficients included in the verification vector; and Based on the determination that the prompt vector is valid, the input information and the signature corresponding to the signature vector and challenge value are stored in the memory of the storage device.
2. The method according to claim 1, wherein, The public and private keys are generated according to the Algebraic Lattice Cryptography Suite - Dilithium Digital Signature Scheme.
3. The method according to claim 1, wherein, The validation vector includes multiple validation coefficients, and Each of the plurality of verification coefficients includes a high-order bit and a low-order bit, wherein the order of the high-order bit is higher than the order of the low-order bit, and Among them, the plurality of second coefficients correspond to the lower bits.
4. The method according to claim 3, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: ,and , in, Indicates the index value. This represents the least significant bit of the verification coefficient corresponding to the index value among the plurality of verification coefficients. This represents the difference among the plurality of differences that corresponds to the index value, and This represents the threshold.
5. The method according to claim 3, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: ,and , in, Indicates the index value. This represents the least significant bit of the verification coefficient corresponding to the index value among the plurality of verification coefficients. This represents the difference among the plurality of differences that corresponds to the index value, and This represents the threshold.
6. The method according to claim 3, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: , ,and , in, Indicates the index value. and These represent the high and low bits of the verification coefficient corresponding to the index value among the plurality of verification coefficients, respectively. This represents the difference among the plurality of differences that corresponds to the index value. Represents the threshold, and Represents the rounding factor associated with the digital signature scheme corresponding to the public and private keys.
7. The method according to claim 3, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: , ,and , in, Indicates the index value. and These represent the high and low bits of the verification coefficient corresponding to the index value among the plurality of verification coefficients, respectively. This represents the difference among the plurality of differences that corresponds to the index value, and Represents the threshold, and Represents the rounding factor associated with the digital signature scheme corresponding to the public and private keys.
8. The method according to any one of claims 1 to 7, further comprising: Based on the determination that the prompt vector is invalid, a new challenge value corresponding to the input information is generated; Calculate a new signature vector and a new hint vector based on the new challenge value; Determine if the new cue vector is valid; as well as Based on the determination that the new prompt vector is valid, the input information and the new signature corresponding to the new signature vector and the new challenge value are stored in the memory of the storage device.
9. A storage device, comprising: Memory; as well as Storage controller, including security module, The storage controller is configured as follows: Obtain the input information that will be signed using the private key associated with the public key, wherein the public key corresponds to a public key matrix and a public key vector, and wherein the private key corresponds to a first private key vector and a second private key vector. The first intermediate vector is calculated based on the public key matrix and the mask vector. The challenge value is calculated based on the input information and the first intermediate vector. Calculate the signature vector and hint vector corresponding to the challenge value. The second intermediate vector is calculated by multiplying the second private key vector by the challenge value. The third intermediate vector is calculated by multiplying the public key vector by the challenge value. The verification vector is calculated based on the first intermediate vector, the second intermediate vector, and the third intermediate vector. The validity of the cue vector is determined by subtracting multiple first coefficients included in a third intermediate vector from multiple second coefficients included in the validation vector. Based on the determination that the prompt vector is valid, the input information and the signature corresponding to the signature vector and challenge value are stored in memory.
10. The storage device according to claim 9, wherein, The public and private keys are generated according to the Algebraic Lattice Cryptography Suite - Dilithium Digital Signature Scheme.
11. The storage device according to claim 9, wherein, The validation vector includes multiple validation coefficients, and Each of the plurality of verification coefficients includes a high-order bit and a low-order bit, wherein the order of the high-order bit is higher than the order of the low-order bit, and Among them, the plurality of second coefficients correspond to the lower bits.
12. The storage device according to claim 11, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: ,and , in, Indicates the index value. This represents the least significant bit of the verification coefficient corresponding to the index value among the plurality of verification coefficients. This represents the difference among the plurality of differences that corresponds to the index value, and This represents the threshold.
13. The storage device of claim 11, wherein the hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: ,and , in, Indicates the index value. This represents the least significant bit of the verification coefficient corresponding to the index value among the plurality of verification coefficients. This represents the difference among the plurality of differences that corresponds to the index value, and This represents the threshold.
14. The storage device according to claim 11, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: , ,and , in, Indicates the index value. and These represent the high and low bits of the verification coefficient corresponding to the index value among the plurality of verification coefficients, respectively. This represents the difference among the plurality of differences that corresponds to the index value. Represents the threshold, and Represents the rounding factor associated with the digital signature scheme corresponding to the public and private keys.
15. The storage device according to claim 11, wherein, The hint vector is determined to be valid based on the following condition being met for each of the plurality of second coefficients: , ,and , in, Indicates the index value. and These represent the high and low bits of the verification coefficient corresponding to the index value among the plurality of verification coefficients, respectively. This represents the difference among the plurality of differences that corresponds to the index value, and Represents the threshold, and Represents the rounding factor associated with the digital signature scheme corresponding to the public and private keys.
16. The storage device according to any one of claims 9 to 15, wherein, The storage controller is also configured as follows: Based on the determination that the prompt vector is invalid, a new challenge value corresponding to the input information is generated; Calculate a new signature vector and a new hint vector based on the new challenge value; Determine if the new cue vector is valid; and Based on the determination that the new prompt vector is valid, the input information and the new signature corresponding to the new signature vector and the new challenge value are stored in memory.
17. A storage system, comprising: Main unit; as well as Storage device, including memory and storage controller, wherein the storage controller includes a security module. The storage controller is configured as follows: Obtain the input information that will be signed using the private key associated with the public key, wherein the public key corresponds to a public key matrix and a public key vector, and wherein the private key corresponds to a first private key vector and a second private key vector. The first intermediate vector is calculated based on the public key matrix and the mask vector. The challenge value is calculated based on the input information and the first intermediate vector. Calculate the signature vector and hint vector corresponding to the challenge value. The second intermediate vector is calculated by multiplying the second private key vector by the challenge value. The third intermediate vector is calculated by multiplying the public key vector by the challenge value. The verification vector is calculated based on the first intermediate vector, the second intermediate vector, and the third intermediate vector. The validity of the cue vector is determined by subtracting multiple first coefficients included in a third intermediate vector from multiple second coefficients included in the validation vector. Based on the determination that the prompt vector is valid, the input information and the signature corresponding to the signature vector and challenge value are stored in memory.
18. The storage system according to claim 17, wherein, The public and private keys are generated using the Algebraic Lattice Cryptography Suite - Dilithium digital signature scheme. The verification vector includes multiple verification coefficients. Each of the plurality of verification coefficients includes a high-order bit and a low-order bit, wherein the order of the high-order bit is higher than the order of the low-order bit, and Among them, the plurality of second coefficients correspond to the lower bits.
19. The storage system according to claim 18, wherein, The hint vector is determined to be valid based on the fact that each of the plurality of second coefficients satisfies at least one of the first and second conditions. The first condition is represented as follows: ,and , The second condition is represented as follows: ,and , in, Indicates the index value. This represents the least significant bit of the verification coefficient corresponding to the index value among the plurality of verification coefficients. This represents the difference among the plurality of differences that corresponds to the index value, and This represents the threshold.
20. The storage system according to claim 18, wherein, The hint vector is determined to be valid based on the fact that each of the plurality of second coefficients satisfies at least one of the first and second conditions. The first condition is represented as follows: , ,and , The second condition is represented as follows: , ,and , in, Indicates the index value. and These represent the high and low bits of the verification coefficient corresponding to the index value among the plurality of verification coefficients, respectively. This represents the difference among the plurality of differences that corresponds to the index value, and Represents the threshold, and This represents the rounding factor associated with the Algebraic Lattice Cryptography Suite - Dilithium digital signature scheme.
Citation Information
Patent Citations
Three-Dimensional Semiconductor Memory Devices And Methods Of Fabricating The Same
US20110233648A1
Vertical-type non-volatile memory devices
US7679133B2
Non-volatile memory device, erasing method thereof, and memory system including the same
US8553466B2
Nonvolatile memory device, operating method thereof and memory system including the same
US8559235B2
Nonvolatile memory devices, channel boosting methods thereof, programming methods thereof, and memory systems including the same
US8654587B2
