/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()
|
D | vb21_host_keyblock_tests.c | 89 pak = (struct vb2_packed_key *)((uint8_t *)kb + kb->key_offset); in keyblock_tests()
|
/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/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/icing/icing/legacy/index/ |
D | icing-dynamic-trie.cc | 1589 int key_offset; in Insert() local 1590 FindBestNode(key, &best_node_index, &key_offset, false); in Insert() 1593 if (key_offset < 0) { in Insert() 1610 const char *key_cur = key + key_offset; in Insert() 1671 split_next[1].set_val(*(key + key_offset + common_len)); in Insert() 1673 if (*(key + key_offset + common_len)) { in Insert() 1675 key + key_offset + common_len + 1, value, value_index); in Insert() 1678 uint32_t next_index = storage_->MakeSuffix(key + key_offset + common_len, in Insert() 1692 if (*(key + key_offset)) { in Insert() 1694 storage_->MakeSuffix(key + key_offset + 1, value, value_index); in Insert() [all …]
|
/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/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/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()
|
D | util_misc.c | 23 uint8_t *buf = ((uint8_t *)key) + key->key_offset; in PrintPubKeySha1Sum()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 23 uint32_t key_offset; member
|
/external/flatbuffers/src/ |
D | idl_gen_java.cpp | 512 std::string key_offset = ""; in GenOffsetGetter() local 513 key_offset += "__offset(" + NumToString(key_field->value.offset) + ", "; in GenOffsetGetter() 515 key_offset += num; in GenOffsetGetter() 516 key_offset += ", _bb)"; in GenOffsetGetter() 518 key_offset += GenByteBufferLength("bb"); in GenOffsetGetter() 519 key_offset += " - tableOffset, bb)"; in GenOffsetGetter() 521 return key_offset; in GenOffsetGetter()
|
D | idl_gen_kotlin.cpp | 408 std::string key_offset = in GenOffsetGetter() local 411 key_offset += num; in GenOffsetGetter() 412 key_offset += ", _bb)"; in GenOffsetGetter() 414 key_offset += GenByteBufferLength("bb"); in GenOffsetGetter() 415 key_offset += " - tableOffset, bb)"; in GenOffsetGetter() 417 return key_offset; in GenOffsetGetter()
|
/external/e2fsprogs/misc/ |
D | e2undo.c | 58 __le64 key_offset; /* where do the key/data block chunks start? */ member 132 printf("key block:\t%llu\n", ext2fs_le64_to_cpu(hdr->key_offset)); in dump_header() 497 lblk = ext2fs_le64_to_cpu(undo_ctx.hdr.key_offset); in main()
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 16 uint64_t key_offset; member
|