Semiconductor memory device, memory system and method for performing secure operations for a semiconductor memory device

The semiconductor memory device addresses the trade-off between data security and processing efficiency by decrypting and encrypting data on-chip, ensuring efficient data processing without compromising security.

DE102018123493B4Active Publication Date: 2024-09-26SAMSUNG ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
DE102018123493
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2017-12-21
Filing Date
2018-09-25
Publication Date
2024-09-26
Estimated Expiration
2038-09-25

AI Technical Summary

Technical Problem

Existing semiconductor memory systems face a trade-off between data security and processing efficiency, where implementing on-chip memory for data protection increases cost and size, while external storage of encrypted data degrades processing efficiency.

Method used

A semiconductor memory device with an on-chip processor and memory security controller that decrypts and encrypts data within the chip, using identical security keys for enhanced data processing efficiency without compromising security.

Benefits of technology

The solution enhances data processing efficiency by performing on-chip operations on decrypted data while maintaining robust security through identical encryption and decryption processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A semiconductor memory device (400) configured to be controlled by an external memory controller (300), the semiconductor memory device (400) comprising: a memory core (MCR) having a plurality of memory cells; an on-chip processor (OCP) configured to perform on-chip data processing; and a memory security controller (200) configured to decrypt encrypted data provided by the memory core (MCR) or the memory controller (300) and to provide the decrypted data to the on-chip processor (OCP), and configured to encrypt result data from the on-chip processor (OCP) to provide result-encrypted data to the memory core (MCR) or the memory controller (300).
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND 1. Technical field

[0001] Example embodiments relate generally to semiconductor integrated circuits, and more particularly to a semiconductor memory device, a memory system, and a memory module. 2. Discussion of the state of the art

[0002] In a system for processing or storing data, information security is a very important consideration. For example, an on-chip memory may be used to protect important information or data from external attacks. The probability of exposure of important data can be reduced by storing the data in the on-chip memory formed in a host processor. However, the size and cost may increase to implement a processor having an on-chip memory. As an alternative solution, important data may be encrypted, and the encrypted data may be stored in a memory external to the host device. The external memory cannot grasp the contents of the encrypted data, and thus, the efficiency of processing the encrypted data stored in the external memory may be degraded.

[0003] US 2017 / 0201503 A1 discloses the following: A processing system includes a processing module having a first interface connectable to an interconnect. The first interface includes a first cryptographic engine for encrypting a representation of memory data, a memory operation, and a memory address using a first key and a first feedback-based cryptographic process for generating first encrypted data and an encrypted memory address. A memory module includes a second interface connected to the interconnect.The second interface includes a second cryptographic engine for decrypting the first encrypted data and the encrypted memory address using a second key and a second feedback-based cryptographic process to generate a copy of the memory data representation and a copy of the memory address. The second interface further serves to store the copy of the memory data representation based on the copy of the memory address at a memory location of the memory core. SUMMARY

[0004] The invention is defined by the appended claims.

[0005] It is an object of the invention to provide a memory system, a semiconductor memory device and a method for operating the semiconductor memory device which can increase data processing efficiency without deteriorating data security.

[0006] Some example embodiments may provide a semiconductor memory device capable of increasing data processing efficiency without degrading data security.

[0007] Some example embodiments may provide a memory system and a memory module including a semiconductor memory device capable of increasing data processing efficiency without degrading data security.

[0008] According to exemplary embodiments, a semiconductor memory device includes a memory core having a plurality of memory cells, an on-chip processor configured to perform on-chip data processing, and a memory security controller configured to decrypt encrypted data provided by the memory core or by a memory controller and to provide the decrypted data to the on-chip processor, and configured to encrypt result data from the on-chip processor to provide result-encrypted data to the memory core or the memory controller.

[0009] According to exemplary embodiments, a semiconductor memory device includes a buffer semiconductor die, a plurality of semiconductor memory dies stacked with the buffer semiconductor die, silicon vias electrically connecting the buffer semiconductor die and the plurality of memory semiconductor dies, an on-chip processor on one of the memory semiconductor dies configured to perform on-chip data processing on input data to provide result data, and a security controller configured to decrypt encrypted data to provide decrypted data as the input data to the on-chip processor and to encrypt the result data from the on-chip processor to provide re-encrypted data.

[0010] A method of performing secure operations for a semiconductor memory device having at least a first memory chip having a memory core including a plurality of memory cells, the method comprising: decrypting, at the first memory chip, encrypted data provided by the memory core or by a memory controller; performing an on-chip processing operation by an on-chip processor of the first memory chip by receiving the decrypted data and outputting result data; encrypting, at the first memory chip, the result data from the on-chip processor to provide result-encrypted data for the memory core or the memory controller.

[0011] The semiconductor memory device, the memory system, and the method according to exemplary embodiments can increase data processing efficiency without degrading data security by decrypting the encrypted data in the semiconductor memory device to perform on-chip management operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Exemplary embodiments of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings. Fig. 1 is a block diagram illustrating a memory system according to example embodiments. Fig. 2 is a diagram illustrating data flow in a storage system according to example embodiments. Fig. 3 is a block diagram illustrating a semiconductor memory device according to example embodiments. Fig. Figure 4 is a diagram showing an example configuration of security engines used in the security controllers of the Fig. 2 are illustrated. Fig. 5 to 9 are flowcharts illustrating operations of a semiconductor memory device according to example embodiments. Fig. 10 to 13 are diagrams for describing exemplary embodiments for generating a security key in a storage system according to exemplary embodiments. Fig. 14 is a diagram illustrating a key register according to example embodiments. Fig. Figure 15 is a diagram illustrating an example configuration of security engines implemented in the security controllers of the Fig. 2 are included. Fig. 16 is a diagram illustrating an example embodiment of a memory security controller included in a semiconductor memory device according to example embodiments. Fig. 17 is an exploded perspective view of a system including a stacked memory device according to example embodiments. Fig. 18 is an exploded perspective view of a stacked memory device according to example embodiments. Fig. 19 and Fig. 20 are diagrams illustrating packaging structures of a stacked memory device according to example embodiments. Fig. 21 is a diagram illustrating an exemplary structure of a high-bandwidth memory (HBM). Fig. 22, Fig. 23 and Fig. 24 are diagrams illustrating a memory system according to example embodiments. Fig. 25 is a block diagram illustrating a computing system according to example embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0013] Various exemplary embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some exemplary embodiments are shown. In the figures, like numerals refer to like elements throughout. Repetitive descriptions may be omitted.

[0014] Fig. 1 is a block diagram illustrating a memory system according to example embodiments.

[0015] Referring to Fig. 1, a memory system 10 includes a memory controller 300 and a semiconductor memory device 400.

[0016] The memory controller 300 can control the overall operation of the semiconductor memory device 400 via a channel 20 or a coupling device. The memory controller 300 can control overall data exchange between an external host device and the semiconductor memory device 400. For example, the memory controller 300 can write data to the semiconductor memory device 400 or read data from the semiconductor memory device 400 in response to a request from the host device. The memory controller 300 can issue an operation command CMD and an address ADD to the semiconductor memory device 400 to control the semiconductor memory device 400. The channel 20 can include a data bus for transmitting data and a control bus for transmitting the command CMD and the address ADD.

[0017] The memory controller 300 may include a host security controller HSCON 100. The host security controller 100 may encrypt write data to be stored in the semiconductor memory device 400 to generate encrypted data and decrypt the encrypted data read from the semiconductor memory device 400.

[0018] The semiconductor memory device 400 may include a memory core MCR, a control circuit CTRL, an on-chip processor OCP, and a memory security controller MSCON 200. As described herein, a "semiconductor memory device" refers to a semiconductor chip (e.g., integrated circuit formed on a die) or a semiconductor package comprising one or more semiconductor chips stacked on a package substrate. The term "on-chip processor" described herein refers to a processor included in a semiconductor chip or semiconductor package for performing processing operations on data stored in or written to the semiconductor chip or semiconductor package.An electronic device as described herein may refer to such a semiconductor memory device or to a device comprising such a semiconductor memory device, such as a memory module or a computer system. The memory core MCR may comprise a plurality of memory cells for storing data. The memory security controller 200 may decrypt the encrypted data provided by the memory controller 300 or the memory core MCR to generate and provide decrypted data to the on-chip processor OCP. The on-chip processor OCP may perform processing-in-memory (PIM) on the encrypted data to generate and provide PIM result data.For example, processing in memory refers to performing one or more operations on data rather than simply storing or buffering the data, and may result in transformed or converted data. Processing in memory may be referred to as on-chip data processing. The memory security controller 200 may in turn encrypt the resultant data from the on-chip processor OCP to generate and provide re-encrypted data to the memory controller 300 or the memory core MCR. The memory security controller 200 may perform encryption and decryption identically to the encryption and decryption performed by the host security controller 100.

[0019] Fig. 2 is a diagram illustrating data flow in a storage system according to example embodiments.

[0020] Fig. 2 illustrates a host security controller 100 included in the memory controller 300, and a memory security controller 200, an on-chip processor OCP, and a memory core MCR included in the semiconductor memory device 400.

[0021] The host security controller 100 may include a first key provider KPRV1 and a first security engine ENG1. The first key provider KPRV1 may provide a first security key KY1, and the first security engine ENG1 may perform encryption and decryption on first data DT1 based on the first security key KY1 to generate first encrypted data EDT1. The first encrypted data EDT1 may be transmitted to the semiconductor memory device 400 as write data. In addition, the first security engine ENG1 may decrypt second encrypted data EDT2 transmitted from the semiconductor memory device 400 based on the first security key KY1 to generate second data DT2. The first data DT1 and the second data DT2 are either unencrypted data or encrypted data.

[0022] The memory security controller 200 may include a second key provider KPRV2 and a second security engine ENG2. The second key provider KPRV2 may provide a second security key KY2 identical to the first security key KY1, and the second security engine ENG2 may decrypt the first encrypted data EDT1 provided by the host security controller 100 or the third encrypted data EDT3 provided by the memory core MCR based on the second security key KY2 to generate third data DT3. In addition, the memory security controller 200 may encrypt fourth data DT4 corresponding to the result data of the on-chip processor OCP based on the second security key KY2 to provide the second encrypted data EDT2 to the memory controller 300 or the fourth encrypted data EDT4 to the memory core MCR.The third data DT3 and the fourth data DT4 are unencrypted data or encrypted data.

[0023] The first encrypted data EDT1, which corresponds to write data, and the second encrypted data EDT2, which corresponds to read data, can be transmitted via a data bus 21. The data bus 21 can be in the channel 20 in Fig. 1 must be included.

[0024] To identify the first security key KY1 and the second security key KY2, security information SINF may be transmitted between the memory controller 300 and the semiconductor memory device 400. In some exemplary embodiments, as shown in Fig. 2, the security information SINF may be transmitted via a sideband channel 30 directly connecting the first key provider KPRV1 and the second key provider KPRV2. In other exemplary embodiments, the security information SINF may be transmitted via channel 20 in Fig. 1. According to exemplary embodiments, the security information SINF may be transmitted from the memory controller 300 to the semiconductor memory device 400 or from the semiconductor memory device 400 to the memory controller 300. The security information SINF may be transmitted during a boot process, a power-up process, or normal operation of the memory system 10. As will be described below, the security information SINF may include a security key, a seed value, and other parameters.

[0025] The first security engine ENG1 and the second security engine ENG2 can perform the same encryption and decryption based on the same security key. Each of the first security engine ENG1 and the second security engine ENG2 can be implemented as hardware, software, or a combination of hardware and software, for example, performing encryption and decryption based on the Advanced Encryption Standard (AES).

[0026] As such, the semiconductor memory device 400 and the memory system 10 according to exemplary embodiments can increase data processing efficiency without degrading data security by decrypting the encrypted data in the semiconductor memory device 400 to perform the PIM.

[0027] Fig. 3 is a block diagram illustrating a semiconductor memory device according to example embodiments.

[0028] Although a dynamic random access memory (DRAM) is described as an example of the semiconductor memory device, the semiconductor memory device may be any of a variety of memory cell architectures, including, but not limited to, volatile memory architectures such as a DRAM, a thyristor random access memory (TRAM), and a static random access memory (SRAM), or non-volatile memory architectures such as a read-only memory (ROM), flash memory, a phase-change random access memory (PRAM), a ferroelectric random access memory (FRAM), a magnetic random access memory (MRAM), and the like.

[0029] Referring to Fig. 3, an integrated memory circuit 400 includes a control logic 410, an address register 420, a bank control logic 430, a row address multiplexer 440, a refresh counter 445, a column address latch 450, a row decoder 460, a column decoder 470, a memory cell array 480, a sense amplifier unit 485, an input / output (I / O) gating circuit 490, a data input / output (I / O) buffer 495, an on-chip processor OCP, and a memory security controller MSCON.

[0030] The memory cell array 480 may include a plurality of bank arrays 480a-480h. The row decoder may include a plurality of bank row decoders 460a-460h, each coupled to the bank arrays 480a-480h, the column decoder 470 may include a plurality of bank column decoders 470a-470h, each coupled to the bank arrays 480a-480h, and the sense amplifier unit 485 may include a plurality of bank sense amplifiers 485a-485h, each coupled to the bank arrays 480a-480h.

[0031] Address register 420 may receive an address ADDR comprising a bank address BANK_ADDR, a row address ROW_ADDR, and a column address COL_ADDR from the memory controller. Address register 420 may provide the received bank address BANK_ADDR to bank control logic 430, may provide the received row address ROW_ADDR to row address multiplexer 440, and may provide the received column address COL_ADDR to column address latch 450.

[0032] Bank control logic 430 may generate bank control signals in response to the bank address BANK_ADDR. One of the bank row decoders 460a-460h corresponding to the bank address BANK_ADDR may be activated in response to the bank control signals, and one of the bank column decoders 470a-470h corresponding to the bank address BANK_ADDR may be activated in response to the bank control signals.

[0033] Row address multiplexer 440 may receive the row address ROW_ADDR from address register 420 and may receive a refresh row address REF_ADDR from refresh counter 450. Row address multiplexer 440 may selectively output the row address ROW_ADDR or the refresh row address REF_ADDR as a row address RA. The row address RA output by row address multiplexer 440 may be applied to bank row decoders 460a-460h.

[0034] The activated one of the bank row decoders 460a-460h may decode the row address RA output from the row address multiplexer 440 and may activate a word line corresponding to the row address RA. For example, the activated bank row decoder may apply a word line drive voltage to the word line corresponding to the row address RA.

[0035] Column address latch 450 may receive the column address COL_ADDR from address register 420 and may temporarily store the received column address COL_ADDR. In some embodiments, in a burst mode, column address latch 450 may generate column addresses that increment from the received column address COL_ADDR. Column address latch 450 may apply the temporarily stored or generated column address to bank column decoders 470a-470h.

[0036] The activated one of the bank column decoders 470a-470h may decode the column address COL_ADDR output from the column address latch 450 and may control the input / output gating circuit 490 to output data corresponding to the column address COL_ADDR.

[0037] The I / O gating circuit 490 may include circuitry for gating input / output data. The I / O gating circuit 490 may further include read data latches for storing data output from the bank arrays 480a-480h and write drivers for writing data to the bank arrays 480a-480h.

[0038] Data to be read from one bank array of bank arrays 480a-480h may be sensed by a sense amplifier 485 coupled to the one bank array from which the data is to be read and may be stored in the read data latches. The data stored in the read data latches may be provided to the memory controller via the data I / O buffer 495. Data DQ to be written to one bank array of bank arrays 480a-480h may be provided to the data I / O buffer 495 by the memory controller. The write driver may write the data DQ to one bank array of bank arrays 480a-480h.

[0039] The control logic 410 may control operations of the integrated memory circuit 400. For example, the control logic 410 may generate control signals for the integrated memory circuit 400 to perform a write operation or a read operation. The control logic 410 may include a command decoder 411 that decodes a command CMD received from the memory controller and a mode register set 412 that sets an operating mode of the semiconductor memory device 400. For example, the command decoder 411 may generate the control signals corresponding to the command CMD by decoding a write enable signal, a row address strobe signal, a column address strobe signal, a chip select signal, etc.

[0040] The memory security controller MSCON can decrypt encrypted data EDT provided by the memory controller 300 or the memory core MCR (e.g., bank arrays) to generate and provide decrypted data DDT to the on-chip processor OCP. The on-chip processor OCP can perform processing-in-memory (PIM) on the encrypted data DDT to generate and provide result data RDT of the PIM. The memory security controller MSCON can, in turn, encrypt the result data RDT from the on-chip processor OCP to generate and provide result-encrypted data REDT to the memory controller 300 or the memory core MCR.In some embodiments, the resultant encrypted data REDT may be encrypted using the same key as used when encrypting data to form the encrypted data EDT, and thus the resultant encrypted data REDT may be referred to in this case as re-encrypted data.

[0041] Fig. Figure 4 is a diagram illustrating an example configuration of security engines used in the security controllers of the Fig. 2 are included. An on-chip processor OCP and a memory core MCR are also included in Fig. 4 illustrates.

[0042] Referring to Fig. 4, a first security engine 101 of the host security controller 100 may include a first encryptor ENC1 and a first decryptor EDC1, and a second security engine 201 of the memory security controller 200 may include a second encryptor ENC2, a second decryptor DEC2, a first selector MX1, a second selector MX2, a third selector MX3, and a fourth selector MX4. The encryptors and decryptors described herein may be encryption or decryption circuits, which may include circuits configured to encrypt or decrypt data, and the selectors may each be a selection circuit, which may include circuitry configured to select between two or more inputs or outputs.

[0043] The first encryption key ENC1 encrypts first data DT1 based on a first security key KY1 to generate first encrypted data EDT1 and provides the first encrypted data EDT1 to a semiconductor memory device via a first data path 25. The first selector MX1 ​​selects one of the first encrypted data EDT1 and the second encrypted data EDT2 in response to a first selection signal SEL1 to provide third encrypted data EDT3 to the memory core MCR. The second selector MX2 selects one of the first encrypted data EDT1 and the seventh encrypted data EDT7 in response to a second selection signal SEL2 to provide fourth encrypted data EDT4. The second decryptor DEC2 decrypts the fourth encrypted data EDT4 based on the second security key KY2 to generate second data DT2 corresponding to decrypted data.The on-chip processor OCP performs PIM on the second data DT2 to generate third data DT3 corresponding to result data. The second encryptor ENC2 encrypts the third data DT3 in turn based on the second security key KY2 to generate fifth encrypted data EDT5 corresponding to result-encrypted data. The third selector MX3 provides the fifth encrypted data EDT5 as the second encrypted data EDT2 to the first selector MX1 ​​or as the eighth data EDT8 to a memory controller via a second path 26 in response to a third selection signal SEL3. The fourth selector MX4 provides sixth encrypted data EDT6 from the memory core MCR as the seventh encrypted data EDT7 to the second selector MX2 or as the eighth data EDT8 to the memory controller via the second path 26 in response to a fourth selection signal SEL4.The first decryptor DEC1 decrypts the eighth data EDT8 based on the first security key KY1 to generate fourth data DT4.

[0044] The first to fourth selection signals SEL1-SEL4 can be converted by the control logic 410 into Fig. 3, for example, based on the command from the memory controller. If a bidirectional data bus connects the memory controller and the semiconductor memory device, the first data bus and the second data bus 26 may be the same bus.

[0045] As is traditional in the field of the disclosed technology, features and embodiments are described and illustrated in the drawings in units of functional blocks, units, and / or modules. Those skilled in the art will appreciate 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, wire bonds, and the like, which may be formed using semiconductor-based manufacturing techniques or other manufacturing technologies.In the event that the blocks, units, and / or modules are implemented by microprocessors or the like, they may be programmed using software (e.g., microcode) to perform various functions discussed herein and may optionally be operated by firmware and / or software. Alternatively, each block, unit, and / or module may be implemented by dedicated hardware or as a combination of dedicated hardware to perform some functions and a processor (e.g., one or more programmed microprocessors and associated circuitry) to perform other functions. Likewise, each block, unit, and / or module of the embodiments may be physically separated into two or more cooperating and discrete blocks, units, and / or modules without departing from the scope of the inventive concepts of the appended claims.Furthermore, the blocks, units, and / or modules of the embodiments may be physically combined into more complex blocks, units, and / or modules without departing from the scope of the inventive concepts of the appended claims. Certain blocks are referred to herein as engines.

[0046] Hereinafter, exemplary operations of a storage system that supports the configuration of the Fig. 4, below with reference to the Fig. 5 to 9 are described.

[0047] Fig. 5 is a flowchart illustrating a normal write operation of a semiconductor memory device according to example embodiments.

[0048] With reference to the Fig. 4 and Fig. 5, the memory controller transmits a normal write command WR with a destination address TADD corresponding to a write address to the semiconductor memory device (S110). In addition, the memory controller transmits first encrypted data EDT1 corresponding to write data WDATA to the semiconductor memory device (S120). The first selector MX1 ​​selects the first encrypted data EDT1 in response to the first selection signal SEL1 and outputs the first encrypted data EDT1 as the third encrypted data EDT3. The semiconductor memory device writes the third encrypted data EDT3 to the destination address TADD of the memory core MCR (S130).

[0049] Fig. 6 is a flowchart illustrating a normal read operation of a semiconductor memory device according to example embodiments.

[0050] With reference to the Fig. 4 and Fig. 6, the memory controller transmits a normal read command RD having a source address SADD corresponding to a read address to the semiconductor memory device (S210). The semiconductor memory device reads the sixth encrypted data EDT from the source address SADD of the memory core MCR (S220). In response to the fourth selection signal SEL4, the fourth selector MX4 provides the sixth encrypted data EDT6 as the eighth encrypted data EDT8 corresponding to read data RDATA to the memory controller via the second data path 26 (S230).

[0051] Fig. 7 is a flowchart illustrating processing and writing operations of a semiconductor memory device according to exemplary embodiments.

[0052] With reference to the Fig. 4 and Fig. 7, the memory controller transmits a processing and write command PWR with a destination address TADD corresponding to a write address to the semiconductor memory device (S310). In addition, the memory controller transmits first encrypted data EDT1 corresponding to write data WDATA to the semiconductor memory device (S320). The second selector MX2 selects the first encrypted data EDT1 and outputs the first encrypted data EDT1 as the fourth encrypted data EDT4. The second decryptor DEC2 decrypts the fourth encrypted data EDT4 based on the second security key KY2 to generate the second data DT2 (S330). The on-chip processor OCP performs PIM of the second data DT2 to generate the third data DT3 (S340). The second encryptor ENC2 encrypts the third data DT3 based on the second security key KY2 to generate the fifth encrypted data EDT5 (S350).The third selector MX3 provides the fifth encrypted data EDT5 as the second encrypted data EDT2 to the first selector MX1 ​​in response to the third selection signal SEL3. The first selector MX1 ​​selects the second encrypted data EDT2 in response to the first selection signal SEL1 and outputs the second encrypted data EDT2 as the third encrypted data EDT3. The semiconductor memory device writes the third encrypted data EDT3 to the destination address TADD of the memory core MCR (S360).

[0053] Fig. 8 is a flowchart illustrating a processing and reading operation of a semiconductor memory device according to example embodiments.

[0054] With reference to the Fig. 4 and Fig. 8, the memory controller transmits a processing and reading command PRD having a source address SADD corresponding to a read address to the semiconductor memory device (S410). The semiconductor memory device reads the sixth encrypted data EDT6 from the source address SADD of the memory core MCR (S420). The fourth selector MX4, in response to the fourth selection signal SEL4, provides the sixth encrypted data EDT6 as the seventh encrypted data EDT7 to the second selector MX2. The second selector MX2 selects and outputs the seventh encrypted data EDT7 as the fourth encrypted data EDT4 in response to the second selection signal SEL2. The second decryptor DEC2 decrypts the fourth encrypted data EDT4 based on the second security key KY2 to generate the second data DT2 (S430). The on-chip processor OCP performs the PIM of the second data DT2 to generate the third data DT3 (S440).The second encryptor ENC2 encrypts the third data DT3 based on the second key KY2 to generate the fifth encrypted data EDT5 (S450). In response to the third selection signal SEL3, the third selector MX3 provides the fifth encrypted data EDT5 as the eighth encrypted data EDT8, corresponding to read data RDATA, to the memory controller via the second data path 26 (S460).

[0055] Fig. 9 is a flowchart illustrating an internal processing operation of a semiconductor memory device according to example embodiments.

[0056] With reference to the Fig. 4 and Fig. 9, the memory controller transmits an internal processing command INP having a source address SADD corresponding to a read address and a destination address TADD corresponding to a write address to the semiconductor memory device (S510). The semiconductor memory device reads out the sixth encrypted data EDT6 from the source address SADD of the memory core MCR (S520). The fourth selector MX4, in response to the fourth selection signal SEL4, provides the sixth encrypted data EDT6 as the seventh encrypted data EDT7 to the second selector MX2. The second selector MX2 selects and outputs the seventh encrypted data EDT7 as the fourth encrypted data EDT4 in response to the second selection signal SEL2. The second decryptor DEC2 decrypts the fourth encrypted data EDT4 based on the second security key KY2 to generate the second data DT2 (S530).The on-chip processor OCP performs PIM of the second data DT2 to generate the third data DT3 (S540). The second encryptor ENC2 encrypts the third data DT3 based on the second key KY2 to generate the fifth encrypted data EDT5 (S550). The first selector MX1 ​​selects the second encrypted data EDT2 in response to the first selection signal SEL1 and outputs the second encrypted data EDT2 as the third encrypted data EDT3. The semiconductor memory device writes the third encrypted data EDT3 to the destination address TADD of the memory core MCR (S560).

[0057] The Fig. 10 to 13 are diagrams for describing exemplary embodiments for generating a security key in a storage system according to exemplary embodiments.

[0058] Referring to Fig. 10, a host security controller 102 of the memory controller may include a first key register KREG1 and a first security engine ENG1, and a memory security controller 202 of the semiconductor memory device may include a second key register KREG2 and a second security engine ENG2.

[0059] The first key register KREG1 can store and provide a first security key KY1. The first security engine ENG1 can perform encryption and decryption on input data based on the first security key KY1. The second key register KREG2 can receive the first security key KY1 from the memory controller to store and provide the first security key KY1 as a second key KY2. The second security engine ENG2 can perform encryption and decryption on input data based on the second security key KY2.

[0060] Referring to Fig. 11, a host security controller 103 of the memory controller may include a first seed register SREG1, a first on-chip timer OCTMR1, a first key generator KGEN1, a first key register KREG1, and a first security engine ENG1, and a memory security controller 203 of the semiconductor memory device may include a second seed register SREG2, a second on-chip timer OCTMR2, a second key generator KGEN2, a second key register KREG2, and a second security engine ENG2.

[0061] The first seed register SREG1 may have a first seed value SD1, and the first on-chip timer OCTMR1 may provide first timing information TM1. The first key generator KGEN1 may generate a first security key KY1 based on the first seed value SD1 and the first timing information TM1. The first key register KREG1 may store and provide the first security key KY1. The first security engine ENG1 may perform encryption and decryption on input data based on the first security key KY1.

[0062] The second seed register SREG2 may receive the first seed SD1 from the first seed register SREG1 to provide the first seed SD1 as a second seed SD2. The second on-chip timer OCTMR2 may provide second time information TM2, and the second on-chip timer OCTMR2 may be synchronized with the first on-chip timer OCTMR1. The second key generator KGEN2 may generate a second security key KY2 based on the second seed SD2 and the second time information TM2. The second key register KREG2 may store and provide the second key KY2. The second security engine ENG2 may provide encryption and decryption with respect to input data based on the second security key KY2.

[0063] In some exemplary embodiments, each of the first key generator KGEN1 and the second key generator KGN2 may include a random number generator configured to generate a random number for a security key based on a seed value and time information.

[0064] As such, the memory controller cannot transmit the security key directly to the semiconductor memory device. The security key can be generated in the semiconductor device using the seed value and timing information, thus increasing the level of security.

[0065] Referring to Fig. 12, a host security controller 104 of the memory controller may include a first seed register SREG1, a first on-chip timer OCTMR1, a first key generator KGEN1, a first key register KREG1, and a first security engine ENG1, and a memory security controller 203 of the semiconductor device may include a second seed register SREG2, a second key generator KGEN2, a second key register KREG2, and a second security engine ENG2.

[0066] The first seed register SREG1 can store and provide a first seed SD1, and the first on-chip timer OCTMR1 can provide first time information TM1. The first key generator KGEN1 can generate a first security key KY1 based on the first seed SD1 and the first time information TM1. The first key register KREG1 can store and provide the first security key KY1. The first security engine ENG1 can perform encryption and decryption on input data based on the first security key KY1.

[0067] The second seed register SREG2 can receive the first seed SD1 from the first seed register SREG1 to store the first seed SD1 as a second seed SD2. The second key generator KGEN2 can generate a second security key KY2 based on the second seed SD2 and the first timing information TM1 provided by the first on-chip timer OCTMR1. The second key register KREG2 can store and provide the second key KY2. The second security engine ENG2 can perform encryption and decryption on input data based on the second security key KY2.

[0068] Referring to Fig. 13, a host security controller 105 of the memory controller may include a first seed register SREG1, a first key generator KGEN1, a first key register KREG1, and a first security engine ENG1, and a memory security controller 205 of the semiconductor memory device may include a second seed register SREG2, a second key generator KGEN2, a second key register KREG2, and a second security engine ENG2.

[0069] The first seed register SREG1 can store and provide a first seed SD1. The first key generator KGEN1 can generate a first security key KY1 based on the first seed SD1 and time information TM provided by a system timer SYSTMR. The first key register KREG1 can store and provide the first security key KY1. The first security engine ENG1 can perform encryption and decryption on input data based on the first security key KY1.

[0070] The second seed register SREG2 can receive the first seed SD1 from the first seed register SREG1 to store and provide the first seed SD1 as a second seed SD2. The second key generator KGEN1 can generate a second security key KY2 based on the second seed SD2 and the time information TM provided by the system timer SYSTMR. The second key register KREG2 can store and provide the second key KY2. The second security engine ENG2 can perform encryption and decryption on input data based on the second security key KY2.

[0071] Fig. 14 is a diagram illustrating a key register according to example embodiments.

[0072] Referring to Fig. 14, a key register may have flag values ​​S and N indicating whether or not a security scenario is applied to each of memory areas REG_A, REG_B, and REG_C. For example, a first flag value S may be assigned to the memory areas REG_A and REG_B in which encrypted data is stored according to the security scenario, and a second flag value N may be assigned to the memory area REG_C in which unencrypted data is stored. Security keys KY_A and KY_B may be assigned to the memory areas REG_A and REG_B to which the security scenario is applied.

[0073] The memory areas REG_A, REG_B, and REG_C may be divided based on the addresses of the semiconductor memory device. In this case, the control logic 410 may Fig. 3 generate a control signal indicating the memory area corresponding to the address ADD from the memory controller. The key register, which is shown in Fig. 14, may provide the corresponding security key based on the control signal. The control logic 410 may select signals of the Fig. 15 based on the CMD command and the ADD address from the memory controller.

[0074] Fig. Figure 15 is a diagram illustrating an example configuration of security engines implemented in the security controllers of the Fig. 2 are included. An on-chip processor OCP and a memory core MCR are also included in Fig. 15 illustrates.

[0075] Referring to Fig. 15, a first security engine 106 of the host security controller 100 may include a first encryptor ENC1, a first decryptor EDC1, an output selector MXU, and an input selector MXI, and a second security engine 206 of the memory security controller 200 may include a second encryptor ENC2, a second decryptor DEC2, a first selector MX1, a second selector MX2, a third selector MX3, a fourth selector MX4, and a fifth selector MX5.

[0076] The first encryptor ENC1 encrypts first data DT1 based on a first security key KY1 to generate first encrypted data as second data DT2. The output selector MX0 selects one of the first data DT1 and the second data DT2 and provides the selected data as third data DT3 to a semiconductor memory device via a first data path 25. The first selector MX1 ​​selects one of the third data DT3 and the fourth data DT4 in response to a first selection signal SEL1 to provide fifth data DT5 to the memory core MCR. The second selector MX2 selects one of the third data DT3 and twelve of the data DT12 in response to a second selection signal SEL2 to provide sixth data DT6, which may be encrypted data. The second decryptor DEC2 decrypts the sixth data DT6 based on the second security key KY2 to generate seventh data DT7, which corresponds to decrypted data.The fifth selector MX5 selects one of the sixth data DT6 and the seventh data DT7 in response to a fifth selection signal SEL5 to output eighth data DT8. The on-chip processor OCP performs PIM on the eighth data DT8 to generate ninth data DT9 corresponding to result data. The second encryptor ENC2 encrypts the ninth data DT9 in turn based on the second security key KY2 to generate tenth data DT10 corresponding to result-encrypted data. The third selector MX3 selects one of the ninth data DT9 and the tenth data DT10 in response to a third selection signal SEL3 and provides the selected signal as the fourth data DT4 to the first selector MX1 ​​or as the thirteenth data DT13 to a memory controller via a second path 26.The fourth selector MX4 provides eleventh data DT11 from the memory core MCR in response to a fourth selection signal SEL4 as the twelfth data DT12 (which may be encrypted data) to the second selector MX2 or as the thirteenth data DT13 to the memory controller via the second path 26. The first decryptor DEC1 decrypts the thirteenth data DT13 based on the first security key KY1 to generate fourteenth data DT14. The input selector MXI selects one of the thirteenth data DT13 and the fourteenth data DT14 in response to an input selection signal SELI to output fifteenth data DT15.

[0077] Compared with the second security engine 201 in Fig. 4, the second security engine 206 in Fig. 15 further includes the fifth selector MX5. A selector including the second selector MX2 and the fifth selector MX5 can provide received data (i.e., the third data DT3 or the twelfth data DT12) to the second decryptor DEC2 when the received data corresponds to encrypted data, and provide the received data directly to the on-chip processor when the received data corresponds to non-encrypted data.

[0078] Different combinations of a read operation, a write operation, and a PIM can be used for encrypted data or non-encrypted data using a configuration as described in Fig. 15 is illustrated.

[0079] Fig. 16 is a diagram illustrating an example embodiment of a memory security controller included in a semiconductor memory device according to example embodiments.

[0080] Referring to Fig. 16, a storage security controller 207 may include a key provider KPRV, a security engine ENG, and a configuration controller CONFCTR. As described above, the key provider KPRV may store and provide a security key KY, which is identical to a security key of the storage controller, based on security information from a storage controller.

[0081] The security engine ENG can be implemented as a reconfigurable configuration. In some example embodiments, the security engine ENG can comprise a field-programmable gate array (FPGA). The configuration controller CONFCTR can program the security engine ENG based on information from the memory controller to have a configuration identical to a security engine of the memory controller. For example, the configuration controller CONFCTR can program the security engine ENG based on a CMD command from the memory controller and provide a result signal RSLT to the memory controller indicating a success or failure of the programming.According to exemplary embodiments, programming of the security engine ENG may be performed during a chip packaging stage or a system assembly stage, and in this case the configuration controller CONFCTR may be omitted.

[0082] In some example embodiments, the security engine ENG may be implemented as a form of software. In this case, an instruction set for an encryption algorithm may be provided by the memory controller for the semiconductor memory device, and the security engine may be implemented using the instruction set.

[0083] With advances in hardware and software, demands on storage capacity and operating speed of a memory device are constantly increasing. Memory bandwidth and latency are performance bottlenecks in many processing systems. Memory capacity can be increased by using a stacked memory device, in which a plurality of semiconductor devices are stacked in a memory chip package. The stacked semiconductor dies can be electrically connected using silicon vias or substrate vias (TSVs). Such a stacking technology can increase memory capacity and also suppress bandwidth and latency penalties. In general, a system memory device and other large-scale memory are typically implemented separately from the other components of the system.Each access by an external device to the stacked memory device requires data communication between the stacked semiconductor dies, and thus, inter-device bandwidth and inter-device latency degradation may occur twice for each access. Consequently, when a task on the external device requires multiple accesses to the stacked memory device, inter-device bandwidth and inter-device latency have a significant impact on the system's processing efficiency and power consumption.

[0084] Hereinafter, exemplary embodiments of a stacked semiconductor device and a system including the stacked semiconductor device are described.

[0085] Fig. 17 is an exploded perspective view of a system including a stacked memory device according to example embodiments.

[0086] Referring to Fig. 17, a system 50 includes a stacked storage device 1000 and a host device 2000.

[0087] The stacked memory device 1000 may include a buffer semiconductor die or a logic semiconductor die 1010, a plurality of memory semiconductor dies 1070 and 1080 stacked with the buffer semiconductor die 1010, and silicon vias TSV connecting the semiconductor dies 1010, 1070, and 1080. The memory semiconductor dies 1070 and 1080 may include integrated memory circuits MEM 1071 and 1081, respectively. Fig. 17 illustrates a non-limiting example of a buffer die and two memory dies. For example, two or more logic dies and one, three or more memory dies may be stacked in the Fig. 17. Additionally, Fig. 17 illustrates a non-limiting example in which the memory semiconductor dies 1070 and 1080 are stacked vertically with the buffer semiconductor die 1010. As described below with reference to Fig. 19, the memory semiconductor dies 1070 and 1080 may be stacked vertically, and the buffer semiconductor die 1010 may not be stacked with the memory semiconductor dies 1070 and 1080, but may be electrically connected to the memory semiconductor dies 1070 and 1080 via an interposer and / or a base substrate.

[0088] The buffer semiconductor die 1010 may include a memory interface MIF 1020, a control circuit CTRL 1030, an on-chip processor OCP 1040, and a memory security controller MSCON 1050.

[0089] The memory interface 1020 can communicate with an external device, such as the host device 2000, via a coupling device 20. The control circuit 1030 can control overall operations of the stacked memory device 1000. The on-chip processor 1040 performs processing in memory (PIM). As described above, the memory security controller 1050 can be used to implement decryption of data supplied to the PIM and data encryption of the resultant data of the on-chip processor 1040.

[0090] The host device 2000 may include a host interface HIF 2110 and processor cores CR1 2120 and CR2 2130. The host interface 2110 may communicate with an external device, such as the stacked memory device 1000, via the interconnect device 12. The host device 2000 may include a host security controller HSCON as described above.

[0091] Fig. 18 is an exploded perspective view of a stacked storage device according to exemplary embodiments. The descriptions associated with Fig. 17 are repeated, can be omitted.

[0092] Referring to Fig. 18, a stacked memory device 1000a includes a buffer semiconductor die 1010, a plurality of memory semiconductor dies 1070 and 1080, and silicon vias TSV electrically connecting the semiconductor dies 1010, 1070, and 1080.

[0093] As in Fig. As illustrated in FIG. 18, a global processor GP 1041 may be formed in the buffer semiconductor die 1010. The global processor 1041 may perform a global subprocess corresponding to a portion of processing in memory (PIM). In addition, a global security controller GSC 1051 may be formed in the buffer semiconductor die 1010. The global security controller 1051 may perform encryption and decryption on input and output data of the global processor 1041.

[0094] One or more local processors LP1 1072 and LP2 1082 may be formed in the memory semiconductor dies 1070 and 1080, respectively. The local processors 1072 and 1080 may perform local subprocesses corresponding to other sections of the PIM. Additionally, one or more local security controllers LSC1 1073 and LSC2 1083 may be formed in the memory semiconductor dies 1070 and 1080, respectively. The local security controllers 1073 and 1083 may perform encryption and decryption on input and output data of the local processors 1073 and 1083.

[0095] As such, PIM can be implemented in a distributed manner using the global processor and global security controller in the buffer die and the local security controllers in the memory die. By efficiently combining PIM and data security, uptime and power consumption can be reduced.

[0096] The Fig. 19 and Fig. 20 are diagrams illustrating packaging structures of a stacked memory device according to example embodiments.

[0097] Referring to Fig. 19, a memory device 1000b may be a memory package and may include a base substrate or an interposer ITP and a stacked memory device stacked on the interposer ITP. The stacked memory device may include a logic semiconductor die LSD (or a buffer semiconductor die) and a plurality of memory semiconductor dies MSD1-MSD4.

[0098] Referring to Fig. 20, a memory device 1000c may be a memory package and may include a base substrate BSUB and a stacked memory device stacked on the base substrate BSUB. The stacked memory device may include a logic semiconductor die LST and a plurality of memory semiconductor dies MSD1-MSD4.

[0099] Fig. Figure 19 illustrates a structure in which the memory semiconductor dies MSD1-MSD4 except for the logic semiconductor die LSD are stacked vertically, and the logic semiconductor die LSD is electrically connected to the memory semiconductor dies MSD1-MSD4 via the interposer ITP or the base substrate. In contrast, Fig. 20 a structure in which the logic semiconductor die LSD is vertically stacked with the memory semiconductor dies MSD1-MSD4.

[0100] A global processor GP and a global security controller GSC may be formed in the logic semiconductor die LSD, and local processors LP1-LP4 and the local security controllers LSC1-LSC4 may be formed in the memory semiconductor dies MSD1-MSD4. With such a configuration, the distributed PIM of the encrypted data may be performed according to exemplary embodiments.

[0101] The base substrate BSUB may be the same as the interposer ITP or may include the interposer ITP. The base substrate BSUB may be a printed circuit board (PCB). External interconnection elements such as conductive bumps BMP may be formed on a bottom surface of the base substrate BSUB, and internal interconnection elements such as conductive bumps may be formed on a surface of the base substrate BSUB. In some example embodiments, the semiconductor die LSD and MSD1-MSD4 may be electrically connected by silicon vias. In other example embodiments, the semiconductor dies LSD and MSD1-MSD4 may be electrically connected via the bonding wires. In yet other example embodiments, the semiconductor dies LSD and MSD1-MSD4 may be electrically connected by a combination of the silicon vias and the bonding wires.In the exemplary embodiment of the . Fig. 19, the logic semiconductor die LSD may be electrically connected to the memory semiconductor dies MSD1-MSD4 via conductive line structures formed in the interposer ITP. The stacked semiconductor dies LSD and MSD1-MSD4 may be packaged using an encapsulant such as resin RNS.

[0102] Fig. 21 is a diagram illustrating an example structure of a high-bandwidth memory (HPM).

[0103] Referring to Fig. 21, an HBM 1100 may be configured to include a stack of multiple DRAM semiconductor dies 1120, 1130, 1140, and 1150. The HBM stack structure may be optimized by a plurality of independent interfaces, called channels. Each DRAM stack may support up to eight channels in accordance with the HBM standards. Fig. 21 shows an exemplary stack comprising four DRAM dies 1120, 1130, 1140, and 1150, and each DRAM die supports two channels CHANNEL0 and CHANNEL1.

[0104] Each channel provides access to an independent set of DRAM banks. Requests from one channel cannot access data applied to another channel. Channels are clocked independently and do not need to be synchronized. The HBM 1100 may further include an interface die 1110 or a logic die disposed at a bottom of the stack structure to provide signal routing and other functions. Some functions for the DRAM semiconductor dies 1120, 1130, 1140, and 1150 may be implemented in the interface die 1110.

[0105] At least one of the DRAM semiconductor dies 1120, 1130, 1140, and 1150 may include an on-chip processor and a memory security controller according to example embodiments to perform the PIM of the encrypted data as described above.

[0106] The Fig. 22, Fig. 23 and Fig. 24 are diagrams illustrating a memory system according to example embodiments.

[0107] As in the Fig. 22, Fig. 23 and Fig. 24, each of memory systems 70a, 70b, and 70c may include each of memory modules 1200a, 1200b, and 1200c, and each of memory controllers 200a, 200b, and 200c, respectively. Each of memory modules 1200a, 1200b, and 1200c may include a module substrate and a plurality of memory chips 401a-401h mounted on the module substrate. Fig. 22, Fig. 23 and Fig. 24 illustrate a non-limiting example of eight memory chips 401a-401h, however, the number of memory chips included in each memory module may be determined differently.

[0108] Referring to Fig. 22, memory module 1200a may be connected to memory controller 200a via data bus 1210 and a control bus 1220. Memory module 1200a may be inserted into a socket connector of a larger memory system or computing system. Electrical connectors (or pins) of memory module 1200a may be connected to electrical contacts of the socket connector. The electrical connectors and buses 1210 and 1220 connected to the electrical contacts allow direct access to a memory buffer or buffer chip 1270a and indirect access to memory chips 401a-401h of memory module 1200a. The data bus 1210 may include signal lines (conductive wiring) to transmit data signals DQ and data strobe signals DQS, and the control bus 1220 includes at least one of a command (CMD) line and / or an address (ADD) line.

[0109] Data bus 1210 and control bus 1220 are directly connected to buffer chip 1270a via the respective socket / pin and bus signal line arrangements. Buffer chip 1270a, in turn, is connected to the respective memory chips 401a-401h via at least one commonly connected first bus 1230 and separately connected second buses 1240a-1240h from specified ports of buffer chip 1270a to corresponding ports of memory chips 401a-401h. Buffer chip 1270a can be used to transfer a received command and / or address, received from memory controller 200a via control bus 1220, to the corresponding memory chips 401a-401h via first bus 1230.

[0110] Buffer chip 1270a may transmit write data DQ (i.e., data to be written to one or more of memory chips 400a-400h) and the data strobe signal DQS received from memory controller 200a via data bus 1210 to memory chips 401a-401h via respective second buses 1240a-1240h. Alternatively, buffer chip 1270a may transmit read data DQ (data retrieved from one or more of memory chips 401a-401h) received from one or more of memory chips 401a-401h via second buses 1240a-1240h to memory controller 200a via data bus 1210.

[0111] The buffer chip 1270a may additionally include a global processor GP and a global security controller GSC as described above, and the memory chips 400a-400h may include local processors LP and local security controllers LSC as described above.

[0112] Referring to Fig. 23, a memory module 1200b includes a plurality of memory chips 402a-402h, a command (CMD) / address (ADD) register chip 1270b, and data buffer chips 250a-250h, each connected to the memory chips 402a-402h. The CMD / ADD register chip 1270b receives command and address information from the memory controller 200b via the control bus 1220, then buffers / drives the command and address information. The command and address information output from the CMD / ADD register chip 1270b is provided to the memory chips 402a-402h via the commonly connected first bus 1230.

[0113] The data buffer chips 250a-250h are connected between the memory chips 402a-402h, respectively. Each of the data buffer chips 250a-250h is configured to receive the write data signals DQ and the data strobe signals DQS and provide them to a corresponding one of the memory chips 402a-402h, as communicated by the memory controller 200b via the data bus 1210. In an analogous manner, each of the data buffer chips 250a-250h can be used to buffer the read data signal DQ and the data strobe signal DQS retrieved from its corresponding one of the memory chips 402a-402h and transmit them to the memory controller 200b via the data bus 1210.

[0114] Each of the data buffer chips 250a-250h may include an on-chip processor OCP and a memory security controller MSCON as described above.

[0115] Referring to Fig. 24, a memory module 1200c includes a plurality of memory chips 403a-403h and the CMD / ADD register chip 1270c. As described above, the CMD / ADD register chip 1270c receives command and address information from the memory controller 200c via the control bus 1220, buffers, and re-drives the command and address information. The command and address information provided by the CMD / ADD register chip 1270c can be communicated to the respective memory chips 403a-403h via the first bus 230.

[0116] Each of the memory chips 403a-403h is connected to the memory controller 200c via a corresponding one of a plurality of data buses 1210a-1210h, whereby each memory chip is directly wired to the memory controller 200c for receiving and transmitting data signals DQ and data strobe signals DQS. Each of the memory chips 403a-403h may receive the write data signal DQ and the data strobe signal DQS from the memory controller 200c via a corresponding one of the data buses 1210a-1210h, which are respectively connected to the memory chips 403a-403h, and the read data signal DQ and the data strobe signal DQS retrieved from each of the memory chips 403a-403h may also be transmitted to the memory controller 200c via one of the data buses 1210a-1210h.

[0117] Each of the memory chips 403a-403h may include an on-chip processor OCP and a memory security controller MSCON as described above.

[0118] Fig. 25 is a block diagram illustrating a computing system according to example embodiments.

[0119] Referring to Fig. 25, a computing system 1300 includes a processor 1310, an input / output hub (IOH) 1320, an input / output controller hub (ICH) 1330, at least one memory module 1340, and a graphics card 1350.

[0120] The processor 1310 may perform various computational functions, such as executing specific software to perform specific calculations or tasks. The processor 1310 may include a memory controller MC 1311 for controlling operations of the memory module 1340. The memory controller 1311 may include a host security controller HSCON 1312 as described above. The memory module 1340 may include at least one memory chip, an on-chip processor OCP 1341, and a memory security controller MSCON 1342 as described above. According to exemplary embodiments, the memory security controller MSCON 1342 may perform the same encryption and decryption as the host security controller 1312 to support the PIM of the on-chip processor 1341.

[0121] Input / output hub 1320 may manage data transfer between processor 1310 and devices such as graphics card 1350. Input / output hub 1320 may be coupled to processor 1310 via various interfaces. For example, the interface between the components and input / output hub 1320 may be an Accelerated Graphics Port (AGP) interface, a Peripheral Component Interface-Express (PCIe), a Communications Streaming Architecture (CSA) interface, etc. Graphics card 1350 may be coupled to input / output hub 1320 via AGP or PCIe. Graphics card 1350 may control a display device (not shown) to display an image.

[0122] The input / output controller hub 1330 may perform data buffering and interface arbitration to efficiently operate various system interfaces. The input / output controller hub 1330 may be coupled to the input / output hub 1320 via an internal bus, such as a direct media interface (DMI), a hub interface, an enterprise southbridge interface (ESI), PCIe, etc. The input / output controller hub 1330 may provide various interfaces with peripheral devices. For example, the input / output controller hub 1330 may provide a universal serial bus (USB) port, a serial advanced technology attachment (SATA) port, a general purpose input / output (GPIO), a low pin count (LCP) bus, a serial peripheral interface (SPI), PCI, PCIe, etc.

[0123] As described above, the semiconductor memory device, the memory system, and the memory module according to exemplary embodiments can increase data processing efficiency without degrading data security by decrypting the encrypted data in the semiconductor memory device to perform processing-in-memory (PIM).

[0124] The present inventive concept of the appended claims can be applied to any electronic devices and systems that require the PIM of the encrypted data. For example, the present inventive concept of the appended claims can be applied to systems such as a memory card, a solid-state drive (SSD), an embedded multimedia card (eMMC), a mobile phone, a smartphone, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital camera, a camcorder, a personal computer (PC), a server computer, a workstation, a laptop computer, a digital TV, a set-top box, a portable game console, a navigation system, a wearable device, an Internet of Things (IoT) device, an Internet of Everything (IoE) device, an e-book, a virtual reality (VR) device, an augmented reality (AR) device, etc.

[0125] The foregoing is illustrative of exemplary embodiments and should not be considered limiting thereof. Although some exemplary embodiments have been described, those skilled in the art will readily appreciate that many modifications are possible in the exemplary embodiments without materially departing from the present inventive concept of the appended claims.

Claims

[1] A semiconductor memory device (400) configured to be controlled by an external memory controller (300), the semiconductor memory device (400) comprising: a memory core (MCR) having a plurality of memory cells; an on-chip processor (OCP) configured to perform on-chip data processing; and a memory security controller (200) configured to decrypt encrypted data provided by the memory core (MCR) or the memory controller (300) and to provide the decrypted data to the on-chip processor (OCP), and configured to encrypt result data from the on-chip processor (OCP) to provide result-encrypted data to the memory core (MCR) or the memory controller (300). [2] The semiconductor memory device (400) of claim 1, wherein the memory security controller (200) comprises: a key provider (KPRV) configured to provide a security key (KY); and a security engine (ENG) configured to decrypt the encrypted data based on the security key (KY) to generate the decrypted data, and configured to encrypt the result data based on the security key (KY) to generate the result encrypted data. [3] The semiconductor memory device (400) according to claim 2, wherein the key provider (KPRV) stores and provides the security key (KY) identical to a security key of the memory controller (300) based on security information provided by the memory controller (300) such that the security engine (ENG) performs encryption and decryption identical to the encryption and decryption performed in the memory controller (300). [4] The semiconductor memory device (400) of claim 2, further comprising: a selector (MX1, MX2, MX3, MX4) configured to provide received data to an encryptor in the security engine (ENG) when the received data corresponds to encrypted data, and to provide the received data directly to the on-chip processor (OCP) when the received data corresponds to non-encrypted data. [5] The semiconductor memory device (400) of claim 2, wherein the security engine (ENG) has a reconfigurable configuration and the security engine (ENG) is programmed to have a configuration identical to a security engine (ENG) of the memory controller (300). [6] The semiconductor memory device (400) according to claim 1, wherein the memory controller (300) comprises: a first key provider (KPRV1) configured to provide a first security key (KY1); and a first security engine (ENG1) configured to perform encryption and decryption of input data based on the first security key (KY1). [7] The semiconductor memory device (400) of claim 6, wherein the memory security controller (200) comprises: a second key provider (KPRV2) configured to provide a second security key (KY2) that is identical to the first security key; and a second security engine (ENG2) configured to perform encryption and decryption identical to the encryption and decryption of the memory controller (300) based on the second security key (KY2). [8] The semiconductor memory device (400) of claim 7, wherein the first key provider (KPRV1) comprises: a first key register (KREG1) configured to store and provide the first security key (KY1), and wherein the second key provider (KPRV2) comprises: a second key register (KREG2) configured to receive the first security key (KY1) from the memory controller (300) to store and provide the first security key (KY1) as the second key. [9] The semiconductor memory device (400) of claim 7, wherein the first key provider (KPRV1) comprises: a first start value register (SREG1) configured to store and provide a first start value; a first on-chip timer (OCTMR1) configured to provide first time information; a first key generator (KGEN1) configured to generate the first security key (KY1) based on the first seed value and the first time information; and a first key register (KREG1) configured to store and provide the first security key (KY1). [10] The semiconductor memory device (400) of claim 9, wherein the second key provider (KPRV2) comprises: a second seed register (SREG2) configured to receive the first seed from the first seed register (SREG1) to store and provide the first seed as a second seed; a second on-chip timer (OCTMR2) configured to provide second time information, wherein the second on-chip timer (OCTMR2) is synchronized with the first on-chip timer (OCTMR1); a second key generator (KGEN2) configured to generate the second security key (KY2) based on the second seed value and the second time information; and a second key register (KREG2) configured to store and provide the second security key (KY2). [11] The semiconductor memory device (400) of claim 9, wherein the second key provider (KPRV2) comprises: a second seed register (SREG2) configured to receive the first seed from the first seed register (SREG1) to store and provide the first seed as a second seed; a second key generator (KGEN2) configured to generate the second security key (KY2) based on the second seed value and the first time information provided by the first on-chip timer (OCTMR1); and a second key register (KREG2) configured to store and provide the second security key (KY2). [12] The semiconductor memory device (400) of claim 7, wherein the first key provider (KPRV1) comprises: a first start value register (SREG1) configured to store and provide a first start value; a first key generator (KGEN1) configured to generate the first security key (KY1) based on the first seed value and time information provided by a system timer; and a first key register (KREG1) configured to store and provide the first security key (KY1), and wherein the second key provider (KPRV2) comprises: a second seed register (SREG2) configured to receive the first seed from the first seed register (SREG1) to store and provide the first seed as a second seed; a second key generator (KGEN2) configured to generate the second security key (KY2) based on the second seed value and the time information provided by the system timer; and a second key register (KREG2) configured to store and provide the second security key (KY2). [13] The semiconductor memory device (400) according to claim 1, wherein, when the semiconductor memory device (400) receives a processing and writing command from the memory controller (300), the semiconductor memory device (400) decrypts the encrypted data provided by the memory controller (300) to perform on-chip data processing on the decrypted data, and encrypts the result data of the on-chip data processing to write the result encrypted data into the memory core (MCR). [14] The semiconductor memory device (400) according to claim 1, wherein, when the semiconductor memory device (400) receives a processing and reading command from the memory controller (300), the semiconductor memory device (400) decrypts the encrypted data read from the memory core (MCR) to perform on-chip data processing on the decrypted data and encrypts the result data of the on-chip data processing to provide the result encrypted data to the memory controller (300). [15] The semiconductor memory device (400) according to claim 1, wherein, when the semiconductor memory device (400) receives an internal processing command from the memory controller (300), the semiconductor memory device (400) decrypts the encrypted data read from the memory core (MCR) to perform on-chip data processing on the decrypted data, and encrypts the result data of the on-chip data processing to write the result encrypted data into the memory core (MCR). [16] Storage system (10), comprising: a memory controller (300), a channel (20) for transmitting data, an operation command (CMD) and an address (ADD), and a semiconductor memory device (400) according to one of claims 1 to 15, wherein the memory controller (300) is configured to output the operation command (CMD) and the address (ADD) to the semiconductor memory device (400) for controlling the semiconductor memory device (400). [17] A method for performing secure operations for a semiconductor memory device (400) according to any one of claims 1 to 15, comprising: Decrypting encrypted data by the memory security controller (200) provided by the memory core (MCR) or by the memory controller (300); performing the on-chip processing operation by the on-chip processor (OCP) by receiving the decrypted data; Output of result data by the on-chip processor (OCP); and Encrypting the result data from the on-chip processor (OCP) by the memory security controller (200) to provide result encrypted data for the memory core (MCR) or the memory controller (300).

Citation Information

Patent Citations

  • Memory operation encryption

    US20170201503A1