wolfBoot icon indicating copy to clipboard operation
wolfBoot copied to clipboard

Improved image, keygen, sign, test lib messages. Polish

Open gojimmypi opened this issue 3 months ago • 1 comments

This PR improves the diagnostic messages and error checking for various executable app code (image, keygen, sign).

Also polishes for code readability, adding return results, moved arg processing to separate function, and other improvements.

Note: test-lib now returns non-zero error code for errors, not just failure text.

No key functionality changes.

Was failing because of image size difference, perhaps due to new static inline int key_hash_ok(int id, uint8_t* digest) and other checks. See size adjustments in https://github.com/wolfSSL/wolfBoot/pull/625/commits/6527db71a2188e016bfdad73fb488531b604ec2a

gojimmypi avatar Oct 31 '25 18:10 gojimmypi

Converting to draft while I address code review: remove new key_hash_ok and WOLFBOOT_KEYHASH_HAS_RESULT; have all hash algos return values.

gojimmypi avatar Nov 13 '25 01:11 gojimmypi