1. A machine-readable medium storing one or more sequences of instructions, which when executed, cause: in response to firmware, executing on a device, receiving an indication that an application, executing on the device, is requesting a service provided by the firmware, the firmware obtaining (a) an operating system signature associated with the application and (b) a firmware signature associated with the application, wherein the operating system signature is a signature that is used by the operating system, executing on the device, to authenticate the application, and wherein the firmware signature is a signature that is used by the firmware to authenticate the application; and upon the firmware determining that the operating system signature matches the firmware signature, the firmware storing trust data that permits the application to access the service provided by the firmware.