rsa: add a structure for the padding
authorPhilippe Reynes <philippe.reynes@softathome.com>
Wed, 14 Nov 2018 12:51:00 +0000 (13:51 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
commit20031567e12bb312bff95b70767f6275e20f0346
tree00c9c34581da071f3a87ee01c27370cc524cf223
parent3b5d6979fcb80ffae3b140be6edc04cbde1a0b72
rsa: add a structure for the padding

The rsa signature use a padding algorithm. By default, we use the
padding pkcs-1.5. In order to add some new padding algorithm, we
add a padding framework to manage several padding algorithm.
The choice of the padding is done in the file .its.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-fit.c
common/image-sig.c
include/image.h
include/u-boot/rsa.h
lib/rsa/rsa-sign.c
lib/rsa/rsa-verify.c
tools/image-host.c