Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

confidential-computing-zoo

> 开发工具
Open source

Confidential Computing Zoo provides confidential computing solutions based on Intel SGX, TDX, HEXL, etc. technologies.

359 stars0 likes1 views
WebsiteGitHub

About

Confidential Computing Zoo provides confidential computing solutions based on Intel SGX, TDX, HEXL, etc. technologies.

Confidential Computing Zoo (CCZoo) is a collection of code-ready reference solutions, which can be used as a copy-paste developer guide, demonstrating how to apply modern security technologies to real-life cloud business scenarios, in order to facilitate the developers to build their own end-to-end Confidential Computing solutions more easily. Some of the solutions are also validated on the public cloud services, such as Alibaba Cloud, Tencent Cloud, AWS, Azure, etc. Please see Cloud Deployment.

The concerned modern security technologies are (but not limited to): TEE (Trusted Execution Environment, such as Intel® SGX and TDX), HE (Homomorphic Encryption) and its hardware accelerations, Remote Attestation, LibOS, cryptographic and its hardware accelerations. The concerned business scenarios are (but not limited to): cloud native AI inference, vertical and horizontal federated learning, big data analytics, key management, RPC (Remote Process Call, such as gRPC), etc.

CCZoo maintains a live table, as below, to indicate the correlations between business usages (rows) and security technologies (columns). Each hyperlink will direct you to the document section that explains the corresponding details and then guides you to the source codes. Enjoy!

Solution List (Solution to Component Correlation)

			&nbsp; Solution 
		
		
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Security Components 
		
		
			

				Validated 

in Public Cloud

				Status 
			

		
	

	

		
			

				&nbsp;&nbsp;TEE 
			

		
		
			

				&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LibOS 
			

		
		
			

				Remote Attestation 
			

		
		
			

				&nbsp; &nbsp;&nbsp;KMS 
			

		
		
			

				HE 
			

		
		
			

				Crypto 
			

		
		
			

				TLS 
			

		
	

	

		
			SGX 
		
		
			TDX 
		
		
			Gramine 
		
		
			Occlum 
		
		
			*RATS-TLS 
		
		
			*RA-TLS gRPC 
		
		
			Vault 
		
		
			eHSM-KMS 
		
	

	

		
			Multi-Party Compute / Federated Learning 
		
	

	

		
			Horizontal Federated Learning  

(TensorFlow)

			Yes

		
		
			Yes 
		
		
			Yes
		
		
			-
		
		
			- 
		
		
			Yes 

(2-way)

			-
		
		
			-
		
		
			- 
		
		
			Yes 
		
		
			Yes 

(RA-gRPC)

				Alibaba Cloud, 

Tencent Cloud,

ByteDance Cloud,

Microsoft Azure

			Published 
		
	

	

		
			Vertical Federated  

Learning 

(TensorFlow)

			Yes 
		
		
			-
		
		
			Yes
		
		
			-
		
		
			-
		
		
			Yes 

(2-way)

			-
		
		
			-
		
		
			-
		
		
			Yes 
		
		
			Yes 

(RA-gRPC)

				Alibaba Cloud, 

Tencent Cloud,

ByteDance Cloud,

Microsoft Azure

			Published 
		
	

	

		
			Private Set 

Intersection 

			Yes 
		
		
			-
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes 

(RA-gRPC)

			 ByteDance Cloud, 

Microsoft Azure

			Published 
		
	

	

		
			Secure Logistic 

Regression Training

Based on TEE & HE 

			Yes 
		
		
			-
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			Yes
		
		
			Alibaba Cloud, 

Tencent Cloud

			Published 
		
	

	

		
			Secure AI Inference &amp; Training 
		
	

	

		
			TensorFlow Serving 

Cluster PPML

(TensorFlow, K8S)

			Yes 
		
		
			Yes 
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			

				Alibaba Cloud, 

Tencent Cloud,

ByteDance Cloud,

Microsoft Azure

			Published 
		
	

	

		
			Secure Logistic Logical Regression Inference with HE and SGX 
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			-
		
		
			-
		
		
			

				Alibaba Cloud, 

Tencent Cloud,

ByteDance Cloud,

Microsoft Azure

			Published
		
	

	

		
			BigDL PPML  
		
		
			Yes
		
		
			Yes
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			

				Ant Group, 

SKT

			In Progress
		
	

	

		
			Native Application Hosting 
		
	

	

		
			Cross Language  

framework Based

on Gramine

			Yes
		
		
			-
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Tencent Cloud
		
		
			Published 
		
	

	

		
			Attestation Server &amp; Key Management Service 
		
	

	

		
			Attestation and Secret Provision Service 
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			Yes
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			Published 
		
	

	

		
			eHSM-KMS 
		
		
			Yes
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			Published 
		
	

	

		
			Optimization on Secure Libs 
		
	

	

		
			Private Set 

intersection

Optimization

on Xeon

			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			-
		
		
			Not Start
		
	

	

		
			Secure Database 
		
	

	

		
			Secure Database 

Querying Based

on HE

			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			-
		
		
			Yes
		
		
			Yes
		
		
			-
		
		
			-
		
		
			Not Start
		
	

	

		
			Confidential AIGC 
		
	

	

		
			Confidential LLM Inference (RAG)&nbsp;

		
		
			

		
		
			

				WIP
			

			

				(1) TDVM&nbsp;

(2) CoCo

(3) TDVM+GPU

			Confidential LLM Rec System&nbsp;&nbsp;

		
		
			

		
		
			

				WIP
			

			

				(1) TDVM&nbsp;

(2) CoCo

(3) TDVM+GPU


Incubating Component Projects

Besides reference solutions, CCZoo is also incubating new projects of key security components that are commonly used by multiple CCZoo reference solutions. Once any of them is proven useful enough and stable enough via a thorough validation with CCZoo reference solutions running on various public cloud services, it will graduate from CCZoo and evolve to a standalone project.

			Incubating Component Project'*'
		
		
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Description
		
		
			Status
		
		
			Validated in Public Cloud
		
	

	

		
			RATS-TLS 
		
		
			This project provides a proof-of-concept implementation on how to integrate Intel SGX and TDX remote attestation into the TLS connection setup. Conceptually, it extends the standard X.509 certificate&nbsp;with SGX and TDX related information. It also provides two non-SGX clients (Wolfssl and OpenSSL)&nbsp;to show how seamless remote attestation works with different TLS libraries.&nbsp;
		
		
			Published
		
		
			Alibaba Cloud
		
	

	

		
			RA-TLS Enhanced gRPC 
		
		
			This project provides an enhanced&nbsp;gRPC&nbsp;(Remote Procedure Call) framework to guarantee security during transmission and runtime via two-way&nbsp;RA-TLS&nbsp;(Intel SGX Remote Attestation with Transport Layer Security) based on&nbsp;TEE&nbsp;(Trusted Execution Environment).
		
		
			Published
		
		
			Alibaba Cloud, 

Tencent Cloud,

ByteDance Cloud

			HTTPA 
		
		
			&nbsp;HTTPA aims for two purposes. First, help perform remote attestation on the web application running inside the TEE in which the flow can be unilateral (one-way HTTPA) or bilateral (mutual HTTPA) by verifying attestation evidence with a verifier such as a trusted authority (TA). Second, help build secure communication directly with the web application at L7 running inside the TEE.&nbsp;

		
		
			Published
		
		
			/

Cloud Deployment

Solutions and incubating component projects in CCZoo are constantly extended to be validated in public clouds to verify the versatility, stability, robustness. We will provide detialed configurations of each public clouds for reference, and notes of the diversity in each cloud for easy delopyment.

Below table shows solutions and component projects validated in public clouds. And it will be updated continuously.

			&nbsp; &nbsp; &nbsp;Public Cloud 
		
		
			Alibaba Cloud 
		
		
			ByteDance Cloud 
		
		
			Azure Cloud 
		
		
			Tencent Cloud 
		
	

	

		
			Instance&nbsp; 
		
		
			Type
		
		
			g7t 
		
		
			

		
		
			Standard_DC16s_v3
		
		
			M6ce.4XLARGE128&nbsp; 
		
	

	

		
			Kernel
		
		
			4.19.91-24
		
		
			

		
		
			5.13.0-1031-azure
		
		
			5.4.119-19-0009.1 
		
	

	

		
			OS
		
		
			Alibaba Cloud Linux 2.1903
		
		
			Ubuntu20.04
		
		
			Ubuntu Server 20.04 LTS - Gen2
		
		
			TencentOS Server 3.1 
		
	

	

		
			Memory
		
		
			64G(32G EPC memory)
		
		
			

		
		
			128G (64G EPC Memory)
		
		
			64G(32G EPC memory) 
		
	

	

		
			vCPU
		
		
			16
		
		
			16
		
		
			16
		
		
			16
		
	

	

		
			PCCS Server
		
		
			sgx-dcap-server-vpc.cn-hangzhou.aliyuncs.com 
		
		
			

		
		
			N/A
		
		
			sgx-dcap-server-tc.sh.tencent.cn&nbsp; 
		
	

	

		
			Validated Solution&nbsp; 
		
		
			

				

					TensorFlow Serving Cluster PPML 
				

			

			

				

					Horizontal Federated Learning 
				

			

			

				

					Secure Logistic Logical Regression Inference with HE and SGX
				

				

					RA-TLS Enhanced gRPC 
				

				

					Secure logistic regression training base on TEE &amp; HE 
				

			

		
		
			

				

					TensorFlow Serving Cluster PPML 
				

			

			

				

					Horizontal Federated Learning 
				

			

			

				

					RA-TLS Enhanced gRPC 
				

			

			

				

					Vertical Federated Learning 
				

				

					Secure Logistic Logical Regression Inference with HE and SGX
				

				

					Private

Set Intersection (PSI)

					&nbsp;TensorFlow Serving Cluster PPML 
				

				

					Horizontal Federated Learning 
				

				

					Vertical Federated Learning 
				

				

					Secure Logistic Logical Regression Inference with HE and SGX
				

				

					Private Set Intersection (PSI)
				

			

			

				

			

		
		
			

				

					TensorFlow Serving Cluster PPML 
				

			

			

				

					Horizontal Federated Learning 
				

			

			

				

					RA-TLS Enhanced gRPC 
				

			

			

				

					Secure logistic regression training base on TEE &amp; HE 
				

				

					Private Set Intersection (PSI)

				

				

					Secure Logistic Logical Regression Inference with HE and

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++attestationcloudconfidential-computingcontainers

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具