|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Appended is the Quartus 14.1 decryption key.
To use it do the following: search for the rsa encrypted "keyblock" part.
It is a base64 2-liner copy it to a text file, i.e.
altera_lvds_pll.v.key.txt
Then search for the aes128-cbc encrypted "datablock" and copy it for instance
into altera_lvds_pll.v.block.txt.
Then:
openssl rsa -in Text MGC-DVT-MTI-1.pem;
cat altera_lvds_pll.v.key.txt | base64 -d > altera_lvds_pll.v.key.txt.bin;
openssl rsautl -decrypt -inkey $${d}.pem -in altera_lvds_pll.v.key.txt.bin -out altera_lvds_pll.v.key.txt.bin.dec;
cat altera_lvds_pll.v.block.txt | base64 -d > altera_lvds_pll.v.block.txt.bin;
key=`xxd -p altera_lvds_pll.v.key.txt.bin.dec`;
cat altera_lvds_pll.v.block.txt.bin | openssl aes-128-cbc -d -iv 0 -K $key > altera_lvds_pll.dec.v;
cat altera_lvds_pll.dec.v; |
|