A security chip management system, method, device and storage medium
By providing a unified security chip access interface and mounting interface in the Internet of Things operating system, the problem of complexity of security chip management in the existing technology is solved, and the versatility of the application program and the efficiency of driver development are improved.
Patent Information
- Application Number
- CN202011452321.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-12-10
AI Technical Summary
Existing IoT operating systems lack standard access interfaces for security chip management, resulting in poor application versatility and portability, difficulty in driver development, and low efficiency.
Provide a security chip management system, including a security component, a security chip driver module and a communication bus driver module. The security component provides a unified access interface for the application layer and a unified mounting interface for the driver layer, and manages the module through the algorithm descriptor Unified driver layer access interface.
It improves the versatility and portability of applications, reduces the difficulty and time of driver development, and improves development efficiency.
Smart Images

Figure CN114626082B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a security chip management system and method based on an Internet of Things operating system. Background Art
[0002] With the application of the Internet of Things, massive amounts of data involving user privacy will be recorded by various IoT devices, and the data security risks are becoming more serious. Due to the limited resources of general-purpose MCUs in the IoT, security chips are playing an increasingly important role in the security of IoT devices.
[0003] There are many kinds of security chips on the market. Security chips of different brands support different security functions, the communication protocols with MCUs vary greatly, and the hardware access interfaces are not unified. The current problems of IoT operating systems in the management of security chips are: at the application layer, there is no standard security chip access interface, resulting in poor application versatility and portability; at the driver layer, there is no standard driver layer access interface, which makes the development of replacing security chips difficult and inefficient. Summary of the invention
[0004] The embodiments of the present application provide a security chip management system, method, device and storage medium, which provide a standard and unified security chip access interface for the application layer, thereby improving the versatility and portability of the application program; and provide a standard and unified mounting interface for the driver layer, thereby reducing the difficulty of driver development and improving development efficiency.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a security chip management system, the system comprising:
[0007] Security chip hardware, security components, security chip driver module and communication bus driver module;
[0008] The security component includes a unified access interface for the application layer and a unified access mounting interface for the driver layer; the security component is divided into at least one of a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, a message identification code management module and an algorithm descriptor management module according to different functions;
[0009] The security chip driver module is used to provide a communication protocol for the security chip;
[0010] The communication bus driver module is used to provide bus driver for the security chip driver module to access the security chip.
[0011] Optionally, the algorithm descriptor management module is used for the security chip to access the mutex lock, and to initialize, destroy and clear the algorithm descriptor of the mounting driver layer.
[0012] Optionally, the key storage management module is divided into a symmetric encryption algorithm key management module and an asymmetric encryption algorithm key management module, and both the symmetric encryption algorithm key management module and the asymmetric encryption algorithm key management module include an algorithm type module, a key information module, and a key management operation module;
[0013] The key information includes at least one of a key ID, a key type, a key storage location, a key exportable identifier, a key, and a key length;
[0014] The key management operation includes at least one of key generation, key update, key import and key export.
[0015] Optionally, the symmetric encryption management module includes at least one of an algorithm information module, a key information module, a feature information IV information module and a symmetric encryption operation module; the key information includes a key ID, a key usage mode, a key and a key length; the IV information includes at least one of an IV vector length, an IV vector offset and an IV vector value; the symmetric encryption operation performed by the symmetric encryption operation module includes at least one of encryption and decryption;
[0016] The asymmetric encryption management module includes an algorithm type module, a key information module and an asymmetric encryption operation module; the key information includes at least one of a key ID, a key parameter, a key usage method, a key and a key length; the asymmetric encryption operation performed by the asymmetric encryption operation module includes at least one of encryption, decryption, signing and signature verification.
[0017] Optionally, the hash management module includes an algorithm information module and a hash operation module: the algorithm information includes at least one of algorithm type, block size, hash calculation value and processing length; the hash operation includes at least one of initialization, update block, last block and single hash calculation.
[0018] Optionally, the message identification code management module includes at least one of an algorithm information module, a key information module, an IV information module and a message identification code operation module: the key information includes at least one of a key ID, a key usage method, a key and a key length; the IV information includes at least one of an IV vector length, an IV vector offset and an IV vector value; the message identification code operation performed by the message identification code operation module includes at least one of initialization, update blocking, final blocking and a single message identification code calculation.
[0019] In a second aspect, an embodiment of the present application provides a security chip management method, the method comprising:
[0020] The application calls a functional interface inside the security component, wherein the functional interface includes at least one of a key storage management module functional interface, a data storage management module functional interface, a symmetric encryption management module functional interface, an asymmetric encryption management module functional interface, a hash management module functional interface, and a message identification code management module functional interface;
[0021] The security component management module applies for an algorithm descriptor memory from the algorithm descriptor management module, wherein the algorithm descriptor includes an algorithm descriptor of at least one of a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, and a message identification code management module;
[0022] The algorithm descriptor corresponding module initializes the algorithm descriptor and mounts the driver layer access interface corresponding to the algorithm descriptor;
[0023] The algorithm descriptor corresponding module performs structural filling on the algorithm descriptor;
[0024] The algorithm descriptor corresponding module calls the driver layer access interface corresponding to the mounted algorithm descriptor and passes in the algorithm descriptor information;
[0025] The algorithm descriptor corresponding module obtains the operation result and releases the algorithm descriptor memory.
[0026] Optionally, the startup process of the security component management module includes:
[0027] The safety chip driver module is initialized and the safety chip is powered on and started;
[0028] Initialize the public resources of the security component and create a security chip access mutex lock;
[0029] The descriptor operation of the mounting driver layer is mounted to the algorithm descriptor management module; the descriptor operation includes initialization, destruction or clearing.
[0030] In a third aspect, an embodiment of the present application provides an electronic device, characterized in that it includes: a memory, a processor, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the steps in the security chip management method when executed by the processor.
[0031] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps in the security chip management method are implemented.
[0032] In the embodiments of the present application, a security chip management system, method, device and storage medium are provided. The security chip management system includes security chip hardware, security components, security chip driver modules and communication bus driver modules, wherein the security components include a unified access interface for the application layer and a unified access mounting interface for the driver layer; each management module of the security component provides a unified access interface for the application layer. An algorithm descriptor method is also adopted, and the algorithm descriptor provides a unified mounting method for the driver layer access interface, and the specific algorithm descriptor uniformly provides necessary access information for the specific functions of the driver layer. The security chip driver module is used to provide the communication protocol of the security chip; the communication bus driver module is used to provide a bus driver for the security chip driver module to access the security chip. Providing a standard and unified security chip access interface for the application layer improves the versatility and portability of the application; providing a standard and unified mounting interface for the driver layer reduces the difficulty of driver development and improves the efficiency of development. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 is a block diagram of a security chip management system provided in an embodiment of the present application;
[0035] Figure 2 It is a security component structure provided by an embodiment of the present application;
[0036] Figure 3 This is the security component startup process provided by the embodiment of the present application;
[0037] Figure 4 This is the security component access process provided by the embodiment of the present application;
[0038] Figure 5 This is a schematic diagram of the process flow of the security chip management method provided in an embodiment of the present application;
[0039] Figure 6 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] In view of the deficiencies in the prior art, the present application provides a security chip management system and method based on an Internet of Things operating system.
[0042] Figure 1 The secure chip management system provided in an embodiment of the present application is shown, and the system includes: a secure component 101, a secure chip driver module 102, a communication bus driver module 103 and secure chip hardware 104.
[0043] The security component 101 includes a unified access interface for the application layer and a unified access mounting interface for the driver layer; the security component 101 is divided into at least one of a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, a message identification code management module and an algorithm descriptor management module according to different functions.
[0044] The security chip driving module 102 is used to provide the communication protocol of the security chip.
[0045] The communication bus driver module 103 is used to provide bus driver for the security chip driver module to access the security chip 104 .
[0046] In a possible implementation manner, the algorithm descriptor management module is used for the security chip to access the mutex lock, and to initialize, destroy, and clear the algorithm descriptor of the mounting driver layer.
[0047] In a possible implementation, the key storage management module is divided into a symmetric encryption algorithm key management module and an asymmetric encryption algorithm key management module, and both the symmetric encryption algorithm key management module and the asymmetric encryption algorithm key management module include an algorithm type module, a key information module, and a key management operation module.
[0048] The key information includes at least one of a key ID, a key type, a key storage location, a key exportable identifier, a key and a key length; and the key management operation includes at least one of key generation, key update, key import and key export.
[0049] In a possible implementation, the symmetric encryption management module includes at least one of an algorithm information module, a key information module, a characteristic information IV information module and a symmetric encryption operation module; the key information includes a key ID, a key usage method, a key and a key length; the IV information includes at least one of an IV vector length, an IV vector offset and an IV vector value; the symmetric encryption operation performed by the symmetric encryption operation module includes at least one of encryption and decryption.
[0050] In a possible implementation, the asymmetric encryption management module includes an algorithm type module, a key information module and an asymmetric encryption operation module; the key information includes at least one of a key ID, a key parameter, a key usage method, a key and a key length; the asymmetric encryption operation performed by the asymmetric encryption operation module includes at least one of encryption, decryption, signing and signature verification.
[0051] In one possible implementation, the hash management module includes an algorithm information module and a hash operation module: the algorithm information includes at least one of an algorithm type, a block size, a hash calculation value, and a processing length; the hash operation includes at least one of initialization, update blocking, last blocking, and a single hash calculation.
[0052] In a possible implementation, the message identification code management module includes at least one of an algorithm information module, a key information module, an IV information module and a message identification code operation module: the key information includes at least one of a key ID, a key usage method, a key and a key length; the IV information includes at least one of an IV vector length, an IV vector offset and an IV vector value; the message identification code operation performed by the message identification code operation module includes at least one of initialization, update blocking, final blocking and a single message identification code calculation.
[0053] The security chip management system provided by the embodiment of the present application is divided into a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, a message identification code management module according to different functions through the security component, and a common algorithm descriptor management module is abstracted. And each management module of the security component provides a unified access interface to the application layer. The algorithm descriptor method is also adopted, in which the algorithm descriptor provides a unified mounting method for the driver layer access interface, and the specific algorithm descriptor uniformly provides the necessary access information for the specific functions of the driver layer.
[0054] It can be seen that the access to the security chip provided in the embodiment of the present application mainly involves four sections, which are specifically described as follows:
[0055] (1) Security components, including providing a unified access interface for the application layer and a unified access mounting interface for the driver layer.
[0056] (2) Security chip driver module, providing the communication protocol of the security chip.
[0057] (3) Communication bus driver module, which provides bus driver for the security chip driver to access the security chip.
[0058] (4) Security chip hardware.
[0059] The embodiments of the present application are mainly directed to the security component. According to the general functions provided by the security chip, the security component structure is as follows: Figure 2 As shown. The security component is divided into key storage management module, data storage management module, symmetric encryption management module, asymmetric encryption management module, hash management module, and message identification code management module according to different functions, and a common algorithm descriptor management module is abstracted. There is no connection between the key storage management module, data storage management module, symmetric encryption management module, asymmetric encryption management module, hash management module, and message identification code management module. Each functional module is independent, and the algorithm descriptor management uniformly manages the algorithm descriptors of the above modules.
[0060] Specifically, it will combine Figure 2 Further explanation:
[0061] (1) Algorithm descriptor management module
[0062] The algorithm descriptor node management module is an abstraction of the common functions of other management modules. Its functions include two parts:
[0063] a. Security chip access mutex lock.
[0064] b. Initialization, destruction and clearing of the mount driver layer algorithm descriptor.
[0065] (2) Key storage management module
[0066] Key storage management is divided into symmetric encryption algorithm key management and asymmetric encryption algorithm key management. Both types of key management include algorithm type, key information, and key management operations:
[0067] a. Algorithm types include AES, DES, 3DES, SM1, SM4, RSA, SM2, SM9, etc.
[0068] b. Key information includes key ID, key type, key storage location, key exportable flag, key, key length, etc.
[0069] c. Key management operations include key generation, key update, key import, and key export.
[0070] (3) Symmetric encryption management module
[0071] Symmetric encryption management includes four parts: algorithm information, key information, IV information, and symmetric encryption operation:
[0072] a. Algorithm information includes algorithm type (AES, DES, 3DES, SM1) and algorithm mode.
[0073] b. Key information includes key ID, key usage method, key, key length, etc.
[0074] c.IV information includes IV vector length, IV vector offset, and IV vector value.
[0075] d. Symmetric encryption operations include encryption and decryption.
[0076] (4) Asymmetric encryption management module
[0077] The asymmetric encryption management module includes three parts: algorithm type, key information, and asymmetric encryption operation:
[0078] a. Algorithm types include RSA, SM2, and SM9.
[0079] b. Key information includes key ID, key parameters, key usage method, key, key length, etc.
[0080] c. Asymmetric encryption operations include encryption, decryption, signing, and signature verification.
[0081] (5) Hash management module
[0082] The hash management module contains two parts: algorithm information and hash operation:
[0083] a. Algorithm information includes algorithm type, block size, hash calculation value, processing length, etc.
[0084] b. Hash operations include initialization, updating blocks, final blocks, and single hash calculations.
[0085] (6) Message Identification Code Management Module
[0086] The message identification code management module includes four parts: algorithm information, key information, characteristic information value (IV), and message identification code operation:
[0087] a. Algorithm information includes algorithm type and algorithm mode.
[0088] b. Key information includes key ID, key usage method, key, key length, etc.
[0089] c. The IV information includes IV vector length, IV vector offset, and IV vector value.
[0090] d. Message identification code operations include initialization, update block, final block, and single message identification code calculation.
[0091] (7) Data storage management module
[0092] Data storage management includes two parts: data information and data operation:
[0093] a. Data information includes storage method, storage location, storage data and length.
[0094] b. Data operations include writing user data and reading user data.
[0095] Only after the security component is started, the functions of each functional module can operate normally. The specific startup process of the security component is as follows: Figure 3 As shown:
[0096] Step 301: The security chip driver module is initialized, and the security chip is powered on and ready to start.
[0097] Step 302: Initialize the public resources of the security component and create a security chip access mutex.
[0098] Step 303: Mount the descriptor operations (initialization, destruction, clearing) of the driver layer to the algorithm descriptor management module of the security component.
[0099] The application layer accesses the security component after the security component is started. The application layer is the user of the security component. The process of the application layer accessing the security component is as follows: Figure 4 As shown:
[0100] Step 401: The application calls any functional interface (key storage, data storage, symmetric encryption, asymmetric encryption, hashing, message identification code) within the security component.
[0101] Step 402: The management module corresponding to the security component function applies to the algorithm descriptor management module for specific algorithm descriptor memory. The "specific algorithm descriptor memory" can be any one of the following functional modules: key storage management module, data storage management module, symmetric encryption management module, asymmetric encryption management module, hash management module, message identification code management module.
[0102] Step 403: Initialize the specific algorithm descriptor and mount the corresponding driver layer access interface.
[0103] Step 404: Fill the structure of the specific algorithm descriptor.
[0104] Step 405: Call the mounted driver interface and pass in specific algorithm descriptor information.
[0105] Step 406: Get the operation result and release the algorithm descriptor memory.
[0106] In summary, a security chip management system is provided in an embodiment of the present application. The security chip management system includes security chip hardware, security components, security chip driver modules and communication bus driver modules, wherein the security components include a unified access interface for the application layer and a unified access mounting interface for the driver layer; each management module of the security component provides a unified access interface for the application layer. An algorithm descriptor is also adopted, and the algorithm descriptor provides a unified mounting method for the driver layer access interface, and the specific algorithm descriptor uniformly provides necessary access information for the specific functions of the driver layer. The security chip driver module is used to provide the communication protocol of the security chip; the communication bus driver module is used to provide a bus driver for the security chip driver module to access the security chip. Providing a standard and unified security chip access interface for the application layer improves the versatility and portability of the application; providing a standard and unified mounting interface for the driver layer reduces the difficulty of driver development and improves the efficiency of development.
[0107] Based on the same technical concept, the present application embodiment also provides a security chip management method, such as Figure 5 As shown, the method includes:
[0108] Step 601: The application calls a function interface inside the security component, wherein the function interface includes at least one of a key storage management module function interface, a data storage management module function interface, a symmetric encryption management module function interface, an asymmetric encryption management module function interface, a hash management module function interface, and a message identification code management module function interface;
[0109] Step 602: The security component management module applies to the algorithm descriptor management module for an algorithm descriptor memory, wherein the algorithm descriptor includes an algorithm descriptor of at least one of a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, and a message identification code management module;
[0110] Step 603: the module corresponding to the algorithm descriptor initializes the algorithm descriptor and mounts the driver layer access interface corresponding to the algorithm descriptor;
[0111] Step 604: the algorithm descriptor corresponding module performs structural filling on the algorithm descriptor;
[0112] Step 605: the algorithm descriptor corresponding module calls the driver layer access interface corresponding to the mounted algorithm descriptor and inputs the algorithm descriptor information;
[0113] Step 606: The module corresponding to the algorithm descriptor obtains the operation result and releases the algorithm descriptor memory.
[0114] In a possible implementation, the startup process of the security component management module includes: initializing the security chip driver module and completing the power-on startup of the security chip; initializing the common resources of the security component and creating a security chip access mutex; mounting the descriptor operation of the driver layer to the algorithm descriptor management module; the descriptor operation includes initialization, destruction or clearing.
[0115] It should be noted that any implementation method in the method embodiment applied to the slice management functional entity in the embodiment of the present application can be implemented by the above-mentioned slice management functional entity in this embodiment and achieve the same beneficial effects, which will not be repeated here.
[0116] See also Figure 6 , Figure 6 is a structural diagram of an electronic device provided by an embodiment of the present invention, such as Figure 6 As shown, the electronic device includes: a memory 601, a processor 602, and a program or instruction stored in the memory 601 and executable on the processor 602, and when the program or instruction is executed by the processor 602, the steps in the above-mentioned security chip management method are implemented.
[0117] An embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned security chip management method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0118] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0120] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A security chip management method, characterized in that: The method comprises: The application calls a functional interface inside the security component, wherein the functional interface includes at least one of a key storage management module functional interface, a data storage management module functional interface, a symmetric encryption management module functional interface, an asymmetric encryption management module functional interface, a hash management module functional interface, and a message identification code management module functional interface; The security component management module applies for an algorithm descriptor memory from the algorithm descriptor management module, wherein the algorithm descriptor includes an algorithm descriptor of at least one of a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, and a message identification code management module; The algorithm descriptor management module initializes the algorithm descriptor and mounts the driver layer access interface corresponding to the algorithm descriptor; The algorithm descriptor management module performs structural filling on the algorithm descriptor; The algorithm descriptor management module calls the driver layer access interface corresponding to the mounted algorithm descriptor and inputs the algorithm descriptor information; The algorithm descriptor management module obtains the operation result and releases the algorithm descriptor memory.
2. The method according to claim 1, characterized in that: The startup process of the security component management module includes: The safety chip driver module is initialized and the safety chip is powered on and started; Initialize the public resources of the security component and create a security chip access mutex lock; The descriptor operation of the mounting driver layer is mounted to the algorithm descriptor management module, and the descriptor operation includes initialization, destruction or clearing.
3. A security chip management system, characterized in that: The security chip management system is applied to the method described in claim 1 or 2, and the system comprises: security chip hardware, security components, a security chip driver module and a communication bus driver module; The security component includes a unified access interface for the application layer and a unified access mounting interface for the driver layer; the security component is divided into at least one of a key storage management module, a data storage management module, a symmetric encryption management module, an asymmetric encryption management module, a hash management module, a message identification code management module and an algorithm descriptor management module according to different functions; The security chip driver module is used to provide a communication protocol for the security chip; The communication bus driver module is used to provide bus driver for the security chip driver module to access the security chip.
4. The system according to claim 3, characterized in that The algorithm descriptor management module is used for the security chip to access the mutex lock, and for initializing, destroying and clearing the algorithm descriptor of the mounting driver layer.
5. The system according to claim 3, characterized in that The key storage management module is divided into a symmetric encryption algorithm key management module and an asymmetric encryption algorithm key management module, and the symmetric encryption algorithm key management module and the asymmetric encryption algorithm key management module both include an algorithm type module, a key information module, and a key management operation module; The key information includes at least one of a key ID, a key type, a key storage location, a key exportable identifier, a key, and a key length; The key management operation includes at least one of key generation, key update, key import and key export.
6. The system according to claim 3, characterized in that The symmetric encryption management module includes at least one of an algorithm information module, a key information module, a feature information IV information module and a symmetric encryption operation module; the key information includes a key ID, a key usage mode, a key and a key length; the IV information includes at least one of an IV vector length, an IV vector offset and an IV vector value; the symmetric encryption operation performed by the symmetric encryption operation module includes at least one of encryption and decryption; The asymmetric encryption management module includes an algorithm type module, a key information module and an asymmetric encryption operation module; the key information includes at least one of a key ID, a key parameter, a key usage method, a key and a key length; the asymmetric encryption operation performed by the asymmetric encryption operation module includes at least one of encryption, decryption, signing and signature verification.
7. The system according to claim 3, characterized in that The hash management module includes an algorithm information module and a hash operation module: the algorithm information includes at least one of algorithm type, block size, hash calculation value and processing length; the hash operation includes at least one of initialization, update block, last block and single hash calculation.
8. The system according to claim 3, characterized in that The message identification code management module includes at least one of an algorithm information module, a key information module, an IV information module and a message identification code operation module: the key information includes at least one of a key ID, a key usage method, a key and a key length; the IV information includes at least one of an IV vector length, an IV vector offset and an IV vector value; the message identification code operation performed by the message identification code operation module includes at least one of initialization, update blocking, final blocking and a single message identification code calculation.
9. An electronic device, characterized in that: include: A memory, a processor, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps in the security chip management method as described in any one of claims 1 to 2.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps in the security chip management method according to any one of claims 1 to 2 are implemented.
