mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
lib: rsa: export rsa_verify_with_pkey()
This function will be used to implement public_key_verify_signature() in a later patch. rsa_verify() is not suitable here because calculation of message digest is not necessary. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
53ce9a6ed9
commit
491bfe8606
@@ -112,6 +112,9 @@ int rsa_verify(struct image_sign_info *info,
|
||||
const struct image_region region[], int region_count,
|
||||
uint8_t *sig, uint sig_len);
|
||||
|
||||
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 *hash, int hash_len);
|
||||
|
Reference in New Issue
Block a user