Fix mac generation
hw_id parts could be less then 8 bytes, add steps to treat missing bytes as 0's so correct MAC would be generated. 2 out of 8 BPi's hit that problem

Change-Id: I383a65e7375dc2227d516e13911843b22d85e743
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/6944205
Reviewed-by: Shijin Abraham <shijinabraham@google.com>
Commit-Queue: Alexandr Astrouski <astrouski@google.com>
Tested-by: Alexandr Astrouski <astrouski@google.com>
3 files changed