diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2021-10-15 12:28:47 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-26 22:26:45 +0300 |
commit | b560c704d66edf30c32c2a588bc1d177750bb418 (patch) | |
tree | 4fc25c39519712ed5cd16beb1ea31739b292c1f6 /common | |
parent | 32cc3929a173246bf55b2a602082cabd971fc71b (diff) | |
download | u-boot-b560c704d66edf30c32c2a588bc1d177750bb418.tar.xz |
lib: rsa: rsa-verify: also check that padding is not NULL
This commit adds a check on the padding in the function rsa_verify_key
to avoid using a NULL pointer.
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions