[PATCH 2/2] image-host: increase path length when setting up the cipher.

Hugo Cornelis hugo.cornelis at essensium.com
Fri Dec 29 22:07:38 CET 2023


This patch increases the maximum path length of the filename
containing the cipher key for the kernel from 128 to 256 characters.

Signed-off-by: Hugo Cornelis <hugo.cornelis at essensium.com>
---

 tools/image-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/image-host.c b/tools/image-host.c
index 3719f36117..b0012a714d 100644
--- a/tools/image-host.c
+++ b/tools/image-host.c
@@ -376,7 +376,7 @@ static int fit_image_setup_cipher(struct image_cipher_info *info,
 				  int noffset)
 {
 	char *algo_name;
-	char filename[128];
+	char filename[256];
 	int ret = -1;
 	int snprintf_return;
 
-- 
2.34.1



More information about the U-Boot mailing list