Patent ID: 11960423
Assignee: CHENGDU STARBLAZE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A method for processing a key update command, comprising:
in response to a key update command, reading data from a logical address instructed by the key update command, and storing the data read at a first address of a cache;
initiating an outgoing DMA transmission to move the data from the first address to a second address, and during the transfer process, decrypting the data read by using an old key to obtain a plaintext data and encrypting the plaintext data by using a new key to obtain a cipher text data; and
writing the cipher text data at the second address into the logical address;
wherein an outgoing DMA module sends the plaintext data to a transport layer transmission module; the transport layer transmission module sends the plaintext data to a second loopback control module via a first loopback control module according to the destination address of the DMA transmission; a transport layer reception module provides the plaintext data received by the second loopback control module to a memory access module; and the memory access module stores the cipher text data in the second address of the cache.