Re: [U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-27 Thread Simon Glass
Hi Masahiro, On Wed, Jun 26, 2013 at 9:08 PM, Masahiro Yamada yamad...@jp.panasonic.comwrote: Hello, Simon. When compiling the master branch, I got an error while a tools/mkimage build. u-boot/lib/rsa/rsa-sign.c:26:25: fatal error: openssl/rsa.h: No such file or directory I think

Re: [U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/27/2013 02:44 AM, Simon Glass wrote: Hi Masahiro, On Wed, Jun 26, 2013 at 9:08 PM, Masahiro Yamada yamad...@jp.panasonic.com mailto:yamad...@jp.panasonic.com wrote: Hello, Simon. When compiling the master branch, I got an error

Re: [U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-27 Thread Simon Glass
Hi Tom, On Thu, Jun 27, 2013 at 5:50 AM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/27/2013 02:44 AM, Simon Glass wrote: Hi Masahiro, On Wed, Jun 26, 2013 at 9:08 PM, Masahiro Yamada yamad...@jp.panasonic.com mailto:yamad...@jp.panasonic.com

Re: [U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-27 Thread Tom Rini
On Thu, Jun 27, 2013 at 08:45:34AM -0700, Simon Glass wrote: Hi Tom, On Thu, Jun 27, 2013 at 5:50 AM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/27/2013 02:44 AM, Simon Glass wrote: Hi Masahiro, On Wed, Jun 26, 2013 at 9:08 PM, Masahiro

Re: [U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-27 Thread Simon Glass
Hi Tom, On Thu, Jun 27, 2013 at 8:48 AM, Tom Rini tr...@ti.com wrote: On Thu, Jun 27, 2013 at 08:45:34AM -0700, Simon Glass wrote: Hi Tom, On Thu, Jun 27, 2013 at 5:50 AM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/27/2013 02:44 AM,

Re: [U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-26 Thread Masahiro Yamada
Hello, Simon. When compiling the master branch, I got an error while a tools/mkimage build. u-boot/lib/rsa/rsa-sign.c:26:25: fatal error: openssl/rsa.h: No such file or directory I think this erorr is caused by commit 19c402a. I searched and installed the necessary package and I could

[U-Boot] [PATCH v3 03/12] image: Add RSA support for image signing

2013-06-13 Thread Simon Glass
RSA provides a public key encryption facility which is ideal for image signing and verification. Images are signed using a private key by mkimage. Then at run-time, the images are verified using a private key. This implementation uses openssl for the host part (mkimage). To avoid bringing large