Searched refs:vb2_packed_key (Results 1 – 19 of 19) sorted by relevance
/external/vboot_reference/firmware/lib20/ |
D | packed_key.c | 12 const uint8_t *vb2_packed_key_data(const struct vb2_packed_key *key) in vb2_packed_key_data() 19 const struct vb2_packed_key *key) in vb2_verify_packed_key_inside() 30 const struct vb2_packed_key *packed_key = in vb2_unpack_key() 31 (const struct vb2_packed_key *)buf; in vb2_unpack_key()
|
D | misc.c | 24 struct vb2_packed_key *packed_key; in vb2_load_fw_keyblock() 99 packed_key = (struct vb2_packed_key *)key_data; in vb2_load_fw_keyblock()
|
/external/vboot_reference/tests/ |
D | vb20_common_tests.c | 21 sizeof(struct vb2_packed_key), in test_struct_packing() 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 | 24 static void test_unpack_key(const struct vb2_packed_key *key1) in test_unpack_key() 34 struct vb2_packed_key *key = (struct vb2_packed_key *)buf; in test_unpack_key() 77 static void test_verify_data(const struct vb2_packed_key *key1, in test_verify_data() 145 struct vb2_packed_key *key1; in test_algorithm() 157 key1 = (struct vb2_packed_key *) in test_algorithm()
|
D | vb21_misc_tests.c | 31 struct vb2_packed_key rootkey; 39 struct vb2_packed_key data_key; 64 struct vb2_packed_key *dk = &mock_vblock.k.data_key; in reset_common_data() 182 struct vb2_packed_key *dk = &mock_vblock.k.data_key; in load_keyblock_tests() 183 struct vb2_packed_key *k; in load_keyblock_tests() 202 k = (struct vb2_packed_key *)(ctx.workbuf + in load_keyblock_tests()
|
D | vb20_api_tests.c | 54 struct vb2_packed_key *k; in reset_common_data() 92 k = (struct vb2_packed_key *) in reset_common_data() 119 struct vb2_packed_key *k = (struct vb2_packed_key *)buf; in vb2_unpack_key() 235 struct vb2_packed_key *k; in init_hash_tests() 291 k = (struct vb2_packed_key *)(cc.workbuf + sd->workbuf_data_key_offset); in init_hash_tests()
|
D | vb21_common2_tests.c | 25 static void test_unpack_key(const struct vb2_packed_key *key) in test_unpack_key() 28 struct vb2_packed_key *key2; in test_unpack_key() 32 key2 = (struct vb2_packed_key *)malloc(size); in test_unpack_key() 251 struct vb2_packed_key *key2 = NULL; in test_algorithm()
|
D | vb21_host_keyblock_tests.c | 25 struct vb2_packed_key *pak, *pakgood; in keyblock_tests() 89 pak = (struct vb2_packed_key *)((uint8_t *)kb + kb->key_offset); in keyblock_tests()
|
D | vb20_misc_tests.c | 29 struct vb2_packed_key rootkey; 176 struct vb2_packed_key *k; in verify_keyblock_tests() 195 k = (struct vb2_packed_key *)(cc.workbuf + sd->workbuf_data_key_offset); in verify_keyblock_tests()
|
D | vb21_host_key_tests.c | 172 struct vb2_packed_key *pkey; in public_key_tests()
|
D | vb21_common_tests.c | 37 sizeof(struct vb2_packed_key), in test_struct_packing()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 21 struct vb2_packed_key { struct 114 struct vb2_packed_key data_key; 162 struct vb2_packed_key kernel_subkey;
|
D | vb2_common.h | 22 const uint8_t *vb2_packed_key_data(const struct vb2_packed_key *key); 78 const struct vb2_packed_key *key);
|
/external/vboot_reference/host/lib21/ |
D | host_key.c | 436 int vb2_packed_key_read(struct vb2_packed_key **key_ptr, in vb2_packed_key_read() 452 *key_ptr = (struct vb2_packed_key *)buf; in vb2_packed_key_read() 457 int vb2_public_key_pack(struct vb2_packed_key **key_ptr, in vb2_public_key_pack() 460 struct vb2_packed_key key = { in vb2_public_key_pack() 511 *key_ptr = (struct vb2_packed_key *)buf; in vb2_public_key_pack() 567 struct vb2_packed_key *pkey; in vb2_public_key_write()
|
D | host_keyblock.c | 34 struct vb2_packed_key *key = NULL; in vb2_keyblock_create()
|
/external/vboot_reference/host/lib21/include/ |
D | host_key2.h | 191 int vb2_packed_key_read(struct vb2_packed_key **key_ptr, 203 int vb2_public_key_pack(struct vb2_packed_key **key_ptr,
|
/external/vboot_reference/firmware/lib21/ |
D | packed_key.c | 49 const struct vb2_packed_key *pkey = in vb2_unpack_key() 50 (const struct vb2_packed_key *)buf; in vb2_unpack_key()
|
D | misc.c | 72 struct vb2_packed_key *packed_key; in vb2_load_fw_keyblock() 115 packed_key = (struct vb2_packed_key *)((uint8_t *)kb + kb->key_offset); in vb2_load_fw_keyblock() 140 packed_key = (struct vb2_packed_key *)key_data; in vb2_load_fw_keyblock()
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_struct.h | 117 struct vb2_packed_key { struct
|