Protect the code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Protect the code

641 Views
boshimao
Contributor II

Hi,

I would like to ask, I use the MPC5744, I would like to protect my code, for example, others get the source code can not be amended, if the amendment can not compile. What should I do?Thank you.

0 Kudos
2 Replies

522 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

I expect that you are talking about code encryption.

Unfortunately micro you have chosen does not support HW protection  like HSM (hardware security module) or CSE (cryptographic service engine).

On the other hand you can use Flash array integrity check to prevent any unintended code change. But one with source code can easily find and modify the code to skip this check.

It is common that customers use external cryptographic tools to encrypt generated binary output files. This is based on polynomial encrypting and it's quite hard to break these encryption tools.

Peter

522 Views
boshimao
Contributor II

hi,

Can the compiler compile the code into a library file, and then someone else can only call.

0 Kudos