Data encryption key acquisition, recovery method and data reading and writing method for solid state hard disk

By obtaining and using the management key and user password in the solid-state drive to generate the encryption key, the problem of unrecoverable data encryption keys when the solid-state drive main control chip is damaged or the firmware fails is solved, improving the security and recovery of encryption keys. ability.

CN112417491BActive Publication Date: 2024-10-29HEFEI DATANG STORAGE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011460780.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-11
Publication Date
2024-10-29
Estimated Expiration
2040-12-11

AI Technical Summary

Technical Problem

When the main control chip of existing solid-state drives is damaged or the firmware fails, the data encryption key cannot be recovered, resulting in unrecoverable user data. The encryption key is only protected by the user's password, which has low security and is easily attacked and cracked.

Method used

By obtaining the main control chip management key and user password of the solid-state drive, the key encryption key KEK and the data encryption key DEK are generated and encrypted using the preset cryptography method, stored and decrypted to ensure the safe recovery of the keys.

Benefits of technology

When the main control chip is damaged or the firmware fails, it provides a technical basis for user data recovery, improves the security of the firmware hard disk encryption key, and ensures the effective recovery and security of the data encryption key.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112417491B_ABST
    Figure CN112417491B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a data encryption key acquisition, recovery method and data reading and writing method of a solid-state hard disk, and the data encryption key acquisition method includes: obtaining the main control chip management key of the solid-state hard disk and the created user password; obtaining the protection key ENK of the key encryption key KEK according to the main control chip management key, the user password and the first cryptographic method; encrypting the generated key encryption key KEK according to the protection key ENK and the second cryptographic method, and obtaining the encrypted key encryption key CIPHER_KEK; encrypting the generated data encryption key DEK according to the key encryption key KEK and the third cryptographic method, and obtaining the encrypted data encryption key CIPHER_DEK. This embodiment provides a technical basis for user data recovery when the main control chip of the solid-state hard disk is damaged or the firmware is faulty, and improves the security of the firmware hard disk encryption key.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This article relates to information security technology, and in particular to a data encryption key acquisition, recovery method and data reading and writing method for a solid state drive. Background Art

[0002] The solid state drive is mainly composed of a main control chip and NADN FLASH. The data encryption key DEK is used to encrypt user data, and the key encryption key KEK is used to encrypt the data encryption key DEK.

[0003] The current method for generating and saving data encryption keys is as follows:

[0004] 1. DEK and KEK are generated by internal random numbers, DKE is protected by KEK, DEK ciphertext is stored inside the chip or in NAND, KEK is stored inside the chip, and KEK and DEK are not protected or derived by other confidentiality methods.

[0005] When using this solution, once the SSD main control chip is damaged or the firmware is faulty, the data encryption key cannot be recovered, causing the user data to be unrecoverable;

[0006] 2. DEK and KEK are generated by internal random numbers, KEK is protected by the user password, DEK is protected by KEK, and the key is stored inside the chip or in NAND.

[0007] Although this solution involves user password protection or derivation, if the KEK is stored inside the chip, user data cannot be recovered if the main control chip is damaged or the firmware fails. If the KEK is stored in NAND and is only protected by the user password, the security is too low and it is easy to be attacked and cracked. Summary of the invention

[0008] The embodiments of the present application provide a method for obtaining and recovering data encryption keys of a solid-state hard disk and a method for reading and writing data, which can provide a technical basis for user data recovery when the main control chip of the solid-state hard disk is damaged or the firmware is faulty, and can improve the security of the firmware hard disk encryption key.

[0009] The present application provides a method for obtaining a data encryption key of a solid state drive, which may include:

[0010] Get the main control chip management key of the solid-state drive and the created user password;

[0011] Acquire a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method;

[0012] Encrypt the generated key encryption key KEK according to the protection key ENK and a preset second cryptographic method to obtain an encrypted key encryption key CIPHER_KEK;

[0013] The generated data encryption key DEK is encrypted according to the key encryption key KEK and a preset third cryptographic method to obtain the encrypted data encryption key CIPHER_DEK.

[0014] In an exemplary embodiment of the present application, obtaining a main control chip management key of a solid state drive may include:

[0015] Based on the management master key and the unique serial number of the solid state drive, the main control chip management key is generated by a preset fourth cryptographic method.

[0016] In an exemplary embodiment of the present application, the method may further include: storing the generated main control chip management key in a non-volatile memory inside the main control chip of the solid state drive.

[0017] In an exemplary embodiment of the present application, the non-volatile memory may include: a one-time programmable OTP memory, and / or an electrically erasable programmable read-only memory EEPROM.

[0018] In an exemplary embodiment of the present application, the first cryptographic method and the fourth cryptographic method may include: an SM3 cryptographic hash algorithm;

[0019] The second cryptographic method and the second cryptographic method may include: SM4 cryptographic hash algorithm.

[0020] In an exemplary embodiment of the present application, the method may further include:

[0021] Before the solid state hard disk leaves the factory, a preset card activation process is performed on the solid state hard disk, and the main control chip management key is generated in the card activation process.

[0022] In an exemplary embodiment of the present application, the method may further include:

[0023] The encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK are stored in a non-volatile flash memory NAND.

[0024] In an exemplary embodiment of the present application, the method may further include:

[0025] The main control chip of the solid state drive generates a first random number as a key encryption key KEK, and generates a second random number as a data encryption key DEK.

[0026] The present application also provides a method for reading and writing data from a solid state drive, which may include:

[0027] Retrieve the stored main control chip management key and read the input user password;

[0028] Acquire a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method;

[0029] Reading the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK from the non-volatile flash memory NAND;

[0030] Decrypting the encrypted key encryption key CIPHER_KEK according to the protection key ENK to obtain the key encryption key KEK;

[0031] Decrypt the encrypted data encryption key CIPHER_DEK according to the obtained key encryption key KEK to obtain the data encryption key DEK;

[0032] The written data is encrypted according to the acquired data encryption key DEK, or the read encrypted data is decrypted.

[0033] The present application also provides a method for recovering a data encryption key of a solid state drive, which may include:

[0034] After determining that the main control chip is placed in the solid state drive, regenerating the main control chip management key of the solid state drive;

[0035] Reading the input user password, and obtaining the protection key ENK of the key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method;

[0036] Reading the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK from the non-volatile flash memory NAND;

[0037] Decrypting the encrypted key encryption key CIPHER_KEK according to the protection key ENK to obtain the key encryption key KEK;

[0038] The encrypted data encryption key CIPHER_DEK is decrypted according to the obtained key encryption key KEK to obtain the data encryption key DEK.

[0039] Compared with the related art, the embodiment of the present application includes: obtaining the main control chip management key of the solid state drive and the created user password; obtaining the protection key ENK of the key encryption key KEK according to the main control chip management key, the user password and the preset first cryptographic method; encrypting the generated key encryption key KEK according to the protection key ENK and the preset second cryptographic method, and obtaining the encrypted key encryption key CIPHER_KEK; encrypting the generated data encryption key DEK according to the key encryption key KEK and the preset third cryptographic method, and obtaining the encrypted data encryption key CIPHER_DEK. Through this embodiment scheme, it is realized to provide a technical basis for user data recovery when the main control chip of the solid state drive is damaged or the firmware is faulty, and solves the problem that the data encryption key cannot be recovered when the main control chip of the solid state drive is damaged or the firmware is faulty, thereby causing the user data to be unable to be recovered; and solves the problem that the firmware hard disk encryption key is only protected or derived by the user password, and the security is low, and the security of the firmware hard disk encryption key is improved.

[0040] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0042] Figure 1 This is a flow chart of a method for obtaining a data encryption key for a solid state drive according to an embodiment of the present application;

[0043] Figure 2 This is a flow chart of a method for reading and writing data from a solid state drive according to an embodiment of the present application;

[0044] Figure 3 This is a flow chart of a method for recovering data encryption keys of a solid state drive according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0046] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0047] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0048] The present application embodiment provides a method for obtaining a data encryption key of a solid state drive, such as Figure 1 As shown, the method may include steps S101-S104:

[0049] S101, obtaining the main control chip management key of the solid state drive and the created user password;

[0050] S102, obtaining a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method;

[0051] S103, encrypting the generated key encryption key KEK according to the protection key ENK and a preset second cryptographic method to obtain an encrypted key encryption key CIPHER_KEK;

[0052] S104. Encrypt the generated data encryption key DEK according to the key encryption key KEK and a preset third cryptographic method to obtain the encrypted data encryption key CIPHER_DEK.

[0053] In an exemplary embodiment of the present application, the method may further include:

[0054] Before the solid state hard disk leaves the factory, a preset card activation process is performed on the solid state hard disk, and the main control chip management key is generated in the card activation process.

[0055] In an exemplary embodiment of the present application, obtaining a main control chip management key of a solid state drive may include:

[0056] Based on the management master key and the unique serial number of the solid state drive, the main control chip management key is generated by a preset fourth cryptographic method.

[0057] In an exemplary embodiment of the present application, the first cryptography method and the fourth cryptography method may include: an SM3 cryptographic hash algorithm; the second cryptography method and the fourth cryptography method may include: an SM4 cryptographic hash algorithm.

[0058] In an exemplary embodiment of the present application, the method may further include:

[0059] The main control chip of the solid state drive generates a first random number as a key encryption key KEK, and generates a second random number as a data encryption key DEK.

[0060] In an exemplary embodiment of the present application, the method may further include:

[0061] The encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK are stored in a non-volatile flash memory NAND.

[0062] In an exemplary embodiment of the present application, the solid-state drive can be opened when it leaves the factory to import the main control chip management key. The opening process may include: generating the main control chip management key by cryptography according to the management master key of the solid-state drive and the unique serial number of the solid-state drive. For example, it can be done by SM3.

[0063] In an exemplary embodiment of the present application, the method may further include: storing the generated main control chip management key in a non-volatile memory inside the main control chip of the solid state drive.

[0064] In an exemplary embodiment of the present application, the non-volatile memory may include: a one-time programmable OTP memory, and / or an electrically erasable programmable read-only memory EEPROM.

[0065] In an exemplary embodiment of the present application, the main control chip management key is stored in a non-volatile memory such as an OTP or EEPROM inside the chip, ensuring that the main control chip management key of each hard disk is unique.

[0066] In an exemplary embodiment of the present application, after the user obtains the solid state drive, the user can perform a key initialization operation. The user key initialization process may include:

[0067] The user creates a user password;

[0068] According to the user password and the main control chip management key, the protection key ENK of KEK is obtained through the first cryptographic method (such as SM3);

[0069] The main control chip of the solid state drive generates two random numbers (such as a first random number and a second random number) which serve as KEK and DEK;

[0070] The KEK protection key ENK is encrypted by a third cryptographic method (such as SM4) to protect the KEK, thereby obtaining CIPHER_KEK.

[0071] Encrypt DEK using KEK through a third cryptographic method (such as SM4) to obtain CIPHER_DEK;

[0072] Store CIPHER_KEK and CIPHER_DEK in NAND.

[0073] The present application also provides a method for reading and writing data from a solid state drive. Figure 2 As shown, the method may include steps S201-S206:

[0074] S201, retrieve the stored main control chip management key and read the input user password;

[0075] S202, obtaining a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method;

[0076] S203, reading the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK from the non-volatile flash memory NAND;

[0077] S204, decrypting the encrypted key encryption key CIPHER_KEK according to the protection key ENK to obtain the key encryption key KEK;

[0078] S205, decrypting the encrypted data encryption key CIPHER_DEK according to the obtained key encryption key KEK to obtain the data encryption key DEK;

[0079] S206: Encrypt the written data according to the acquired data encryption key DEK, or decrypt the read encrypted data.

[0080] In an exemplary embodiment of the present application, after obtaining the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK, the normal data reading and writing process when the user reads and writes data may include:

[0081] The user enters the user password, obtains the protection key ENK of the key encryption key KEK according to the user password and the retrieved master management key, reads the ciphertext KEK (i.e. CIPHER_KEK) from NAND, and decrypts it to obtain the plaintext KEK (i.e. KEK);

[0082] Using the plaintext KEK, read the ciphertext DEK (i.e. CIPHER_DEK) from NAND and decrypt it to get the plaintext DEK (i.e. DEK);

[0083] When writing data, the user data is encrypted with the obtained plaintext DEK and stored in NAND after encryption;

[0084] When reading data, the ciphertext data is read from NAND, decrypted with the obtained plaintext DEK, and then transmitted to the user.

[0085] In the exemplary embodiments of the present application, data is undoubtedly important to both corporate users and individual users. Currently, solid-state drives are the mainstream product for data storage. Due to different external or internal usage environments, the main control chip of the solid-state drive may be damaged or the firmware may be faulty, resulting in the solid-state drive being unusable. At this time, how to safely recover the user's data is critical and necessary. The recovery of user data is the recovery of the data encryption key. Only by recovering the key can the user data be recovered.

[0086] The present application also provides a method for recovering a data encryption key of a solid state drive. Figure 3As shown, the method may include steps S301-S305:

[0087] S301, after determining that a main control chip is placed in the solid state drive, regenerate a main control chip management key of the solid state drive;

[0088] S302, reading an input user password, and obtaining a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method;

[0089] S303, reading the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK from the non-volatile flash memory NAND;

[0090] S304, decrypting the encrypted key encryption key CIPHER_KEK according to the protection key ENK to obtain the key encryption key KEK;

[0091] S305. Decrypt the encrypted data encryption key CIPHER_DEK according to the obtained key encryption key KEK to obtain the data encryption key DEK.

[0092] In an exemplary embodiment of the present application, when a solid state drive fails, the key recovery process may include:

[0093] Replace the main control chip, re-open the card process, generate the main control chip management key based on the management master key of the solid-state drive and the unique serial number of the solid-state drive, and store it inside the main control chip;

[0094] Obtain the user password entered by the user, read the ciphertext KEK (i.e. CIPHER_KEK) from NAND based on the user password and the master management key, and decrypt it to obtain the plaintext KEK;

[0095] Using the plaintext KEK, the ciphertext DEK (i.e., CIPHER_DEK) is read from the NAND and decrypted to obtain the plaintext DEK; the key recovery process ends.

[0096] In the exemplary embodiment of the present application, the data recovery problem can be solved safely and effectively by using the user password and the main control chip management key to jointly participate in the solution of recovering and protecting the data encryption key. First of all, the user password is in the hands of the user. Without the user password, other people or solid-state drive manufacturers cannot perform data recovery. Even if there is a user password, data recovery can only be performed with the main control chip management key, and the main control chip management key is in the hands of the solid-state drive manufacturer or enterprise manager, which is conducive to risk control and further prevents data loss.

[0097] In the exemplary embodiments of the present application, at least the following advantages are included:

[0098] 1. Both KEK and DEK are randomly generated by the main control chip. KEK is used to encrypt DEK. According to different security policies, KEK can be updated as needed without affecting the currently encrypted user data.

[0099] 2. DEK is encrypted by KEK and stored in NAND. KEK is protected by the user password and the main control chip management key MEK through cryptography, and the ciphertext KEK is also stored in NAND;

[0100] 3. The main control chip management key MEK is imported in a secure environment when the SSD is activated. The key is generated by the management master key and the SSD serial number through cryptography to ensure that each hard disk key is different. The key is stored inside the main control chip. According to the security policy, the management master key can be the manufacturer's master key, which is fixed for each manufacturer; it can also be the product master key, which is different for different batches; it can also be the enterprise user master key, which is provided by the enterprise user and different for different users;

[0101] 4. When the main control chip is damaged or the firmware fails, the user password and the main control chip management key are required to recover the encryption key. The recovery process includes: deriving the main control chip management key based on the unique serial number of the solid-state drive and the management master key; recovering the KEK based on the main control chip management key and the user password; recovering the DEK based on the recovered KEK; recovering the user data based on the recovered DEK;

[0102] 5. To recover the data encryption key due to damage to the main control chip or firmware failure, both the user password and the main control chip management key are required. The main control chip management key is controlled by the hard disk manufacturer or enterprise user management, so security is guaranteed, which is more conducive to risk control and effectively prevents illegal data recovery.

[0103] 6. Use the user password and the main control chip management key to jointly protect KEK. The main control chip management key has one piece and one password. KEK and DEK use random numbers, which are more secure.

[0104] 7. KEK and DEK use cryptographic mechanisms and are securely stored in NAND to recover data after the main control chip is damaged or the firmware fails.

[0105] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A method for obtaining a data encryption key of a solid state drive, characterized in that: The method comprises: Get the main control chip management key of the solid state drive and the created user password; Acquire a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method; Encrypt the generated key encryption key KEK according to the protection key ENK and a preset second cryptographic method to obtain an encrypted key encryption key CIPHER_KEK; Encrypt the generated data encryption key DEK according to the key encryption key KEK and a preset third cryptographic method to obtain an encrypted data encryption key CIPHER_DEK; Storing the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK in a non-volatile flash memory NAND; The method also includes: before the solid-state hard disk leaves the factory, executing a preset card activation process for the solid-state hard disk, and generating the main control chip management key in the card activation process; storing the generated main control chip management key in a non-volatile memory inside the main control chip of the solid-state hard disk; wherein the main control chip management key is generated based on the management master key and unique serial number of the solid-state hard disk by a preset fourth cryptographic method.

2. The method for obtaining a data encryption key of a solid state drive according to claim 1, wherein: The non-volatile memory includes: a one-time programmable OTP memory and / or an electrically erasable programmable read-only memory EEPROM.

3. The method for obtaining a data encryption key of a solid state drive according to claim 1, wherein: The first cryptographic method and the fourth cryptographic method include: SM3 cryptographic hash algorithm; The second cryptographic method and the second cryptographic method include: SM4 cryptographic hash algorithm.

4. The method for obtaining a data encryption key of a solid state drive according to any one of claims 1 to 3, characterized in that: The method further comprises: The main control chip of the solid state drive generates a first random number as a key encryption key KEK, and generates a second random number as a data encryption key DEK.

5. A method for recovering data encryption keys of a solid state drive, characterized in that: The method comprises: Before the solid-state hard disk leaves the factory, a preset card opening process is performed on the solid-state hard disk, and a main control chip management key is generated in the card opening process; the generated main control chip management key is stored in a non-volatile memory inside the main control chip of the solid-state hard disk; wherein the main control chip management key is generated by a preset fourth cryptographic method based on the management master key and the unique serial number of the solid-state hard disk; After determining that the main control chip is placed in the solid state drive, regenerating the main control chip management key of the solid state drive; Reading the input user password, and obtaining the protection key ENK of the key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method; Reading the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK from the non-volatile flash memory NAND; Decrypting the encrypted key encryption key CIPHER_KEK according to the protection key ENK to obtain the key encryption key KEK; The encrypted data encryption key CIPHER_DEK is decrypted according to the obtained key encryption key KEK to obtain the data encryption key DEK.

6. A method for reading and writing data of a solid state hard disk, characterized in that: The method comprises: Before the solid-state hard disk leaves the factory, a preset card opening process is performed on the solid-state hard disk, and a main control chip management key is generated in the card opening process; the generated main control chip management key is stored in a non-volatile memory inside the main control chip of the solid-state hard disk; wherein the main control chip management key is generated by a preset fourth cryptographic method based on the management master key and the unique serial number of the solid-state hard disk; Retrieve the stored main control chip management key and read the input user password; Acquire a protection key ENK of a key encryption key KEK according to the main control chip management key, the user password and a preset first cryptographic method; Reading the encrypted key encryption key CIPHER_KEK and the encrypted data encryption key CIPHER_DEK from the non-volatile flash memory NAND; Decrypting the encrypted key encryption key CIPHER_KEK according to the protection key ENK to obtain the key encryption key KEK; Decrypt the encrypted data encryption key CIPHER_DEK according to the obtained key encryption key KEK to obtain the data encryption key DEK; The written data is encrypted according to the acquired data encryption key DEK, or the read encrypted data is decrypted.

Citation Information

Patent Citations

  • Solid state disk data encryption method and system

    CN107315966A

  • Key negotiation method, security guiding method and system for self-encryption solid state disk

    CN111460455A