Re: [U-Boot] [PATCH] imx: imx7 Support for Manufacturing Protection

2016-02-05 Thread Fabio Estevam
On Wed, Feb 3, 2016 at 8:56 AM, Ulises Cardenas wrote: > +/** > +* generate_mppubk() - Generates a Public for Manufacturing Protection > +* > +* Returns zero on success,and negative on error. > +*/ > +static int genenerate_mppubk(void) > +{ > + int ret = 0; > + > +

[U-Boot] [PATCH] imx: imx7 Support for Manufacturing Protection

2016-02-04 Thread Ulises Cardenas
i.MX7 has an a protection feature for Manufacturing process. This feature uses assymetric encryption to sign and verify authenticated software handled between parties. This command is enables the use of such feature. The private key is unique and generated once per device. And it is stored in