MCUboot Trusted-Key Hash Provider: Qualify Output Length and Per-Image Identity
Accept a trusted-key hash provider only when its success result guarantees the correct image identity, a valid output length and fully initialized output bytes. A zero return code cannot substitute for those obligations. The provider is part of the authentication boundary, even when its implementation is small. This guide pins MCUboot v2.2.0’s MCUBOOT_HW_KEY callback interface…