Function getInformationFromSmmFirmwareVersion
- getInformationFromSmmFirmwareVersion(firmwareVersion: string | number): {
isEncrypted: boolean;
isSpecial: boolean;
version: number;
}
-
Parameters
-
firmwareVersion: string | number
Returns {
isEncrypted: boolean;
isSpecial: boolean;
version: number;
}
-
isEncrypted: boolean
-
isSpecial: boolean
-
version: number
Extracts metadata from a given SMM firmware version, including whether it is a special version and whether it is encrypted.
Internally, the firmware version is first encoded using
bitwiseEncodeSemverString. The function then:Returns
An object containing:
version: The encoded firmware version number.isSpecial:trueif the version is in the list of special versions.isEncrypted:trueif the version is considered encrypted according to the rules.