Home
last modified time | relevance | path

Searched refs:parent_size (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/firmware/lib20/
Dcommon.c19 int vb2_verify_member_inside(const void *parent, size_t parent_size, in vb2_verify_member_inside() argument
24 const uintptr_t parent_end = (uintptr_t)parent + parent_size; in vb2_verify_member_inside()
31 if (parent_size < 0 || parent_end < (uintptr_t)parent) in vb2_verify_member_inside()
40 if (member_offs < 0 || member_offs > parent_size || in vb2_verify_member_inside()
41 member_end_offs > parent_size) in vb2_verify_member_inside()
51 if (data_offs < 0 || data_offs > parent_size || in vb2_verify_member_inside()
52 data_end_offs > parent_size) in vb2_verify_member_inside()
59 uint32_t parent_size, in vb2_verify_signature_inside() argument
62 return vb2_verify_member_inside(parent, parent_size, in vb2_verify_signature_inside()
Dpacked_key.c18 uint32_t parent_size, in vb2_verify_packed_key_inside() argument
21 return vb2_verify_member_inside(parent, parent_size, in vb2_verify_packed_key_inside()
/external/vboot_reference/firmware/lib/
Dvboot_common.c58 int VerifyMemberInside(const void *parent, uint64_t parent_size, in VerifyMemberInside() argument
65 if (end > parent_size) in VerifyMemberInside()
70 if (end + member_size > parent_size) in VerifyMemberInside()
76 if (end > parent_size) in VerifyMemberInside()
81 if (end + member_data_size > parent_size) in VerifyMemberInside()
87 int VerifyPublicKeyInside(const void *parent, uint64_t parent_size, in VerifyPublicKeyInside() argument
90 return VerifyMemberInside(parent, parent_size, in VerifyPublicKeyInside()
95 int VerifySignatureInside(const void *parent, uint64_t parent_size, in VerifySignatureInside() argument
98 return VerifyMemberInside(parent, parent_size, in VerifySignatureInside()
/external/vboot_reference/firmware/lib20/include/
Dvb2_common.h50 int vb2_verify_member_inside(const void *parent, size_t parent_size,
64 uint32_t parent_size,
77 uint32_t parent_size,
/external/vboot_reference/firmware/lib/include/
Dvboot_common.h69 int VerifyMemberInside(const void *parent, uint64_t parent_size,
74 int VerifyPublicKeyInside(const void *parent, uint64_t parent_size,
77 int VerifySignatureInside(const void *parent, uint64_t parent_size,
/external/vboot_reference/firmware/lib21/include/
Dvb2_common.h35 int vb2_verify_common_header(const void *parent, uint32_t parent_size);
/external/vboot_reference/firmware/lib21/
Dcommon.c21 int vb2_verify_common_header(const void *parent, uint32_t parent_size) in vb2_verify_common_header() argument
26 if (parent_size < c->total_size) in vb2_verify_common_header()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc1450 const uint64_t parent_size = Track::PayloadSize(); in PayloadSize() local
1455 return parent_size + size; in PayloadSize()
1644 const uint64_t parent_size = Track::PayloadSize(); in PayloadSize() local
1655 return parent_size + size; in PayloadSize()