On 2026-09-17T06:55:42, Lorenz Kofler <[email protected]> wrote: > binman: pre-load: Move signing into its own function > > _CreateHeader() signs twice, once for the image and once for the first > header, with the same key and the same padding. Move the signing into a > _sign() helper rather than repeating it. > > This is a preparation for signing with an OpenSSL engine, which needs a > second implementation of _sign(). No functional change. > > Assisted-by: Claude:claude-opus-5 > Signed-off-by: Lorenz Kofler <[email protected]> > > tools/binman/etype/pre_load.py | 49 ++++++++++++++++++++++++++---------------- > 1 file changed, 30 insertions(+), 19 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
