Searched refs:nvdata (Results 1 – 4 of 4) sorted by relevance
/external/vboot_reference/tests/ |
D | vb2_nvstorage_tests.c | 75 memset(c.nvdata, 0xA6, sizeof(c.nvdata)); in nv_storage_test() 80 TEST_EQ(c.nvdata[0], 0x70, "vb2_nv_init() reset header byte"); in nv_storage_test() 81 TEST_NEQ(c.nvdata[15], 0, "vb2_nv_init() CRC"); in nv_storage_test() 85 goodcrc = c.nvdata[15]; in nv_storage_test() 93 TEST_EQ(c.nvdata[15], goodcrc, "vb2_nv_init() CRC same"); in nv_storage_test() 97 c.nvdata[0] ^= 0x40; in nv_storage_test() 101 TEST_EQ(c.nvdata[0], 0x70, "vb2_nv_init() reset header byte again"); in nv_storage_test() 103 TEST_EQ(c.nvdata[15], goodcrc, "vb2_nv_init() CRC same again"); in nv_storage_test() 106 TEST_EQ(c.nvdata[11], 0, "Kernel byte starts at 0"); in nv_storage_test() 107 c.nvdata[11] = 12; in nv_storage_test() [all …]
|
/external/vboot_reference/firmware/2lib/ |
D | 2nvstorage.c | 17 ctx->nvdata[VB2_NV_OFFS_CRC] = vb2_crc8(ctx->nvdata, VB2_NV_OFFS_CRC); in vb2_nv_regen_crc() 34 const uint8_t *p = ctx->nvdata; in vb2_nv_check_crc() 51 uint8_t *p = ctx->nvdata; in vb2_nv_init() 77 const uint8_t *p = ctx->nvdata; in vb2_nv_get() 171 uint8_t *p = ctx->nvdata; in vb2_nv_set()
|
/external/vboot_reference/firmware/lib/tpm_lite/ |
D | tlcl.c | 405 uint8_t* nvdata; in TlclGetPermissions() local 415 nvdata = response + kTpmResponseHeaderLength + sizeof(size); in TlclGetPermissions() 416 FromTpmUint32(nvdata + kNvDataPublicPermissionsOffset, permissions); in TlclGetPermissions()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2api.h | 122 uint8_t nvdata[VB2_NVDATA_SIZE]; member
|