diff options
| author | Tom Rini <[email protected]> | 2021-11-18 13:46:00 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-18 13:46:00 -0500 |
| commit | 7a9b76814716df6685bcb5e4752ea732e2fe8885 (patch) | |
| tree | c467f074cd5a60b081f6db66ee9df3b6981620c0 /boot | |
| parent | f299171c1dd8fb77b56b317adf80f7c60627d64f (diff) | |
| parent | b5b97ae07368d1b453d08d602b7c790b325366a9 (diff) | |
Merge branch '2021-11-17-assorted-driver-platform-updates' into next
- NVMe updates
- TI AM64x related USB updates
- Update PCIe CAM support macros, add PCI CAM support as well
- AST2600, Apple (ARM64) pinctrl drivers
- ARM-specific DEBUG uart inconsistencies fixed
- MediaTek MMC improvement
- aspeed: Support secure boot chain with FIT image verification
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/image-fit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/image-fit.c b/boot/image-fit.c index 33b4a46028b..b629339f4e0 100644 --- a/boot/image-fit.c +++ b/boot/image-fit.c @@ -1202,7 +1202,7 @@ int fit_set_timestamp(void *fit, int noffset, time_t timestamp) * calculate_hash - calculate and return hash for provided input data * @data: pointer to the input data * @data_len: data length - * @algo: requested hash algorithm + * @name: requested hash algorithm name * @value: pointer to the char, will hold hash value data (caller must * allocate enough free space) * value_len: length of the calculated hash @@ -1230,7 +1230,7 @@ int calculate_hash(const void *data, int data_len, const char *name, return -1; } - hash_algo = hash_algo_lookup_by_name(algo); + hash_algo = hash_algo_lookup_by_name(name); if (hash_algo == HASH_ALGO_INVALID) { debug("Unsupported hash algorithm\n"); return -1; |
