commit | 1bc4222ba6dd2b35aad3e0dedd29dfab17b83411 | [log] [tgz] |
---|---|---|
author | Chia-Wei Wang <chiawei_wang@aspeedtech.com> | Mon Oct 14 17:56:19 2024 +0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 21 17:52:52 2024 -0600 |
tree | 1d473783b0d5efc5521f493e08811bb2d0b9a88d | |
parent | 78685957437a8ad715ee0cb1099d5bcc2c926e07 [diff] |
image-fit-sig: Remove padding check The padding algorithm is not mandatory for all signing algorithm. For example, ECDSA does not require a padding method. For RSA requiring PKCS padding, the belonging info->crypto(), assigned with rsa_verify_key(), also has the check on the validity of info->padding(). Thus, remove the info->padding check from the upper, general layer. Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Simon Glass <sjg@chromium.org>