You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm open to any discussion, but I think there should be asserts in instances like this.
When porting a unique crypto library, it is understood that the developer should handle errors, however, in mcuboot, an error doesn't end the mcuboot hash operation early. Instead it still continues till the hash check is incorrect. An assert here to make sure that if there are errors (like failed crypto engine boot) and end mcuboot crypto operation end earlier would be an improvement.
The text was updated successfully, but these errors were encountered:
I'm open to any discussion, but I think there should be asserts in instances like this.
When porting a unique crypto library, it is understood that the developer should handle errors, however, in mcuboot, an error doesn't end the mcuboot hash operation early. Instead it still continues till the hash check is incorrect. An assert here to make sure that if there are errors (like failed crypto engine boot) and end mcuboot crypto operation end earlier would be an improvement.
The text was updated successfully, but these errors were encountered: