可以通过我们自己的代码扩展哪个PCR? [英] Which PCR can be extended by our own code?

查看:154
本文介绍了可以通过我们自己的代码扩展哪个PCR?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为TPM 1.2规范中有24个PCR.这些PCR中的某些是保留的,不能由用户代码扩展.以下是PCR指标的PCR使用情况

As there are 24 PCR's in TPM 1.2 specification. Some of these PCRs are reserved and cannot be extended by user's code. Below are the PCR Index their PCR Usage

  1. CRTM,BIOS和平台扩展
  2. 平台配置
  3. 可选ROM代码
  4. 选项ROM配置和数据
  5. IPL7Code(MBR信息和Bootloader阶段1)
  6. IPL代码和配置数据(供IPL代码使用)
  7. 状态转换和唤醒事件
  8. 保留以备将来使用.不要使用.
  9. Bootloader第2阶段第1部分
  10. Bootloader第2阶段第2部分
  11. 未使用.
  12. 未使用.
  13. Bootloader命令行参数
  14. 通过checkle例程检查文件
  15. 实际加载的文件(例如Linux内核,initrd,模块..)
  16. 未使用.
  17. 未使用.
  18. DRTM8
  1. CRTM, BIOS and Platform Extensions
  2. Platform Conguration
  3. Option ROM Code
  4. Option ROM Conguration and Data
  5. IPL7Code (MBR Information and Bootloader Stage 1)
  6. IPL Code and Conguration Data (for use by IPL Code)
  7. State Transition and Wake Events
  8. Reserved for future usage. Do not use.
  9. Bootloader Stage 2 Part 1
  10. Bootloader Stage 2 Part 2
  11. Not in Use.
  12. Not in Use.
  13. Bootloader Commandline Arguments
  14. Files checked via checkle routine
  15. Files which are actually loaded (e.g. Linux kernel, initrd, modules..)
  16. Not in Use.
  17. Not in Use.
  18. DRTM8

18-23.不在使用中.

18-23. Not in Use.

我了解用户可以扩展所有未使用的PCR?这样对吗?我问这个问题是因为我写了自己的代码来扩展PCR(遵循裤子编码准则),结果证明我可以将所有PCR扩展到从PCR 17到PCR22.我的理解是,我只能扩展几个尤其是不能与PCR 0到PCR 7中较低的那些一起玩.

what I understood that a user can extend all the PCR's which are not in use? Is this correct? I asked this question Because I have written my own code to extend PCR's (by following trousers coding guidelines) and it turns out that i can extend all the PCR's except from PCR 17 to PCR 22. And my understanding was that I can only extend few and especially cannot play with the lower ones from PCR 0 to PCR 7.

推荐答案

取决于位置,我的位置是0.

Depends on the locality, I was in locality 0.

这篇关于可以通过我们自己的代码扩展哪个PCR?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆