mkimage: Automatically expand FDT in more casesThe original code did not cover every case and there was a missing negativesign in one case. Expand the coverage and fix the bug.Signed-off-by: Sim
mkimage: Automatically expand FDT in more casesThe original code did not cover every case and there was a missing negativesign in one case. Expand the coverage and fix the bug.Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
fdt: Update functions which write to an FDT to return -ENOSPCWhen writing values into an FDT it is possible that there will beinsufficient space. If the caller gets a useful error then it canpote
fdt: Update functions which write to an FDT to return -ENOSPCWhen writing values into an FDT it is possible that there will beinsufficient space. If the caller gets a useful error then it canpotentially deal with the situation.Adjust these functions to return -ENOSPC when the FDT is full.Signed-off-by: Simon Glass <sjg@chromium.org>
tools, fit_check_sign: verify a signed fit imageadd host tool "fit_check_sign" which verifies, if a fit image issigned correct.Signed-off-by: Heiko Schocher <hs@denx.de>Cc: Simon Glass <sjg@chr
tools, fit_check_sign: verify a signed fit imageadd host tool "fit_check_sign" which verifies, if a fit image issigned correct.Signed-off-by: Heiko Schocher <hs@denx.de>Cc: Simon Glass <sjg@chromium.org>
rsa: add sha256,rsa4096 algorithmAdd support for sha256,rsa4096 signatures in u-boot.Signed-off-by: Heiko Schocher <hs@denx.de>Acked-by: Simon Glass <sjg@chromium.org>Cc: andreas@oetken.name
rsa: add sha256-rsa2048 algorithmbased on patch from andreas@oetken.name:http://patchwork.ozlabs.org/patch/294318/commit message:I currently need support for rsa-sha256 signatures in u-boot and
rsa: add sha256-rsa2048 algorithmbased on patch from andreas@oetken.name:http://patchwork.ozlabs.org/patch/294318/commit message:I currently need support for rsa-sha256 signatures in u-boot and found out thatthe code for signatures is not very generic. Thus adding of differenthash-algorithms for rsa-signatures is not easy to do without copy-pasting thersa-code. I attached a patch for how I think it could be better and includedsupport for rsa-sha256. This is a fast first shot.aditionally work:- removed checkpatch warnings- removed compiler warnings- rebased against current headSigned-off-by: Heiko Schocher <hs@denx.de>Cc: andreas@oetken.nameCc: Simon Glass <sjg@chromium.org>
lib: descend into sub directories only when it is necessarySigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
lib: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
lib/rsa/rsa-sig.c: compile on OS XInterfaces exposed by error.h seems not to be used in rsa-sig.c, remove it.This also fixes an compile error on OS X:---8<---u-boot/lib/rsa/rsa-sign.c:23:19: er
lib/rsa/rsa-sig.c: compile on OS XInterfaces exposed by error.h seems not to be used in rsa-sig.c, remove it.This also fixes an compile error on OS X:---8<---u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory--->8---Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>Tested-by: Lubomir Popov <lpopov@mm-sol.com>
image: Add RSA support for image signingRSA provides a public key encryption facility which is ideal for imagesigning and verification.Images are signed using a private key by mkimage. Then at r
image: Add RSA support for image signingRSA provides a public key encryption facility which is ideal for imagesigning and verification.Images are signed using a private key by mkimage. Then at run-time, theimages are verified using a private key.This implementation uses openssl for the host part (mkimage). To avoidbringing large libraries into the U-Boot binary, the RSA public keyis encoded using a simple numeric representation in the device tree.Signed-off-by: Simon Glass <sjg@chromium.org>
123