Home
last modified time | relevance | path

Searched refs:nvdata (Results 1 – 7 of 7) sorted by relevance

/external/vboot_reference/tests/
Dvb2_nvstorage_tests.c75 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/
D2nvstorage.c17 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/u-boot/drivers/tpm/
Dtpm_tis_sandbox.c59 uint8_t nvdata[NV_SEQ_COUNT][NV_DATA_SIZE]; member
86 memcpy(g_state.nvdata[i], prop, NV_DATA_SIZE); in sandbox_tpm_read_state()
114 fdt_setprop(blob, node, prop_name, g_state.nvdata[i], in sandbox_tpm_write_state()
195 memcpy(&tpm->nvdata[seq], sendbuf + 22, length); in sandbox_tpm_xfer()
225 sizeof(uint32_t), &tpm->nvdata[seq], length); in sandbox_tpm_xfer()
/external/vboot_reference/firmware/lib/tpm_lite/
Dtlcl.c405 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/
D2api.h122 uint8_t nvdata[VB2_NVDATA_SIZE]; member
/external/u-boot/lib/efi_loader/
Defi_net.c355 netobj->net.nvdata = efi_net_nvdata; in efi_net_register()
/external/u-boot/include/
Defi_api.h780 efi_status_t (EFIAPI *nvdata)(struct efi_simple_network *this,