Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Automatically exported from code.google.com/p/trusted-computing-project

Notifications You must be signed in to change notification settings

lchang1977/trusted-computing-project

Repository files navigation

一、编译:
	1、在此目录下运行make
二、初始化
	1、sudo modprobe tpm_tis # 如果是tpm emulator则:sudo modprobe tpmd_dev; tpmd -f -d clear
	2、运行sudo tcsd
	3、确保TPM没有被TakeOwnership,否则会出错
	4、进入init目录,运行./Tspi_TPM_TakeOwnership01 -v 1.2
	5、运行 ./create_mig_key -v 1.2(输入pin)
三、KeyHierarchy
	1、进入Key hierarchy目录
	2、运行./create_register_key -v 1.2
	3、运行./load_key -v 1.2
四、Seal、Unseal和extend
	1、进入SealUnseal目录
	2、运行./seal -v 1.2 (成功)
	3、运行./unseal -v 1.2 (成功)
	4、运行./extend -v 1.2 (成功)
	5、运行./unseal -v 1.2 (失败)
	6、运行./seal_file test.c test.en(查看文件test.en的内容)
	# unseal_file.c 由同学们自己完成。
	7、运行./unseal_file test.en test.de(查看文件test.de的内容)
	8、运行./extend -v 1.2
	9、运行./unseal_file test.en test.de(失败)
	
五、KeyMigration
	1、进入Key Migration目录
	2、在机器1中运行./platform_dst -g ,会产生名为srk.pub的文件
	3、把文件srk.pub拷贝到机器2中
	4、在机器2中运行./platform_src ,会产生名为mig.blob的文件
	5、把文件srk.pub拷贝到机器1中
	6、在机器1中运行./platform_dst -m
六、RemoteAttestation
	机器1:
	1、进入Remote Attestation\init目录
	2、运行./Create_AIK
	3、返回上级目录
	4、运行./RAServer
	机器2:
	1、进入Remote Attestation目录
	2、运行./RAClient 机器2的ip 机器1的ip (如,./RAClient 192.168.200.1 192.168.200.2)

About

Automatically exported from code.google.com/p/trusted-computing-project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.0%
  • Objective-C 7.0%
  • Makefile 1.5%
  • C++ 0.5%

AltStyle によって変換されたページ (->オリジナル) /