[U-Boot] [PATCH 2/4] rsa: add a structure for the padding

Simon Glass sjg at chromium.org
Tue Oct 9 16:19:18 UTC 2018


On 2 October 2018 at 10:32, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
> 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 at softathome.com>
> ---
>  common/image-fit.c   |  5 +++++
>  common/image-sig.c   | 29 ++++++++++++++++++++++++++
>  include/image.h      | 16 +++++++++++++++
>  include/u-boot/rsa.h | 13 ++++++++++++
>  lib/rsa/rsa-sign.c   | 15 +++++++++++---
>  lib/rsa/rsa-verify.c | 57 ++++++++++++++++++++++++++++++++++------------------
>  tools/image-host.c   |  4 ++++
>  7 files changed, 116 insertions(+), 23 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Pleaseupdate the docs in doc/uImage with the new device-tree setting.


More information about the U-Boot mailing list