Valid

GM/T 0104-2021Specifications of cloud host cryptographic server (English PDF)

云服务器密码机技术规范

Preview PDF

This is a limited preview

Buy now to download the full PDF

Need quotation for your management?

Get a formal quotation for GM/T 0104-2021 in 30 minutes.

Issued by

State Administration of Cryptography

Level / Type

National · Recommended

Issue date

October 18, 2021

Implementation date

May 1, 2022

Scope

GM/T 0104-2021 is the English-translated version of 云服务器密码机技术规范.

GM/T 0104-2021 — This document defines the relevant terms of cloud cryptographic server, and specifies the overall structure, functional requirements, hardware requirements, software requirements, security requirements and testing requirements of cloud cryptographic server.

This document applies to the development and use of cloud cryptographic server, and can also be used to guide the testing of cloud cryptographic server.

Found what you need?

Document preview — GM/T 0104-2021

National Standard of the People's Republic of China

ICS
35.030
Classification
L 80

Contents

  • Scope1
  • Normative references2
  • Terms and definitions3
  • Abbreviated terms4
  • Device form5
  • Management requirements6
  • Initialization7
  • Registration, scheduling and monitoring8
  • Log audit9
  • Device self-checking10
  • Device use11
  • Virtual security module life cycle management12
  • Key management function13
  • Secure storage and destruction of keys14
  • Backup/Recovery15
  • Access control and identity authentication16
  • Random number generation and verification17
  • Hardware security18
  • Software security19
  • External interface20
  • Randomizer21
  • Environmental adaptability22
  • Reliability23
  • Basic requirements24
  • Service interface25
  • Management interface26
  • Service interface27
  • Management interface28

1 Scope

This document defines the relevant terms of cloud cryptographic server, and specifies the overall structure, functional requirements, hardware requirements, software requirements, security requirements and testing requirements of cloud cryptographic server.

This document applies to the development and use of cloud cryptographic server, and can also be used to guide the testing of cloud cryptographic server.

2 Normative references

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the version corresponding to that date is applicable to this document; for undated references, the latest version (including all amendments) is applicable to this document.

GB/T 9813.3-2017, General specification for computer - Part 3: Server GB/T 31168-2014, Information security technology - Security capability requirements of cloud computing services GB/T 32915-2016, Information security technology - Binary sequence randomness detection method GB/T 35293-2017, Information technology - Cloud computing - General technical requirements of virtual machine management GB/T 36322-2018, Information security technology - Cryptographic device application interface specifications

3 Terms and definitions

For the purpose of this document, the following terms and definitions, as well as those given in GM/Z 4001, apply.

cloud computing

A model that accesses a scalable and flexible pool of physical or virtual resources through the network and can obtain and manage resources on demand by itself.

cloud-hosted hardware security module (CHSM) / cloud cryptographic server A cryptographic server that, in the cloud computing environment, provides cryptographic services for multiple tenants' application systems, in a network form, by using virtualization technology.

host

A physical device that provides a running environment and hardware resources for the virtual security module. Multiple virtual security modules in the same host share the cryptographic computing resources and key storage resources in the host.

single root I/O virtualization; SRIOV A specification that enables a single PCIE physical device under a single root port to display as multiple separate virtual PCIE devices (VFs) to a hypervisor or guest operating system.

private key access password A passphrase used to verify access to the private key.

virtual security module; VSM A cryptographic service instance created on a cloud cryptographic server using virtualization technology that provides services similar to those of a physical cryptographic server.

4 Abbreviated terms

For the purposes of this document, the following abbreviated terms apply.

CBC. Cipher Block Chaining

5.1 Device form

The cloud cryptographic server is physically an independent cryptographic device, and logically consists of a host and several virtual security modules. The overall structure of the cloud cryptographic server is shown in Figure 1.

5.2.1 Management requirements

The host of the cloud cryptographic server is managed and used by the cloud platform or the owner of the cloud cryptographic server, and the virtual security module is managed and used by the tenant.

5.2.2 Initialization

The initialization of the cloud cryptographic server host mainly includes the generation (recovery) and installation of the host key, the generation of administrators, the secure storage and backup of the key according to the security mechanism, so that the device is in a ready state.

5.2.3 Registration, scheduling and monitoring

The cloud cryptographic server host should have the function of registering with the cloud platform management system, registering the physical resources of the host's physical device (processor, memory, network, cryptographic computing power, key storage capacity, etc.), and accepting the cloud platform management system's scheduling management and real-time monitoring of its operational state.

5.4 Log audit

The cloud cryptographic server host and different virtual security modules shall provide log record, view and export functions.

5.5 Device self-checking

The cloud cryptographic server host and virtual security module shall have the function of self-checking at startup and self-checking when receiving self-checking instructions, and should have the function of periodic self-checking.

5.6 Device use

Tenants can use the virtual security module according to the following process.

5.7.1 Virtual security module life cycle management

The cloud cryptographic server shall have virtualization function, to be able to accept external commands, as well as to create, start, stop and destroy virtual security modules.

6.1.1 Key management function

The host of the cloud cryptographic server shall have the functions of generating, installing, storing, using, destroying, backing up and restoring all the keys of the host;

the virtual security module of the cloud cryptographic server shall have the functions of generating, installing, storing, using, destroying, backing up and restoring all the keys of the virtual security module. The host cannot manage and access the keys of virtual security modules; the virtual security module cannot manage and access the keys of other virtual security modules other than itself and the host.

6.1.4 Secure storage and destruction of keys

Each virtual security module of the cloud cryptographic server shall be able to store at least 32 pairs of asymmetric keys and 100 symmetric keys.

6.1.6 Backup/Recovery

For persistently stored keys, the cloud cryptographic server shall have backup/recovery functions.

6.2 Access control and identity authentication

The cloud cryptographic server shall have an identity authentication mechanism.

Bidirectional identity authentication shall be performed between the host and the administrator, between the virtual security module and the administrator, and between the tenant/application using the virtual security module and the virtual security module, and shall comply with the provisions for identity authentication of administrators and users at security level 2 and above in GB/T 37092.

6.3 Random number generation and verification

Each virtual security module shall have an independent random number generation function, and the random numbers generated by the virtual security module shall comply with the requirements of GB/T 32915 and the provisions of GM/T 0062 for Class E products.

6.4 Hardware security

The hardware of the cloud cryptographic server shall comply with the physical security requirements for hardware modules of security level 2 and above in GB/T 37092.

The cloud cryptographic server shall provide security measures to ensure the storage security of cryptographic algorithms, keys, and key data.

6.5 Software security

The software and firmware of the cloud cryptographic server shall comply with the software/firmware security regulations of security level 2 and above in GB/T 37092.

All security protocols and management software shall be implemented independently.

The operating system shall be hardened for security, all unnecessary functions shall be cut off, and all unnecessary ports and services shall be closed.

7.1 External interface

The cloud cryptographic server shall provide service interfaces and management interfaces respectively, and can be connected to the service object and management platform through physical or virtual networks.

7.2 Randomizer

The cloud cryptographic server shall provide multiple random sources and be implemented with at least two independent physical noise source chips. The random numbers of the virtual security module shall come from at least two independent physical noise source chips.

7.3 Environmental adaptability

The working environment of the cloud cryptographic server shall comply with the provisions on "climate and environmental adaptability" in GB/T 9813.3.

7.4 Reliability

The average trouble-free working time of the cloud cryptographic server shall not be less than 10 000 hours. The failure and switching of the virtual security module shall not affect the overall reliability of the cloud cryptographic server.

8.1 Basic requirements

The underlying software of the cloud cryptographic server shall adopt a modular design, and technical measures shall be taken to prevent illegal calls by users. The software running on the host and the virtual security module cannot call each other, and the software running on different virtual security modules cannot call each other.

9.1 Service interface

The virtual security module can provide cryptographic services to the outside world using an API or a Web service interface.

9.2 Management interface

The management interface and protocol of the cloud cryptographic server shall comply with the provisions of GM/T 0088.The management service runs on the host, accepts and executes the management and scheduling commands of the cloud platform management system, including the creation, startup, shutdown, deletion, drift and other operations of the virtual security module.

GM/T 0104-2021

CRYPTOGRAPHY INDUSTRY STANDARD ICS 35.030 CCS L 80 Specifications of cloud host cryptographic server Issued on. OCTOBER 18, 2021 Implemented on. MAY 01, 2022 Issued by. State Cryptography Administration

Table of Contents

Foreword... 4

1 Scope... 5

2 Normative references... 5

3 Terms and definitions... 6

4 Abbreviated terms... 8

5 Functional requirements... 8

6 Security requirements... 14

7 Hardware requirements... 24

8 Software requirements... 25

9 Interface specifications... 25

10 Testing requirements... 26

11 Judgment of conformity... 32 Appendix A (Informative) Cloud cryptographic server Web service interface message syntax... 33

1 Scope

This document defines the relevant terms of cloud cryptographic server, and specifies the overall structure, functional requirements, hardware requirements, software requirements, security requirements and testing requirements of cloud cryptographic server.

This document applies to the development and use of cloud cryptographic server, and can also be used to guide the testing of cloud cryptographic server.

2 Normative references the following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the version corresponding to that date is applicable to this document; for undated references, the latest version (including all amendments) is applicable to this document.

GB/T 9813.3-2017, General specification for computer - Part 3: Server GB/T 31168-2014, Information security technology - Security capability requirements of cloud computing services GB/T 32915-2016, Information security technology - Binary sequence randomness detection method GB/T 35293-2017, Information technology - Cloud computing - General technical requirements of virtual machine management GB/T 36322-2018, Information security technology - Cryptographic device application interface specifications

3 Terms and definitions for the purpose of this document, the following terms and definitions, as well as those given in GM/Z 4001, apply.

cloud computing

A model that accesses a scalable and flexible pool of physical or virtual resources through the network and can obtain and manage resources on demand by itself.

cloud-hosted hardware security module (CHSM) / cloud cryptographic server A cryptographic server that, in the cloud computing environment, provides cryptographic services for multiple tenants' application systems, in a network form, by using virtualization technology.

host

A physical device that provides a running environment and hardware resources for the virtual security module. Multiple virtual security modules in the same host share the cryptographic computing resources and key storage resources in the host.

single root I/O virtualization; SRIOV A specification that enables a single PCIE physical device under a single root port to display as multiple separate virtual PCIE devices (VFs) to a hypervisor or guest operating system.

private key access password A passphrase used to verify access to the private key.

virtual security module; VSM A cryptographic service instance created on a cloud cryptographic server using virtualization technology that provides services similar to those of a physical cryptographic server.

4 Abbreviated terms

For the purposes of this document, the following abbreviated terms apply.

CBC. Cipher Block Chaining

5 Functional requirements

5.1 Device form

The cloud cryptographic server is physically an independent cryptographic device, and logically consists of a host and several virtual security modules. The overall structure of the cloud cryptographic server is shown in Figure 1.

5.2 Device management

5.2.1 Management requirements the host of the cloud cryptographic server is managed and used by the cloud platform or the owner of the cloud cryptographic server, and the virtual security module is managed and used by the tenant.

5.2.2 Initialization the initialization of the cloud cryptographic server host mainly includes the generation (recovery) and installation of the host key, the generation of administrators, the secure storage and backup of the key according to the security mechanism, so that the device is in a ready state.

5.2.3 Registration, scheduling and monitoring the cloud cryptographic server host should have the function of registering with the cloud platform management system, registering the physical resources of the host's physical device (processor, memory, network, cryptographic computing power, key storage capacity, etc.), and accepting the cloud platform management system's scheduling management and real-time monitoring of its operational state.

5.4 Log audit

The cloud cryptographic server host and different virtual security modules shall provide log record, view and export functions.

5.5 Device self-checking the cloud cryptographic server host and virtual security module shall have the function of self-checking at startup and self-checking when receiving self-checking instructions, and should have the function of periodic self-checking.

5.6 Device use

Tenants can use the virtual security module according to the following process.

5.7 Virtualization

5.7.1 Virtual security module life cycle management the cloud cryptographic server shall have virtualization function, to be able to accept external commands, as well as to create, start, stop and destroy virtual security modules.

6 Security requirements

6.1 Key management

6.1.1 Key management function the host of the cloud cryptographic server shall have the functions of generating, installing, storing, using, destroying, backing up and restoring all the keys of the host;

the virtual security module of the cloud cryptographic server shall have the functions of generating, installing, storing, using, destroying, backing up and restoring all the keys of the virtual security module. The host cannot manage and access the keys of virtual security modules; the virtual security module cannot manage and access the keys of other virtual security modules other than itself and the host.

6.1.4 Secure storage and destruction of keys each virtual security module of the cloud cryptographic server shall be able to store at least 32 pairs of asymmetric keys and 100 symmetric keys.

6.1.6 Backup/Recovery for persistently stored keys, the cloud cryptographic server shall have backup/recovery functions.

6.2 Access control and identity authentication the cloud cryptographic server shall have an identity authentication mechanism.

Bidirectional identity authentication shall be performed between the host and the administrator, between the virtual security module and the administrator, and between the tenant/application using the virtual security module and the virtual security module, and shall comply with the provisions for identity authentication of administrators and users at security level 2 and above in GB/T 37092.

6.3 Random number generation and verification each virtual security module shall have an independent random number generation function, and the random numbers generated by the virtual security module shall comply with the requirements of GB/T 32915 and the provisions of GM/T 0062 for Class E products.

6.4 Hardware security the hardware of the cloud cryptographic server shall comply with the physical security requirements for hardware modules of security level 2 and above in GB/T 37092.

The cloud cryptographic server shall provide security measures to ensure the storage security of cryptographic algorithms, keys, and key data.

6.5 Software security the software and firmware of the cloud cryptographic server shall comply with the software/firmware security regulations of security level 2 and above in GB/T 37092.

All security protocols and management software shall be implemented independently.

The operating system shall be hardened for security, all unnecessary functions shall be cut off, and all unnecessary ports and services shall be closed.

7 Hardware requirements

7.1 External interface the cloud cryptographic server shall provide service interfaces and management interfaces respectively, and can be connected to the service object and management platform through physical or virtual networks.

7.2 Randomizer

The cloud cryptographic server shall provide multiple random sources and be implemented with at least two independent physical noise source chips. The random numbers of the virtual security module shall come from at least two independent physical noise source chips.

7.3 Environmental adaptability the working environment of the cloud cryptographic server shall comply with the provisions on "climate and environmental adaptability" in GB/T 9813.3.

7.4 Reliability

The average trouble-free working time of the cloud cryptographic server shall not be less than 10 000 hours. The failure and switching of the virtual security module shall not affect the overall reliability of the cloud cryptographic server.

8 Software requirements

8.1 Basic requirements the underlying software of the cloud cryptographic server shall adopt a modular design, and technical measures shall be taken to prevent illegal calls by users. The software running on the host and the virtual security module cannot call each other, and the software running on different virtual security modules cannot call each other.

9 Interface specifications

9.1 Service interface

The virtual security module can provide cryptographic services to the outside world using an API or a Web service interface.

9.2 Management interface

The management interface and protocol of the cloud cryptographic server shall comply with the provisions of GM/T 0088.The management service runs on the host, accepts and executes the management and scheduling commands of the cloud platform management system, including the creation, startup, shutdown, deletion, drift and other operations of the virtual security module.

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — all pages — is available in the English PDF.

Referenced standards

How to Download GM/T 0104-2021

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GM/T 0104-2021

$450.00