EEVblog Electronics Community Forum

Electronics => FPGA => Topic started by: ali_asadzadeh on June 04, 2021, 12:12:35 pm

Title: how to decrypt Xilinx IPCORE source code
Post by: ali_asadzadeh on June 04, 2021, 12:12:35 pm
Hi,
Found this one on a random search,
https://www.fpgarelated.com/showthread/comp.arch.fpga/81295-1.php (https://www.fpgarelated.com/showthread/comp.arch.fpga/81295-1.php)
Do you have any suggestions?
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: rstofer on June 04, 2021, 02:54:41 pm
Seems to be theft of Intellectual Property if used or disclosed.
If cores are made available under license, comply with the terms.  Pay the fee or write your own.
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: dtodorov on June 04, 2021, 03:59:58 pm
Hi,
Found this one on a random search,
https://www.fpgarelated.com/showthread/comp.arch.fpga/81295-1.php (https://www.fpgarelated.com/showthread/comp.arch.fpga/81295-1.php)
Do you have any suggestions?

Suggestions for what? Xilinx offers basically a ton of free IP for users of low-end cores, on github and internet in general it's full of examples. I see this is more of a proof-of-hacking excercise rather than actually useful to decrypt any design.

PS. This is like 10+ years old thread.
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: ebastler on June 04, 2021, 06:55:39 pm
Do you have any suggestions?

My suggestion would be to leave it alone.
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: ali_asadzadeh on June 05, 2021, 05:53:15 am
I was thinking if Xilinx or Microsoft or other companies can not protect their own IP with encryption, why they sell it to ppl!? :palm:
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: ebastler on June 05, 2021, 06:45:24 am
I was thinking if Xilinx or Microsoft or other companies can not protect their own IP with encryption, why they sell it to ppl!? :palm:

Morale and the legal system may come into play here. ::)

My greengrocer does not have a bulletproof system to prevent theft either. Yet he sells his goods, and it seems to work for him since most people are either honest or don't want to get caught and punished.
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: asmi on June 05, 2021, 10:39:36 pm
I was thinking if Xilinx or Microsoft or other companies can not protect their own IP with encryption, why they sell it to ppl!? :palm:
What a ridiculous statement! What does encryption have to do with selling products? You aren't required to encrypt anything to sell a product. Using a commercial product without a proper license is as much of a crime as doing the same while also breaking encryption in the process. There are plenty of commercial open-source products, or even close-sourced ones which provide a source code along with the binaries upon purchase. I also in some cases provide a full source code of the bitstream/firmware to my customers along with hardware.
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: ali_asadzadeh on June 06, 2021, 10:38:12 am
I mean Selling encryption IP cores like AES or DES as a product, when they can not even protect themselves!
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: Daixiwen on June 07, 2021, 06:50:16 am
Making an AES or DES core is easy. The difficult (and vulnerable) part of any system using encryption is taking care of the keys.
Title: Re: how to decrypt Xilinx IPCORE source code
Post by: laugensalm on June 18, 2021, 07:37:09 pm
Why would you want to decrypt the source?
The only somewhat legitimate use is to run it through an open source simulator or personal interest (and realizing the encryption being a way of hiding horrible code..).
There are simple openssl wrappers for that. However, the keys can not be published, neither does the big X cover you with lots of love if you post detailed steps on obtaining them (They're typically PEM files on your harddisk).