KMP utility functions for firmware hash calculation.
Convert byte array to lowercase hex string.
Calculate SHA-256 hash of raw bytes.