summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorAndrew Duda <aduda@meraki.com>2016-11-08 18:53:39 (GMT)
committerTom Rini <trini@konsulko.com>2016-11-21 19:07:30 (GMT)
commit5300a4f9336291fb713fcfaf9ea6e51b71824800 (patch)
treeaaac4fa1018deea1e442dbfc67748a24c820749d /include/image.h
parent187f9dc3f70f827fe0742d5345067fcabd1cca6b (diff)
downloadu-boot-fsl-qoriq-5300a4f9336291fb713fcfaf9ea6e51b71824800.tar.xz
rsa: cosmetic: rename pad_len to key_len
checksum_algo's pad_len field isn't actually used to store the length of the padding but the total length of the RSA key (msg_len + pad_len) Signed-off-by: Andrew Duda <aduda@meraki.com> Signed-off-by: aduda <aduda@meraki.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 2b1296c..bfe10a0 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1070,7 +1070,7 @@ struct image_region {
struct checksum_algo {
const char *name;
const int checksum_len;
- const int pad_len;
+ const int key_len;
#if IMAGE_ENABLE_SIGN
const EVP_MD *(*calculate_sign)(void);
#endif