BOTSTREAM加密

发布于 2025-02-13 22:58:18 字数 125 浏览 3 评论 0原文

我有一个与使用efuse选项相关的问题。如果我的FPGA具有存储在efuse中的Bitstream加密密钥,那么Vivado在生成新的加密bitstream时如何知道加密密钥? Vivado是否有一种从效用中恢复键并将其用于加密的方法?

I have a question related to bitstream encryption using eFUSE option. If my FPGA has bitstream encryption key stored in the eFUSE, how Vivado will know the encryption key when generating new encrypted bitstream? Does Vivado has a method to readback the key from eFUSE and use it for encryption?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

宣告ˉ结束 2025-02-20 22:58:18

Vivado如何知道加密密钥?

Vivado使用nky在设置加密密钥时生成的文件。例如,

 set_property BITSTREAM.ENCRYPTION.KEY0 56’h12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA current_design]

将创建执行NKY文件时,其格式为:

KEY 0 <hex string> (256 bit AES key)

例如:( top.nky)

Device xc7k325t;
Key 0 12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA;
Key StartCBC 7115e9aa80085ea3ed65d26d3a8ab608;
Key HMAC d293d51c6058430262b05521f8f67279c9abce27d5fcafcf839bbe1af46713cc;

vivado可以读回键吗?

引用 xapp1239

只能通过JTAG接口将加密密钥加载到设备上

在对密钥进行编程并退出键访问模式后,无法以任何方式从设备中读取键,并且在不清除整个设备的情况下无法重新编程。

How can Vivado know the encryption key?

Vivado uses an NKY file that is generated when setting the encryption key. For instance when executing

 set_property BITSTREAM.ENCRYPTION.KEY0 56’h12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA current_design]

An NKY file will be create, whose format is:

KEY 0 <hex string> (256 bit AES key)

For example: (top.nky)

Device xc7k325t;
Key 0 12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA12345678ABCDDCBA;
Key StartCBC 7115e9aa80085ea3ed65d26d3a8ab608;
Key HMAC d293d51c6058430262b05521f8f67279c9abce27d5fcafcf839bbe1af46713cc;

Can Vivado read back the key?

Quoting XAPP1239

The encryption key can only be loaded onto a device through the JTAG interface

After the key is programmed and the key-access mode is exited, the key cannot be read out of the device by any means, and it cannot be reprogrammed without clearing the entire device.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文