Home
last modified time | relevance | path

Searched refs:MEMBER_SIZE (Results 1 – 4 of 4) sorted by relevance

/openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/
H A Dlibcr51sign_internal.h32 #define MEMBER_SIZE(type, field) sizeof(((type*)0)->field) macro
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign_mauv.c20 MEMBER_SIZE(struct image_mauv, version_denylist[0])) ==
308 MEMBER_SIZE(struct image_mauv, version_denylist[0]); in sanity_check_image_mauv_data()
H A Dlibcr51sign.c278 uint8_t magic_and_digest[MEMBER_SIZE(struct hash_sha512, hash_magic) + in validate_payload_regions()
293 BUILD_ASSERT((MEMBER_SIZE(struct hash_sha256, hash_magic) == in validate_payload_regions()
294 MEMBER_SIZE(struct hash_sha512, hash_magic))); in validate_payload_regions()
375 MEMBER_SIZE(struct hash_sha256, hash_magic) + digest_size, in validate_payload_regions()
438 if (memcmp(magic_and_digest + MEMBER_SIZE(struct hash_sha256, hash_magic), in validate_payload_regions()
/openbmc/libpldm/src/dsp/
H A Dbios_table.c35 #define MEMBER_SIZE(type, member) sizeof(((struct type *)0)->member) macro
60 MEMBER_SIZE(pldm_bios_string_table_entry, name) + string_length; in pldm_bios_table_string_entry_encode_length()
75 MEMBER_SIZE(pldm_bios_string_table_entry, name)) < in pldm_bios_table_string_entry_encode()
196 MEMBER_SIZE(pldm_bios_attr_table_entry, metadata) + in pldm_bios_table_attr_entry_enum_encode_length()
333 MEMBER_SIZE(pldm_bios_attr_table_entry, metadata) + in pldm_bios_table_attr_entry_string_encode_length()
335 MEMBER_SIZE(attr_table_string_entry_fields, def_string) + in pldm_bios_table_attr_entry_string_encode_length()