mgmt: updatehub: Add hash var on context
Currently SHA-256 uses a temporary hash digest to calc final sha sum.
This moves temporary variable from local scope to updatehub context.
The motivation is to use the hash digest on future flash validation.
Signed-off-by:
Gerson Fernando Budke <gerson.budke@ossystems.com.br>
Loading
Please sign in to comment