RTL加密方法是什么
本篇内容主要讲解“RTL加密方法是什么”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“RTL加密方法是什么”吧!
The standard mechanism IEEE1800, which lets you protect Verilog files using the IEEE Verilog standard and VHDL files using the IEEE VHDL standard.
The new mechanism IEEE 1735, which provides versioning for the encryption of pragma definitions and use models.
同样可以用C 的工具加密,用M 的工具去读取:
除了用公开密钥外,还可以用用户自定义密钥,以C 家工具为例:
-
生成私钥,默认的密钥长度是512 bits, 密钥长度可以定义为256 ~ 4096 bits. 密钥越长安全性越高,执行如下命令会生成两个文件:key.pub 跟key.prv. xmprotect -messages -rsakeygenerate -keylength 512 -keyname <name> -
密钥格式转换,用UNIX 命令uuencode 将二进制密钥转换成base 64 格式: uuencode -m key.pub <file> -
配置加密参数,将第二步转换后的密钥赋给key_public_key, 推荐的data_method 是AES128-CBC 和AES256-CBC. <AES: Advanced Encryption Standard, CBC: Cipher Block Chaining >. `protect version = 1
`protect data_method = "AES128-CBC"`protect key_keyowner = "Cadence Design Systems.", key_method = "rsa", key_keyname = "cds_rsa_key", key_public_key = <generated base 64 key>
将加密后的RTL 跟key.prv 一起提供给用户。
用户将key.prv 所在路径指给环境变量NCPROTECT_KEYDB 即可。
T cl, SimVision, and programming interfaces, including PLI/VPI, VHPI, and C interface. Schematic generators or state machine extraction. Warning and error messages from protected regions are either suppressed or generic messages are issued.
到此,相信大家对“RTL加密方法是什么”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!