/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 45 struct vb2_signature { struct 99 struct vb2_signature keyblock_signature; 107 struct vb2_signature keyblock_checksum_unused; 151 struct vb2_signature preamble_signature; 165 struct vb2_signature body_signature;
|
D | vb2_common.h | 23 uint8_t *vb2_signature_data(struct vb2_signature *sig); 65 const struct vb2_signature *sig); 105 struct vb2_signature *sig, 122 struct vb2_signature *sig,
|
/external/vboot_reference/firmware/lib21/ |
D | common.c | 176 int vb2_verify_signature(const struct vb2_signature *sig, uint32_t size) in vb2_verify_signature() 222 static uint8_t *vb2_signature_data(struct vb2_signature *sig) in vb2_signature_data() 228 struct vb2_signature *sig, in vb2_verify_digest() 262 struct vb2_signature *sig, in vb2_verify_data() 345 struct vb2_signature *sig; in vb2_verify_keyblock() 353 sig = (struct vb2_signature *)((uint8_t *)block + sig_offset); in vb2_verify_keyblock() 381 struct vb2_signature *sig; in vb2_verify_fw_preamble() 415 sig = (struct vb2_signature *) in vb2_verify_fw_preamble() 436 sig = (struct vb2_signature *)((uint8_t *)preamble + in vb2_verify_fw_preamble()
|
D | api.c | 46 const struct vb2_signature *sig = NULL; in vb2api_init_hash2() 63 sig = (const struct vb2_signature *) in vb2api_init_hash2() 126 const struct vb2_signature *sig; in vb2api_check_hash() 135 sig = (const struct vb2_signature *)(ctx->workbuf + sd->hash_tag); in vb2api_check_hash()
|
/external/vboot_reference/tests/ |
D | vb21_common_tests.c | 40 sizeof(struct vb2_signature), in test_struct_packing() 220 struct vb2_signature *sig; in test_verify_hash() 257 struct vb2_signature *sig; in test_verify_keyblock() 345 sig = (struct vb2_signature *)(buf + kbuf->sig_offset); in test_verify_keyblock() 352 sig = (struct vb2_signature *)(buf + kbuf->sig_offset); in test_verify_keyblock() 359 sig = (struct vb2_signature *)(buf + kbuf->sig_offset); in test_verify_keyblock() 382 struct vb2_signature *hashes[3]; in test_verify_fw_preamble() 384 struct vb2_signature *sig; in test_verify_fw_preamble() 418 (const struct vb2_signature **)hashes, in test_verify_fw_preamble() 470 sig = (struct vb2_signature *)(buf + pre->hash_offset); in test_verify_fw_preamble() [all …]
|
D | vb20_common_tests.c | 24 sizeof(struct vb2_signature), in test_struct_packing() 76 struct vb2_signature s = {.sig_offset = sizeof(s)}; in test_helper_functions() 82 struct vb2_signature s = {.sig_offset = 123}; in test_helper_functions() 147 struct vb2_signature s = {.sig_offset = sizeof(s), in test_helper_functions() 160 struct vb2_signature s = {.sig_offset = 100, in test_helper_functions()
|
D | vb21_common2_tests.c | 115 static void test_verify_signature(const struct vb2_signature *sig) in test_verify_signature() 117 struct vb2_signature *sig2; in test_verify_signature() 124 sig2 = (struct vb2_signature *)buf2; in test_verify_signature() 170 const struct vb2_signature *sig) in test_verify_data() 177 struct vb2_signature *sig2; in test_verify_data() 188 sig2 = (struct vb2_signature *)buf2; in test_verify_data() 249 struct vb2_signature *sig2 = NULL; in test_algorithm()
|
D | vb20_common2_tests.c | 78 const struct vb2_signature *sig) in test_verify_data() 87 struct vb2_signature *sig2; in test_verify_data() 92 sig2 = (struct vb2_signature *)malloc(sig_total_size); in test_verify_data() 144 struct vb2_signature *sig = NULL; in test_algorithm() 165 sig = (struct vb2_signature *) in test_algorithm()
|
D | vb21_host_fw_preamble_tests.c | 34 struct vb2_signature *hashes[3]; in preamble_tests() 78 (const struct vb2_signature **)hashes, in preamble_tests() 102 (const struct vb2_signature **)hashes, in preamble_tests()
|
D | vb21_host_sig_tests.c | 46 struct vb2_signature *sig, *sig2; in sig_tests() 128 sig = (struct vb2_signature *)(buf + c_sig_offs); in sig_tests() 146 sig = (struct vb2_signature *)(buf + c_sig_offs); in sig_tests() 149 sig2 = (struct vb2_signature *)(buf + c_sig_offs + sig->c.total_size); in sig_tests()
|
D | vb21_api_tests.c | 68 struct vb2_signature *sig; in reset_common_data() 201 struct vb2_signature *sig; in init_hash_tests() 208 sig = (struct vb2_signature *)((uint8_t *)pre + pre->hash_offset); in init_hash_tests() 308 struct vb2_signature *sig; in check_hash_tests() 314 sig = (struct vb2_signature *)((uint8_t *)pre + pre->hash_offset); in check_hash_tests()
|
/external/vboot_reference/firmware/lib20/ |
D | common.c | 14 uint8_t *vb2_signature_data(struct vb2_signature *sig) in vb2_signature_data() 60 const struct vb2_signature *sig) in vb2_verify_signature_inside() 68 struct vb2_signature *sig, in vb2_verify_digest() 87 struct vb2_signature *sig, in vb2_verify_data() 138 struct vb2_signature *sig; in vb2_verify_keyblock() 207 struct vb2_signature *sig = &preamble->preamble_signature; in vb2_verify_fw_preamble()
|
/external/vboot_reference/host/lib21/ |
D | host_signature.c | 79 int vb2_sign_data(struct vb2_signature **sig_ptr, in vb2_sign_data() 85 struct vb2_signature s = { in vb2_sign_data() 179 *sig_ptr = (struct vb2_signature *)buf; in vb2_sign_data() 192 size += sizeof(struct vb2_signature); in vb2_sig_size_for_key() 225 struct vb2_signature *sig = NULL; in vb2_sign_object() 253 struct vb2_signature *sig = NULL; in vb2_sign_object_multiple()
|
D | host_fw_preamble.c | 21 const struct vb2_signature **hash_list, in vb2_fw_preamble_create()
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_common.h | 112 int vb2_verify_signature(const struct vb2_signature *sig, 125 struct vb2_signature *sig, 142 struct vb2_signature *sig,
|
D | vb2_struct.h | 198 struct vb2_signature { struct
|
/external/vboot_reference/host/lib21/include/ |
D | host_fw_preamble2.h | 30 const struct vb2_signature **hash_list,
|
D | host_signature2.h | 27 int vb2_sign_data(struct vb2_signature **sig_ptr,
|