一起来看看什么是TCB!

本文介绍了TCB(可信计算基础)的概念,它不是指特定的硬件如TPM,而是指对系统安全性至关重要的所有组件。文章强调了TCB中的组件并不等同于安全,它们的可信度需要通过形式验证、加密测量或可审计性来证明。复杂性会增加风险,理想的TCB应该是小而简单的。最后,文章提醒读者要对所有标记为“trusted”的组件持怀疑态度,始终验证其安全性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Hi ALL!

Acronym

  • TC(Trusted Computing)可信计算(Trusted Computing,简称TC)是一项由TCG(可信计算组)推动和开发的技术。
  • TPM(Trusted Platform Module)可信平台模块,是一种植于计算机内部为计算机提供可信根的芯片。该芯片的规格由可信计算组(Trusted Computing Group)来制定。
  • TCM(trusted cryptography module)可信密码模块, 是可信计算平台的硬件模块,为可信计算平台提供密码运算功能,具有受保护的存储空间,是我国国内研究,与TPM对应。
  • TPCM(Trusted Platform Control Module)可信平台控制模块,让可信平台模块具有对平台资源进行控制的功能。
  • TSS(TCG Software Stack)可信软件栈,是可信计算平台上TPM的支撑软件。TSS的主要作用是为操作系统和应用软件提供使用TPM的接口。
  • TNC(Trusted Network Connect)可信网络连接技术,用来实现平台到网络的可信扩展,以确保网络的可信。

/*Example code for creating a deferrable timer If the timer is created for years of duration, then it needs to be created with T_MIN or T_HOUR as the Units.*/ void sample_define_deferrable_timer_periodic_callback_function(void) { if( !bTimerDefined ) { // Set the timer to be deferrable // For non-deferrable, set second param to FALSE // NOTE: ONLY USE UNDEFERRABLE TIMERS IF REALLY NEEDED, // THESE WILL WAKE SYSTEM UP FROM POWER COLLAPSE!!! timer_group_set_deferrable(pTimerGroup,TRUE); timer_def(pTimer, // Pointer to the timer structure pTimerGroup, // NULL, // Pointer to the timer group Pointer to Task Control Block (TCB) to signal, either self or a valid TCB 0, // NULL, // Unused signal on tcb If callback is needed, supply function pointer here timer_cb_data_type)0xDATADATA); // Data to send to callback or APC // We do not want to redefine this timer bTimerDefined = 1; } // if( !bTimerDefined ) // Set the timer to fire every 10ms timer_set_64(pTimer, // Pointer to timer structure 10, 10, // 10 units initial set value // Reload value, used for periodic timers T_MSEC); // Units = ms } // sample_define_deferrable_timer_periodic_callback_function void sample_callback_function(timer_cb_data_type some_data) { some_struct *pSomeStruct; pSomeStruct = (some_struct*) some_data; /******************************************************* Do Stuff... *******************************************************/ return; } // sample_callback_function解释以上延迟定时器代码流程
最新发布
03-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

TrustZone_

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值