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

Claim 6:
7. A control method of a secure memory card, the secure memory card being adapted to be used with a host, the host including a file system, the secure memory card including a non-volatile memory device, a secure element and a non-volatile memory controller, and the control method comprising:
in response to the host issuing a secure-element control command, which is a single command taking a single instruction cycle and corresponds to a specific address belonging to a reserved range of addresses of the non-volatile memory device, to the non-volatile memory controller, the non-volatile memory controller interacts with the secure element to conduct a securing operation; and
in response to the host issuing a non-secure-element control command, which corresponds to a regular address belonging to a regular range of addresses of the non-volatile memory device different from the reserved range of addresses, to the non-volatile memory controller, the non-volatile memory controller interacts with the non-volatile memory device while having no interaction with the secure element,
wherein:
in response to determining the secure-element control command is a write command corresponding to a first specific address, the securing operation is that the firmware of the non-volatile memory controller recognizing the first specific address sets the secure element to be in a first encryption mode, and when the secure-element control command is a write command corresponding to a second specific address different from the first specific address, the securing operation is executed by the firmware of the non-volatile memory controller recognizing the second specific address to set the secure element to be in a second encryption mode different from the first encryption mode;
in response to determining the secure-element control command is a write command containing a first specific data to be written into a third specific address belonging to the reserved range of addresses, the securing operation is that the firmware of the non-volatile memory controller recognizing the third specific address revises a set of parameters of the secure element according to the first specific data;
in response to determining the secure-element control command is a write command corresponding to a fourth specific address belonging to the reserved range of addresses, the securing operation is that a firmware of the non-volatile memory controller recognizing the fourth specific address reads a specific information from the secure element; or
in response to determining the secure-element control command is a data access command taking a single instruction cycle and corresponding to a sixth specific address belonging to the reserved range of addresses and dynamically selected from a group consisting of a plurality of multi-bit digits, which comply with a specific formula, the securing operation is that a firmware of the non-volatile memory controller recognizing the sixth specific address performs data access to the sixth specific address.