首页> 外国专利> Speculation with indirect control flow instructions

Speculation with indirect control flow instructions

机译:通过间接控制流程指令进行推测

摘要

Input data 900 is received, e.g. by a compiler, and a sequence of instructions for execution by a processing circuitry is outputted. The sequence comprises an indirect control flow instruction 910 comprising a field indicating where a target of the instruction is stored. The sequence comprises at least one instruction to store a state of control‑flow‑speculation (sstate) after execution of the indirect‑control‑flow‑instruction. This way it can be determined whether the destination of the branch was correct. An instruction in the sequence, e.g. an access instruction, is inhibited from being subject to data value speculation, e.g. via a CSDB barrier. Indirect control flow instruction 910 comprises a multi‑target branch instruction, e.g. switch statement, and a variable i for determining the target. Sstate indicates whether control‑flow‑speculation occurred correctly by determining at each target whether the value of variable i corresponds to the associated target. Secure data leaks by side-channel attacks are addressed.
机译:例如,接收输入数据900。通过编译器,并输出由处理电路执行的指令序列。该序列包括间接控制流指令910,其包括指示该指令的目标存储在何处的字段。该序列包括至少一条指令,用于在执行间接控制流指令之后存储控制流推测状态(状态)。这样,可以确定分支的目的地是否正确。序列中的一条指令,例如禁止对访问指令进行数据值推测,例如。通过CSDB障碍。间接控制流指令910包括多目标分支指令,例如,多目标分支指令。 switch语句,以及用于确定目标的变量i。 Sstate通过在每个目标上确定变量i的值是否对应于关联的目标来指示控制流推测是否正确发生。解决了旁通道攻击造成的安全数据泄漏。

著录项

  • 公开/公告号GB201811154D0

    专利类型

  • 公开/公告日2018-08-22

    原文格式PDF

  • 申请/专利权人 ARM LIMITED;

    申请/专利号GB20180011154

  • 发明设计人

    申请日2018-07-06

  • 分类号

  • 国家 GB

  • 入库时间 2022-08-21 12:32:26

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号