/external/vboot_reference/tests/ |
D | vb20_common_tests.c | 64 struct vb2_packed_key k = {.key_offset = sizeof(k)}; in test_helper_functions() 70 struct vb2_packed_key k = {.key_offset = 123}; in test_helper_functions() 126 struct vb2_packed_key k = {.key_offset = sizeof(k), in test_helper_functions() 139 struct vb2_packed_key k = {.key_offset = 100, in test_helper_functions()
|
D | vb20_common2_tests.c | 32 uint32_t size = key1->key_offset + key1->key_size; in test_unpack_key() 58 key->key_offset++; in test_unpack_key() 64 *(uint32_t *)(buf + key->key_offset) /= 2; in test_unpack_key() 84 uint32_t pubkey_size = key1->key_offset + key1->key_size; in test_verify_data()
|
D | vb20_common3_tests.c | 48 public_key->key_offset + public_key->key_size), in test_verify_keyblock() 134 h->data_key.key_offset = 0; in test_verify_keyblock() 142 h->data_key.key_offset = hsize; in test_verify_keyblock() 190 public_key->key_offset + public_key->key_size), in test_verify_fw_preamble() 274 h->kernel_subkey.key_offset = 0; in test_verify_fw_preamble() 284 h->kernel_subkey.key_offset = hsize; in test_verify_fw_preamble()
|
D | vb21_misc_tests.c | 95 mock_gbb.rootkey.key_offset = in reset_common_data() 101 kb->key_offset = vb2_offset_of(&mock_vblock.k.kb, in reset_common_data() 107 dk->key_offset = dk->c.fixed_size; in reset_common_data() 109 dk->c.total_size = dk->key_offset + dk->key_size; in reset_common_data() 209 k->key_offset, mock_vblock.k.data_key_data, in load_keyblock_tests()
|
D | vboot_common3_tests.c | 131 h->data_key.key_offset = 0; in KeyBlockVerifyTest() 138 h->data_key.key_offset = hsize; in KeyBlockVerifyTest() 242 h->kernel_subkey.key_offset = 0; in VerifyFirmwarePreambleTest() 251 h->kernel_subkey.key_offset = hsize; in VerifyFirmwarePreambleTest()
|
D | vb21_common2_tests.c | 39 key2->key_offset += 4; in test_unpack_key() 101 key2->key_offset--; in test_unpack_key() 107 *(uint32_t *)((uint8_t *)key2 + key2->key_offset) /= 2; in test_unpack_key()
|
D | vb20_misc_tests.c | 92 mock_gbb.rootkey.key_offset = in reset_common_data() 100 kb->data_key.key_offset = in reset_common_data() 201 k->key_offset, mock_vblock.k.data_key_data, in verify_keyblock_tests()
|
D | vboot_common_tests.c | 161 TEST_EQ(k->key_offset, sizeof(VbPublicKey), "PublicKeyInit key_offset"); in PublicKeyTest() 178 TEST_EQ(j->key_offset, 2 * sizeof(VbPublicKey), in PublicKeyTest()
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_struct.h | 122 uint32_t key_offset; member 164 uint32_t key_offset; member 263 uint32_t key_offset; member
|
/external/vboot_reference/host/lib21/ |
D | host_keyblock.c | 44 kb.key_offset = kb.c.fixed_size + kb.c.desc_size; in vb2_keyblock_create() 52 kb.sig_offset = kb.key_offset + key->c.total_size; in vb2_keyblock_create() 65 memcpy(buf + kb.key_offset, key, key->c.total_size); in vb2_keyblock_create()
|
D | host_key.c | 111 pkey->key_offset, pkey->key_size)) in vb2_private_key_unpack() 140 start = (const unsigned char *)(buf + pkey->key_offset); in vb2_private_key_unpack() 258 pkey.key_offset = pkey.c.fixed_size + pkey.c.desc_size; in vb2_private_key_write() 260 pkey.c.total_size = pkey.key_offset + pkey.key_size; in vb2_private_key_write() 276 memcpy(buf + pkey.key_offset, rsabuf, rsalen); in vb2_private_key_write() 473 key.key_offset = key.c.fixed_size + key.c.desc_size; in vb2_public_key_pack() 481 key.c.total_size = key.key_offset + key.key_size; in vb2_public_key_pack() 503 buf32 = (uint32_t *)(buf + key.key_offset); in vb2_public_key_pack()
|
/external/vboot_reference/firmware/lib20/ |
D | packed_key.c | 14 return (const uint8_t *)key + key->key_offset; in vb2_packed_key_data() 23 key->key_offset, key->key_size); in vb2_verify_packed_key_inside()
|
D | misc.c | 111 memmove(key_data + packed_key->key_offset, in vb2_load_fw_keyblock() 112 (uint8_t*)&kb->data_key + kb->data_key.key_offset, in vb2_load_fw_keyblock() 118 packed_key->key_offset + packed_key->key_size; in vb2_load_fw_keyblock()
|
/external/vboot_reference/firmware/lib21/ |
D | packed_key.c | 65 pkey->key_offset, pkey->key_size); in vb2_unpack_key() 89 (const uint8_t *)pkey + pkey->key_offset, in vb2_unpack_key()
|
/external/v8/src/ic/arm64/ |
D | stub-cache-arm64.cc | 34 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 38 uintptr_t key_off_addr = reinterpret_cast<uintptr_t>(key_offset.address()); in ProbeTable() 51 __ Mov(scratch, key_offset); in ProbeTable()
|
/external/v8/src/ic/mips64/ |
D | stub-cache-mips64.cc | 24 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 28 uint64_t key_off_addr = reinterpret_cast<uint64_t>(key_offset.address()); in ProbeTable() 49 __ li(base_addr, Operand(key_offset)); in ProbeTable()
|
/external/v8/src/ic/arm/ |
D | stub-cache-arm.cc | 24 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 28 uint32_t key_off_addr = reinterpret_cast<uint32_t>(key_offset.address()); in ProbeTable() 48 __ mov(base_addr, Operand(key_offset)); in ProbeTable()
|
/external/v8/src/ic/ppc/ |
D | stub-cache-ppc.cc | 24 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 28 uintptr_t key_off_addr = reinterpret_cast<uintptr_t>(key_offset.address()); in ProbeTable() 50 __ mov(base_addr, Operand(key_offset)); in ProbeTable()
|
/external/v8/src/ic/mips/ |
D | stub-cache-mips.cc | 24 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 28 uint32_t key_off_addr = reinterpret_cast<uint32_t>(key_offset.address()); in ProbeTable() 49 __ li(base_addr, Operand(key_offset)); in ProbeTable()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 35 return (uint8_t *)key + key->key_offset; in GetPublicKeyData() 40 return (const uint8_t *)key + key->key_offset; in GetPublicKeyDataC() 92 key->key_offset, key->key_size); in VerifyPublicKeyInside() 105 key->key_offset = OffsetOf(key, key_data); in PublicKeyInit()
|
D | region-fw.c | 33 size = hdr.key_offset + hdr.key_size; in VbGbbReadKey()
|
/external/v8/src/ic/ia32/ |
D | stub-cache-ia32.cc | 23 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 42 __ cmp(name, Operand::StaticArray(offset, times_1, key_offset)); in ProbeTable() 91 __ cmp(name, Operand::StaticArray(offset, times_1, key_offset)); in ProbeTable()
|
/external/v8/src/ic/x87/ |
D | stub-cache-x87.cc | 23 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 42 __ cmp(name, Operand::StaticArray(offset, times_1, key_offset)); in ProbeTable() 91 __ cmp(name, Operand::StaticArray(offset, times_1, key_offset)); in ProbeTable()
|
/external/vboot_reference/host/lib/ |
D | host_key.c | 156 key->key_offset = sizeof(VbPublicKey); in PublicKeyAlloc() 259 rv = WriteFile(filename, kcopy, kcopy->key_offset + kcopy->key_size); in PublicKeyWrite()
|
/external/v8/src/ic/x64/ |
D | stub-cache-x64.cc | 34 ExternalReference key_offset(isolate->stub_cache()->key_reference(table)); in ProbeTable() local 41 __ LoadAddress(kScratchRegister, key_offset); in ProbeTable()
|