/external/vboot_reference/firmware/include/ |
D | vboot_api.h | 35 typedef uint32_t VbError_t; typedef 354 VbError_t VbInit(VbCommonParams *cparams, VbInitParams *iparams); 367 VbError_t VbSelectFirmware(VbCommonParams *cparams, 383 VbError_t VbSelectAndLoadKernel(VbCommonParams *cparams, 462 VbError_t VbExBeep(uint32_t msec, uint32_t frequency); 469 VbError_t VbExTpmInit(void); 476 VbError_t VbExTpmClose(void); 477 VbError_t VbExTpmOpen(void); 484 VbError_t VbExTpmSendReceive(const uint8_t *request, uint32_t request_length, 495 VbError_t VbExNvStorageRead(uint8_t *buf); [all …]
|
D | gbb_access.h | 27 VbError_t VbGbbReadHeader_static(VbCommonParams *cparams, 38 VbError_t VbGbbReadRootKey(VbCommonParams *cparams, 49 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams, 59 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams, 77 VbError_t VbGbbReadImage(VbCommonParams *cparams,
|
D | region.h | 30 VbError_t VbRegionReadData(VbCommonParams *cparams, 52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
|
/external/vboot_reference/firmware/stub/ |
D | vboot_api_stub.c | 26 VbError_t VbExBeep(uint32_t msec, uint32_t frequency) in VbExBeep() 31 VbError_t VbExDisplayInit(uint32_t *width, uint32_t *height) in VbExDisplayInit() 36 VbError_t VbExDisplayBacklight(uint8_t enable) in VbExDisplayBacklight() 41 VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height) in VbExDisplaySetDimension() 46 VbError_t VbExDisplayScreen(uint32_t screen_type) in VbExDisplayScreen() 51 VbError_t VbExDisplayImage(uint32_t x, uint32_t y, in VbExDisplayImage() 57 VbError_t VbExDisplayDebugInfo(const char *info_str) in VbExDisplayDebugInfo() 82 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, in VbExDecompress() 94 VbError_t VbExEcRunningRW(int devidx, int *in_rw) in VbExEcRunningRW() 100 VbError_t VbExEcJumpToRW(int devidx) in VbExEcJumpToRW() [all …]
|
D | tpm_lite_stub.c | 49 static VbError_t DoError(VbError_t result, const char* format, ...) { in DoError() 79 static VbError_t TpmExecute(const uint8_t *in, const uint32_t in_len, in TpmExecute() 136 VbError_t VbExTpmInit(void) { in VbExTpmInit() 144 VbError_t VbExTpmClose(void) { in VbExTpmClose() 153 VbError_t VbExTpmOpen(void) { in VbExTpmOpen() 188 VbError_t VbExTpmSendReceive(const uint8_t* request, uint32_t request_length, in VbExTpmSendReceive() 210 VbError_t result; in VbExTpmSendReceive()
|
D | vboot_api_stub_disk.c | 21 VbError_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count, in VbExDiskGetInfo() 29 VbError_t VbExDiskFreeInfo(VbDiskInfo* infos_ptr, in VbExDiskFreeInfo() 35 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() 41 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite()
|
D | vboot_api_stub_stream.c | 29 VbError_t VbExStreamOpen(VbExDiskHandle_t handle, uint64_t lba_start, in VbExStreamOpen() 49 VbError_t VbExStreamRead(VbExStream_t stream, uint32_t bytes, void *buffer) in VbExStreamRead() 53 VbError_t rv; in VbExStreamRead()
|
D | vboot_api_stub_init.c | 64 VbError_t VbExNvStorageRead(uint8_t *buf) in VbExNvStorageRead() 69 VbError_t VbExNvStorageWrite(const uint8_t *buf) in VbExNvStorageWrite()
|
/external/vboot_reference/tests/ |
D | vboot_api_devmode_tests.c | 41 VbError_t beep_return; 146 static VbError_t beep_return; 189 VbError_t VbExNvStorageRead(uint8_t* buf) { in VbExNvStorageRead() 194 VbError_t VbExNvStorageWrite(const uint8_t* buf) { in VbExNvStorageWrite() 199 VbError_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count, in VbExDiskGetInfo() 204 VbError_t VbExDiskFreeInfo(VbDiskInfo* infos, in VbExDiskFreeInfo() 209 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() 214 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() 252 VbError_t VbExBeep(uint32_t msec, uint32_t frequency) { in VbExBeep() 268 VbError_t VbExDisplayScreen(uint32_t screen_type) { in VbExDisplayScreen() [all …]
|
D | vboot_api_kernel3_tests.c | 31 static VbError_t in_rw_retval; 120 VbError_t VbExEcRunningRW(int devidx, int *in_rw) in VbExEcRunningRW() 126 VbError_t VbExEcProtectRW(int devidx) in VbExEcProtectRW() 132 VbError_t VbExEcDisableJump(int devidx) in VbExEcDisableJump() 137 VbError_t VbExEcJumpToRW(int devidx) in VbExEcJumpToRW() 143 VbError_t VbExEcHashRW(int devidx, const uint8_t **hash, int *hash_size) in VbExEcHashRW() 150 VbError_t VbExEcGetExpectedRW(int devidx, enum VbSelectFirmware_t select, in VbExEcGetExpectedRW() 159 VbError_t VbExEcGetExpectedRWHash(int devidx, enum VbSelectFirmware_t select, in VbExEcGetExpectedRWHash() 177 VbError_t VbExEcUpdateRW(int devidx, const uint8_t *image, int image_size) in VbExEcUpdateRW() 183 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force, in VbDisplayScreen() [all …]
|
D | vboot_api_kernel4_tests.c | 35 static VbError_t vbboot_retval; 68 VbError_t VbExNvStorageRead(uint8_t *buf) in VbExNvStorageRead() 74 VbError_t VbExNvStorageWrite(const uint8_t *buf) in VbExNvStorageWrite() 80 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams) in VbEcSoftwareSync() 103 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p) in VbBootNormal() 113 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p) in VbBootDeveloper() 123 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p) in VbBootRecovery() 133 static void test_slk(VbError_t retval, int recovery_reason, const char *desc) in test_slk()
|
D | vboot_api_firmware_tests.c | 41 static VbError_t mock_rfw_retval; 42 static VbError_t mock_rfl_retval; 43 static VbError_t mock_lf_retval; 44 static VbError_t mock_stbms_retval; 82 VbError_t VbExNvStorageRead(uint8_t* buf) { in VbExNvStorageRead() 87 VbError_t VbExNvStorageWrite(const uint8_t* buf) { in VbExNvStorageWrite() 135 static void TestVbSf(VbError_t expected_retval, in TestVbSf()
|
D | vboot_region_tests.c | 35 static VbError_t mock_lf_retval; 124 VbError_t VbExNvStorageRead(uint8_t* buf) { in VbExNvStorageRead() 129 VbError_t VbExNvStorageWrite(const uint8_t* buf) { in VbExNvStorageWrite() 134 VbError_t VbExRegionRead(VbCommonParams *cparams, in VbExRegionRead() 147 VbError_t VbExDisplayImage(uint32_t x, uint32_t y, in VbExDisplayImage() 164 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, in VbExDecompress()
|
D | vboot_api_kernel_tests.c | 36 VbError_t diskgetinfo_return_val; 39 VbError_t loadkernel_return_val[MAX_TEST_DISKS]; 221 VbError_t VbExDiskGetInfo(VbDiskInfo **infos_ptr, uint32_t *count, in VbExDiskGetInfo() 269 VbError_t VbExDiskFreeInfo(VbDiskInfo *infos, in VbExDiskFreeInfo() 278 VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams) in LoadKernel()
|
D | tlcl_tests.c | 25 static VbError_t mock_retval; 36 VbError_t retval; /* Value to return */ 72 VbError_t VbExTpmInit(void) in VbExTpmInit() 78 VbError_t VbExTpmClose(void) in VbExTpmClose() 83 VbError_t VbExTpmSendReceive(const uint8_t *request, uint32_t request_length, in VbExTpmSendReceive()
|
D | verify_kernel.c | 27 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() 41 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite()
|
/external/vboot_reference/firmware/lib/include/ |
D | vboot_display.h | 15 VbError_t VbDisplayScreenFromGBB(VbCommonParams *cparams, uint32_t screen, 17 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force, 19 VbError_t VbDisplayDebugInfo(VbCommonParams *cparams, VbNvContext *vncptr); 20 VbError_t VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key, 48 VbError_t VbGetLocalizationCount(VbCommonParams *cparams, uint32_t *count);
|
D | vboot_kernel.h | 57 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p); 62 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p); 67 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p); 72 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams);
|
/external/vboot_reference/firmware/lib/ |
D | region-kernel.c | 20 static VbError_t VbRegionReadGbb(VbCommonParams *cparams, uint32_t offset, in VbRegionReadGbb() 26 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams, BmpBlockHeader *hdr_ret) in VbGbbReadBmpHeader() 29 VbError_t ret; in VbGbbReadBmpHeader() 65 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid, in VbRegionReadHWID() 69 VbError_t ret; in VbRegionReadHWID() 96 VbError_t VbGbbReadImage(VbCommonParams *cparams, in VbGbbReadImage() 106 VbError_t ret; in VbGbbReadImage()
|
D | region-fw.c | 20 static VbError_t VbGbbReadKey(VbCommonParams *cparams, uint32_t offset, in VbGbbReadKey() 24 VbError_t ret; in VbGbbReadKey() 47 VbError_t VbGbbReadRootKey(VbCommonParams *cparams, VbPublicKey **keyp) in VbGbbReadRootKey() 52 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams, VbPublicKey **keyp) in VbGbbReadRecoveryKey()
|
D | region-init.c | 20 VbError_t VbRegionReadData(VbCommonParams *cparams, in VbRegionReadData() 32 VbError_t ret; in VbRegionReadData() 45 VbError_t VbGbbReadHeader_static(VbCommonParams *cparams, in VbGbbReadHeader_static()
|
D | vboot_display.c | 23 VbError_t VbGetLocalizationCount(VbCommonParams *cparams, uint32_t *count) in VbGetLocalizationCount() 26 VbError_t ret; in VbGetLocalizationCount() 140 VbError_t VbDisplayScreenFromGBB(VbCommonParams *cparams, uint32_t screen, in VbDisplayScreenFromGBB() 147 VbError_t retval = VBERROR_UNKNOWN; /* Assume error until proven ok */ in VbDisplayScreenFromGBB() 153 VbError_t ret; in VbDisplayScreenFromGBB() 305 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, in VbDisplayScreen() 308 VbError_t retval; in VbDisplayScreen() 503 VbError_t VbDisplayDebugInfo(VbCommonParams *cparams, VbNvContext *vncptr) in VbDisplayDebugInfo() 513 VbError_t ret; in VbDisplayDebugInfo() 628 VbError_t VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key, in VbCheckDisplayKey()
|
D | vboot_api_kernel.c | 74 VbError_t retval = VBERROR_UNKNOWN; in VbTryLoadKernel() 220 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p) in VbBootNormal() 227 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p) in VbBootDeveloper() 450 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p) in VbBootRecovery() 620 static VbError_t EcProtectRW(int devidx) in EcProtectRW() 633 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams) in VbEcSoftwareSync() 967 VbError_t VbSelectAndLoadKernel(VbCommonParams *cparams, in VbSelectAndLoadKernel() 972 VbError_t retval = VBERROR_SUCCESS; in VbSelectAndLoadKernel()
|
D | vboot_api_firmware.c | 20 VbError_t VbSelectFirmware(VbCommonParams *cparams, in VbSelectFirmware() 26 VbError_t retval = VBERROR_UNKNOWN; /* Default to error */ in VbSelectFirmware()
|
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 36 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead() 56 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite() 87 VbError_t rv; in main()
|