u-boot/lib
Michael van der Westhuizen e0f2f15534 Implement generalised RSA public exponents for verified boot
Remove the verified boot limitation that only allows a single
RSA public exponent of 65537 (F4).  This change allows use with
existing PKI infrastructure and has been tested with HSM-based
PKI.

Change the configuration OF tree format to store the RSA public
exponent as a 64 bit integer and implement backward compatibility
for verified boot configuration trees without this extra field.

Parameterise vboot_test.sh to test different public exponents.

Mathematics and other hard work by Andrew Bott.

Tested with the following public exponents: 3, 5, 17, 257, 39981,
50457, 65537 and 4294967297.

Signed-off-by: Andrew Bott <Andrew.Bott@ipaccess.com>
Signed-off-by: Andrew Wishart <Andrew.Wishart@ipaccess.com>
Signed-off-by: Neil Piercy <Neil.Piercy@ipaccess.com>
Signed-off-by: Michael van der Westhuizen <michael@smart-africa.com>
Cc: Simon Glass <sjg@chromium.org>
2014-08-09 11:17:01 -04:00
..
libfdt
lzma
lzo
rsa Implement generalised RSA public exponents for verified boot 2014-08-09 11:17:01 -04:00
tizen
zlib
addr_map.c
aes.c
asm-offsets.c
bch.c
bitrev.c
bzlib_crctable.c
bzlib_decompress.c
bzlib_huffman.c
bzlib_private.h
bzlib_randtable.c
bzlib.c
circbuf.c
crc7.c
crc8.c
crc16.c
crc32.c
ctype.c
display_options.c
div64.c
errno.c
fdtdec_common.c
fdtdec_test.c
fdtdec.c
gunzip.c
gzip.c
hang.c
hashtable.c
initcall.c
ldiv.c
linux_string.c
lmb.c
Makefile
md5.c
net_utils.c
physmem.c
qsort.c
rand.c
rbtree.c
sha1.c
sha256.c
slre.c
string.c
strmhz.c
time.c
tpm.c
trace.c
uuid.c
vsprintf.c