|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 kambodian 于 2016-3-12 14:45 编辑
Appended is the Quartus 14.1 Decryption Key.
----- BEGIN RSA PRIVATE KEY -----
MIICXgIBAAKBgQC38SzR8u6xw1MKRDQPrZOyQMAXID + / lBTN7Dl2bl25 ++ tbKUcQ
kVMo6ZkCnt1WZ / wT22X7I5aTkagn6vpAXR8XQBu3san + chVulnr2p1Qxe1GVm5tt
4jCgCfr0BWNfHXWLwE0yBXR9 + zvaatCWb0WpS1UN5eqofIisn8Hj2ToOdQIDAQAB
AoGAKRh2 / Qkbjxemi9qlDwOmxeJ1iDUqSPEanM80H2OVCSJheOKGAAuX2sIl71Hy
/ YUJ6p3P8QYIdDvMp + 51rr + fXD8OiQdfWdHETb4G4wQCfpjIu549OQTWWRI0UIzn
EZQkWAJgZtwLE0rFjHdyEKxVZjiE3U7wHtD5ETvw9RZIK9kCQQDuhn9XKGYVV35v
YXbjFLKDABmWLj / tfDcFHRrwNZnUa4Sh7tG5FjGZOQXp2xp / wNg1Uz / 6RH722LUT
nK7GpuVHAkEAxWr6N5oEUtgIYTSLx6YC4au6xYaCXgoDZIO49f58UjO96xBFb2hG
nabO0lHm9yP7HmpTkj8C3RL + EZ1N19d8YwJBANnyhWqzXEvF7Z6CVSp7H / 35WmfS
jNFIPdHrXVD9 + TiSodeBK5rOf7V82D1t2dG / + Q8IqZ3ZdpXBP / vSoBSeLUMCQQCC
PxASOvT7SzhMGYTXFXn1NX2l8BZ2wJh4akdPVLTk7uov + a410FA2luUA8bQ1 / XEi
Ifg9FoFnJa6mJGhFLRANAkEAjUwGtyrKIwGhFsMdOPk36i6FogDTBd + yx7VsuUqL
bi3vEWInHekREOq7eLm3QSFGixw1Ayc7KC1UIdcYs6fI2g ==
----- END RSA PRIVATE KEY -----
(Remove spaces by hand)
To use it do the following: the search for rsa encrypted "keyblock" Part.
It is a 2-Liner base64 Copy it to a text file, ie
altera_lvds_pll.v.key.txt
Then search for the encrypted aes128-cbc "DataBlock" and Copy it for instance
into altera_lvds_pll.v.block.txt.
Then:
openssl rsa -text -IN MGC-DVT-MTI.pem;
cat altera_lvds_pll.v.key.txt | base64 -d > altera_lvds_pll.v.key.txt.bin;
openssl rsautl -decrypt -inkey $$ {d} -IN altera_lvds_pll.v.key.txt.bin .pem -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 IV 0 -K -d $ Key> altera_lvds_pll.dec.v;
cat altera_lvds_pll.dec.v; |
|