aboutsummaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSESA644425 <giojahermann@gmail.com>2022-03-09 01:27:15 -0800
committerTom Rini <trini@konsulko.com>2022-04-11 11:39:19 -0400
commitc755aa8a1dc2f2b819ce36148248ebe93bbc7f86 (patch)
treea66f046d74706b2ac4b2b04cf58cc4df969da89f /include/image.h
parent7262ff7e564c8b7d81f940af242c20f832ee7511 (diff)
downloadu-boot-c755aa8a1dc2f2b819ce36148248ebe93bbc7f86.zip
u-boot-c755aa8a1dc2f2b819ce36148248ebe93bbc7f86.tar.gz
u-boot-c755aa8a1dc2f2b819ce36148248ebe93bbc7f86.tar.bz2
lib: rsa: Fix const-correctness of rsassa_pss functions
Prior to introduction of modifications in rsassa_pss functions related to padding verification, doing a pass to update const-correctness in targeted functions to comply with coding-rules and avoid const-cast Signed-off-by: SESA644425 <gioja.hermann@non.se.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 673b5f5..e4c6a50 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1309,7 +1309,7 @@ ll_entry_declare(struct crypto_algo, __name, cryptos)
struct padding_algo {
const char *name;
int (*verify)(struct image_sign_info *info,
- uint8_t *pad, int pad_len,
+ const uint8_t *pad, int pad_len,
const uint8_t *hash, int hash_len);
};