Specify SHA-256 when printing firmware info

This commit is contained in:
wheremyfoodat
2024-12-01 00:03:42 +02:00
committed by GitHub
parent 7e51f50999
commit ab2005d50d

View File

@@ -344,7 +344,7 @@ void DSPService::printFirmwareInfo() {
sha.CalculateDigest(hash.data(), loadedComponent.data(), firmwareSize);
fmt::print("\nLoaded DSP firmware\n");
fmt::print("DSP firmware hash: {:X}\n", fmt::join(hash, ""));
fmt::print("Firmware SHA-256 hash: {:X}\n", fmt::join(hash, ""));
fmt::print("Size: {} bytes ({} KB)\n", firmwareSize, firmwareSize / 1024);
bool knownFirmware = false;
@@ -368,4 +368,4 @@ void DSPService::printFirmwareInfo() {
}
fmt::print("\n");
}
}