Home
last modified time | relevance | path

Searched refs:vb2_packed_key (Results 1 – 19 of 19) sorted by relevance

/external/vboot_reference/tests/
Dvb20_common_tests.c21 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()
Dvb20_common2_tests.c24 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()
Dvb21_misc_tests.c31 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()
Dvb20_api_tests.c54 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()
Dvb21_common2_tests.c25 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()
Dvb21_host_keyblock_tests.c25 struct vb2_packed_key *pak, *pakgood; in keyblock_tests()
89 pak = (struct vb2_packed_key *)((uint8_t *)kb + kb->key_offset); in keyblock_tests()
Dvb20_misc_tests.c29 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()
Dvb21_host_key_tests.c172 struct vb2_packed_key *pkey; in public_key_tests()
Dvb21_common_tests.c37 sizeof(struct vb2_packed_key), in test_struct_packing()
/external/vboot_reference/firmware/lib20/
Dpacked_key.c12 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()
Dmisc.c24 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/firmware/lib20/include/
Dvb2_struct.h21 struct vb2_packed_key { struct
114 struct vb2_packed_key data_key;
162 struct vb2_packed_key kernel_subkey;
Dvb2_common.h22 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/
Dhost_key.c436 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()
Dhost_keyblock.c34 struct vb2_packed_key *key = NULL; in vb2_keyblock_create()
/external/vboot_reference/host/lib21/include/
Dhost_key2.h191 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/
Dmisc.c72 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()
Dpacked_key.c49 const struct vb2_packed_key *pkey = in vb2_unpack_key()
50 (const struct vb2_packed_key *)buf; in vb2_unpack_key()
/external/vboot_reference/firmware/lib21/include/
Dvb2_struct.h117 struct vb2_packed_key { struct