| 219050bf | 14-Nov-2018 |
Philippe Reynes <philippe.reynes@softathome.com> |
UPSTREAM: 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 framew
UPSTREAM: 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> (cherry picked from commit 20031567e12bb312bff95b70767f6275e20f0346)
Conflicts: common/image-fit.c lib/rsa/rsa-sign.c lib/rsa/rsa-verify.c
Change-Id: Ie522fec1ea69e6b86ebde0f7dad91a45670da66b Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|