Re: [U-Boot] [PATCH v3] Prevent a buffer overflow in mkimage when signing with SHA256

2014-05-30 Thread Simon Glass
On 30 May 2014 12:59, wrote: > From: Michael van der Westhuizen > > Due to the FIT_MAX_HASH_LEN constant not having been updated > to support SHA256 signatures one will always see a buffer > overflow in fit_image_process_hash when signing images that > use this larger hash. This is exposed by v

[U-Boot] [PATCH v3] Prevent a buffer overflow in mkimage when signing with SHA256

2014-05-30 Thread michael
From: Michael van der Westhuizen Due to the FIT_MAX_HASH_LEN constant not having been updated to support SHA256 signatures one will always see a buffer overflow in fit_image_process_hash when signing images that use this larger hash. This is exposed by vboot_test.sh. Signed-off-by: Michael van