aboutsummaryrefslogtreecommitdiff
path: root/include/u-boot/rsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u-boot/rsa.h')
-rw-r--r--include/u-boot/rsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/u-boot/rsa.h b/include/u-boot/rsa.h
index b9634e38d9a..085363eb1e5 100644
--- a/include/u-boot/rsa.h
+++ b/include/u-boot/rsa.h
@@ -101,11 +101,11 @@ int rsa_verify_with_pkey(struct image_sign_info *info,
const void *hash, uint8_t *sig, uint sig_len);
int padding_pkcs_15_verify(struct image_sign_info *info,
- uint8_t *msg, int msg_len,
+ const uint8_t *msg, int msg_len,
const uint8_t *hash, int hash_len);
int padding_pss_verify(struct image_sign_info *info,
- uint8_t *msg, int msg_len,
+ const uint8_t *msg, int msg_len,
const uint8_t *hash, int hash_len);
#define RSA_DEFAULT_PADDING_NAME "pkcs-1.5"