Home
last modified time | relevance | path

Searched refs:alg_ptr (Results 1 – 3 of 3) sorted by relevance

/external/tpm2-tss/test/unit/
DTPMS-marshal.c31 uint16_t *alg_ptr; in tpms_marshal_success() local
42 alg_ptr = (uint16_t *)buffer; in tpms_marshal_success()
46 assert_int_equal (*alg_ptr, alg_expected); in tpms_marshal_success()
75 uint16_t *alg_ptr; in tpms_marshal_success_offset() local
87 alg_ptr = (uint16_t *)(buffer + 10); in tpms_marshal_success_offset()
88 alg_properties_ptr = (uint32_t *)(buffer + sizeof(*alg_ptr) + 10); in tpms_marshal_success_offset()
92 assert_int_equal (*alg_ptr, alg_expected); in tpms_marshal_success_offset()
100 ptr2 = (TPMS_CAPABILITY_DATA *)(buffer + 10 + sizeof(*alg_ptr) + sizeof(*alg_properties_ptr)); in tpms_marshal_success_offset()
109 …assert_int_equal (offset, 10 + sizeof(*alg_ptr) + sizeof(*alg_properties_ptr) + sizeof(capability)… in tpms_marshal_success_offset()
120 uint16_t *alg_ptr; in tpms_marshal_buffer_null_with_offset() local
[all …]
/external/fsverity-utils/programs/
Dfsverity.c138 static bool parse_hash_alg_option(const char *arg, u32 *alg_ptr) in parse_hash_alg_option() argument
143 if (*alg_ptr != 0) { in parse_hash_alg_option()
150 *alg_ptr = n; in parse_hash_alg_option()
155 *alg_ptr = libfsverity_find_hash_alg_by_name(arg); in parse_hash_alg_option()
156 if (*alg_ptr) in parse_hash_alg_option()
/external/arm-trusted-firmware/drivers/measured_boot/
Devent_print.c27 id_event_algorithm_size_t *alg_ptr; in id_event_print() local
89 alg_ptr = event->struct_header.digest_size; in id_event_print()
93 assert(((uintptr_t)alg_ptr + digest_len) <= (uintptr_t)end_ptr); in id_event_print()
98 uint16_t algorithm_id = alg_ptr[i].algorithm_id; in id_event_print()
117 alg_ptr[i].digest_size); in id_event_print()
121 info_size_ptr = (uint8_t *)((uintptr_t)alg_ptr + digest_len); in id_event_print()