diff options
author | Simon Glass | 2013-06-13 15:10:02 -0700 |
---|---|---|
committer | Tom Rini | 2013-06-26 10:18:56 -0400 |
commit | 19c402afa2e1190f596f35a84ac049b10d814f1f (patch) | |
tree | 4f4d2302f4b6fa01e9a2214dee6bfe75e220a010 /Makefile | |
parent | 56518e71041fafdfd7af3a24f263b0a22efbeda9 (diff) |
image: Add RSA support for image signing
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 libraries into the U-Boot binary, the RSA public key
is encoded using a simple numeric representation in the device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -247,6 +247,7 @@ OBJS := $(addprefix $(obj),$(OBJS)) HAVE_VENDOR_COMMON_LIB = $(if $(wildcard board/$(VENDOR)/common/Makefile),y,n) LIBS-y += lib/libgeneric.o +LIBS-y += lib/rsa/librsa.o LIBS-y += lib/lzma/liblzma.o LIBS-y += lib/lzo/liblzo.o LIBS-y += lib/zlib/libz.o |